From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 113513 invoked by alias); 22 Sep 2017 22:24:25 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 113417 invoked by uid 89); 22 Sep 2017 22:24:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*MI:charter, downloading, rights, Download X-Spam-User: qpsmtpd, 2 recipients X-HELO: mtaout001-public.msg.strl.va.charter.net Received: from mtaout001-public.msg.strl.va.charter.net (HELO mtaout001-public.msg.strl.va.charter.net) (68.114.190.26) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 22 Sep 2017 22:24:01 +0000 Received: from impout001 ([68.114.189.16]) by mtaout001.msg.strl.va.charter.net (InterMail vM.9.00.023.01 201-2473-194) with ESMTP id <20170922222354.ITIC7355.mtaout001.msg.strl.va.charter.net@impout001>; Fri, 22 Sep 2017 17:23:54 -0500 Received: from quasar.localdomain ([96.41.213.35]) by impout001 with charter.net id CmPt1w0060mPCJg01mPtbi; Fri, 22 Sep 2017 17:23:54 -0500 X-Authority-Analysis: v=2.2 cv=Lv3i8jVc c=1 sm=1 tr=0 a=NNeuWy7OTYa7gJ+3pFFB5Q==:117 a=NNeuWy7OTYa7gJ+3pFFB5Q==:17 a=IkcTkHD0fZMA:10 a=x7bEGLp0ZPQA:10 a=fke1fuqoAAAA:8 a=JiLn1hPilAEJ-A9xOB4A:9 a=QEXdDO2ut3YA:10 a=Eg6FPjcU-ZtbgFdfOKLV:22 X-Auth-id: anZkZWxpc2xlQGNoYXJ0ZXIubmV0 To: Richard Biener Cc: Damian Rouson , Zaak Beekman , gcc patches , gfortran From: Jerry DeLisle Subject: Re: [Patch] Edit contrib/ files to download gfortran prerequisites Message-ID: <52784c00-ea86-710e-3fb1-9e5ea90d37df@charter.net> Date: Fri, 22 Sep 2017 22:24:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2017-09/txt/msg01576.txt.bz2 On Thu, 21 Sep 2017 09:40:49Richard Biener wrote: > On Wed, Sep 20, 2017 at 10:35 PM, Damian Rouson > wrote: > >> Attached is a patch that adds the downloading of gfortran prerequisites > OpenCoarrays and MPICH in the contrib/download_prerequisites script. The > patch also provides a useful error message when neither wget or curl are > available on the target platform. I tested this patch with several choices > for the command-line options on macOS (including --md5 and --sha512) and > Ubuntu Linux (including --sha512). A suggested ChangeLog entry is >> >> * contrib/download_prerequisites: Download OpenCoarrays and MPICH. >> * contrib/prerequisites.sha5: Add sha512 message digests for > OpenCoarrays and MPICH. >> * contrib/prerequisites.md5: Add md5 message digests for OpenCoarrays > and MPICH. > > > OK for trunk? If so, I’ll ask Jerry to commit this. I don’t have commit > rights. > Can you make this optional similar to graphite/isl? Also I see no support in > the toplevel build machinery to build/install the libs as part of GCC > so how does that work in the end? In the end gcc needs to know what to do and just do it just like mpfr and libquadmath. I started looking at Makefile.def and I am guessing this is where the changes need to be made to enable gcc machinery to actually build the two packages. I am not knowledgeable enough to figure this out and I recently got a new job so now am very time constrained as far as reverse engineering what is going on. I did manage to add Gnu Build System autotools features to OpenCoarrays so we could be closer to integrating this in. (./configure && make vs cmake) We definitely need some guidance from someone regarding the changes required for the top level gcc items. Also we are getting some libtool related build failures with the OpenCoarrays on Mac and some other platforms where we know gcc builds fine, so I suspect we need to build a libtool script or something to ensure that it works everywhere. It works fine on Fedora which is what I use (naturally). So if anyone would step up to the plate and advise on the toplevel machinery it would be greatly appreciated. Regards, Jerry