This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, contrib] Re: port contrib/download_prerequisites script to macOS
- From: Jerry DeLisle <jvdelisle at charter dot net>
- To: Damian Rouson <damian at sourceryinstitute dot org>, gcc patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 6 Apr 2017 18:04:39 -0700
- Subject: [PATCH, contrib] Re: port contrib/download_prerequisites script to macOS
- Authentication-results: sourceware.org; auth=none
- References: <etPan.58e44420.2d1bb7c0.14e0e@sourceryinstitute.org>
ping
On 04/04/2017 06:10 PM, Damian Rouson wrote:
> All,
>
> The attached patch modifies the contrib/download_prerequisites script to work on macOS.
> The revised script detects the operating system and adjusts the shasum and md5 commands
> to their expected name and arguments on macOS. The revised script also uses curl if
> wget is not present. macOS ships with curl but not wget.
>
> Tested on macOS and Lubuntu and Fedora Linux distributions.
>
> Ok for trunk?
>
> Damian
>
>
> 2017-04-05 Damian Rouson <damian@sourceryinstitute.org>
>
> * download_prerequisites (md5_check): New function emulates Linux
> 'md5 --check' on macOS. Modified script for macOS compatibility.
>