public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
* Patching the GCC build system to build MPICH and OpenCoarrays
@ 2018-03-31  0:44 Damian Rouson
  2018-04-03 11:36 ` Richard Biener
  0 siblings, 1 reply; 8+ messages in thread
From: Damian Rouson @ 2018-03-31  0:44 UTC (permalink / raw)
  To: GCC Development, gfortran
  Cc: Daniel Celis Garza, Jerry DeLisle, Filippone, Salvatore

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 OpenCoarrays after it builds gfortran (gfortran requires MPI and OpenCoarrays to support the parallel features of Fortran 2008 and Fortran 2018).  A diff of our work relative to the GCC trunk is at http://bit.ly/2pQuzvS.  Our steps so far include the following:

1. Jerry wrote an autotools build system for OpenCoarrays (on the OpenCoarrays issue-343-gnu-build branch.)
2. Jerry got MPICH and OpenCoarrays tar balls onto the GCC ftp server.  
3. I modified GCC’s contrib/download_prerequisites script to download the tar balls.
4. Daniel edited GCC’s Makefile.def, config.ac, and Makefile.tpl to incorporate MPICH.

Our current issue is that the Makefile produced as follows doesn’t create the desired “mpi" directory:

git clone -b build-mpich https://github.com/sourceryinstitute/gcc
mkdir -p gcc/build 
cd gcc/build
../configure --disable-bootstrap --enable-languages=fortran

whereupon "grep mpi Makefile” only returns comments and an echo statement.  Ultimately, our desired sequence is to build gfortran, then build MPICH, and then build OpenCoarrays.  All advice is welcome.

Damian







^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-04-09 11:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-31  0:44 Patching the GCC build system to build MPICH and OpenCoarrays Damian Rouson
2018-04-03 11:36 ` Richard Biener
2018-04-04  6:24   ` Damian Rouson
2018-04-04 11:12     ` Richard Biener
2018-04-08 18:56       ` Damian Rouson
2018-04-09 11:43         ` Richard Biener
2018-04-04 13:09     ` Toon Moene
2018-04-04 18:05       ` Damian Rouson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).