From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31492 invoked by alias); 31 Mar 2018 00:44:44 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 31467 invoked by uid 89); 31 Mar 2018 00:44:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=balls, mkdir, HCc:D*net, bitly X-HELO: mail-pg0-f49.google.com Received: from mail-pg0-f49.google.com (HELO mail-pg0-f49.google.com) (74.125.83.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 31 Mar 2018 00:44:42 +0000 Received: by mail-pg0-f49.google.com with SMTP id h3so1860991pgq.7 for ; Fri, 30 Mar 2018 17:44:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:message-id:subject:mime-version :content-transfer-encoding:content-disposition; bh=w4VcJwDIovspyb3XG5sB5pvpNo6EpJwHpEdc9AzJjF8=; b=D7SRNAKfZLdaORGgzOX92QIophWSFCOo/o9u74/2dj5ZhH1y7blT/B00js/IysLWUh UGFaqhznR/BcuKugGVopBUfCoCYpOgQFxJbKpIPb6m0V0cUrc/mq/6vNqkXKJnS+4KZW /1XMW2Mg7btgaaJj5LaAmWYpE/AycjA49dKvDyLxZrVRtbyPEizXTA2SmkjlOfF3j/Y9 vN4AHRTxCV6/nNirIm1JOhWwNmD//ofN64MDcHSeOrA2DXOYQlrDRrs4scqxerCXu0dj ujwrMWBBoRN6ymnfyGUdefM7gKm85xCuwHHSOB2SlC5dhnnfCd46BbjJAkrHZLfXYOGu tMLQ== X-Gm-Message-State: AElRT7GZzgVcQIb3ySFPKl2AaJIiHTdA/ooJi49f31xNwLkYza1VXsUL w/Hg9wRTvAUMXIfmvj7ZZRy6sQ== X-Google-Smtp-Source: AIpwx49OR/+RhaWhf2WTraXlheD/faWEFJiS0wULwg2mt35XTnMOKtf0uSMfnsxzwDz5bCyxLXtq7w== X-Received: by 10.99.107.6 with SMTP id g6mr676586pgc.109.1522457080139; Fri, 30 Mar 2018 17:44:40 -0700 (PDT) Received: from localhost.mail (impacthub.static.monkeybrains.net. [162.217.73.242]) by smtp.gmail.com with ESMTPSA id 89sm22168595pfs.156.2018.03.30.17.44.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Mar 2018 17:44:39 -0700 (PDT) Date: Sat, 31 Mar 2018 00:44:00 -0000 From: Damian Rouson To: GCC Development , gfortran Cc: Daniel Celis Garza , Jerry DeLisle , =?utf-8?Q?Filippone=2C_Salvatore?= Message-ID: Subject: Patching the GCC build system to build MPICH and OpenCoarrays MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-IsSubscribed: yes X-SW-Source: 2018-03/txt/msg00210.txt.bz2 All, Jerry DeLisle, Daniel Celis Garza, and I would greatly appreciate feedback = on our approach to patching the GCC build system to build MPICH and OpenCoa= rrays after it builds gfortran (gfortran requires MPI and OpenCoarrays to s= upport the parallel features of Fortran 2008 and Fortran 2018). =C2=A0A dif= f of our work relative to the GCC trunk is at=C2=A0http://bit.ly/2pQuzvS. = =C2=A0Our steps so far include the following: 1. Jerry wrote an autotools build system for OpenCoarrays (on the OpenCoarr= ays issue-343-gnu-build branch.) 2. Jerry got MPICH and OpenCoarrays tar balls onto the GCC ftp server.=20=20 3. I modified GCC=E2=80=99s contrib/download_prerequisites script to downlo= ad the tar balls. 4. Daniel edited GCC=E2=80=99s Makefile.def, config.ac, and Makefile.tpl to= incorporate MPICH. Our current issue is that the Makefile produced as follows doesn=E2=80=99t = create the desired =E2=80=9Cmpi" directory: git clone -b build-mpich=C2=A0https://github.com/sourceryinstitute/gcc mkdir -p gcc/build=C2=A0 cd gcc/build ../configure --disable-bootstrap --enable-languages=3Dfortran whereupon "grep mpi Makefile=E2=80=9D only returns comments and an echo sta= tement. =C2=A0Ultimately, our desired sequence is to build gfortran, then b= uild MPICH, and then build OpenCoarrays. =C2=A0All advice is welcome. Damian