[petsc-dev] Experimental GNU make build system

Barry Smith bsmith at mcs.anl.gov
Mon May 20 20:22:03 CDT 2013


  And does this solve the Windows problem?

On May 20, 2013, at 4:46 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> I just merged 'jed/gnumake' to 'next'.  I haven't added support for
> static libraries yet, but it should work with pretty much all other
> configurations using compilers that support '-MMD -MP' (tested with gcc,
> clang, and intel; C, C++, and Fortran; single and multiple library).
> 
>  $ make -f gmakefile -j20 PETSC_ARCH=your-choice
> 
> The makefile is 100 lines and the Python for figuring out what to
> include in the build is about the same (conf/gmakegen.py; neglecting
> python-2.4 compatibility stuff).  Simplifying the rules would reduce
> that, naturally.
> 
> Let me know how it works for you.




More information about the petsc-dev mailing list