ICON integration changes
Since CDI-PIO
depends on PPM
, the latter is being integrated into the ICON
building system too.
These are some changes that I have come up with during the integration:
-
Make 'scripts/reconfigure' compatible with Mac OS.
- not really needed forICON
but I implemented this while working on other MacOS-related issues. -
Replace "echo $(ECHO_N)" with "printf '%s'" in the makefiles for compatibility with Mac OS.
-Zsh
became the default shell, which results in an empty value forECHO_N
and empty Fortran dependency files. It looks likeprintf '%s'
is more portable. -
Enable maintainer mode by default.
- not really needed but just shows that it doesn't matter forICON
whether the maintainer mode is disabled by default. The requirement is that it can be disabled. -
Allow for the manual generation of 'test/package.m4' when '--disable-maintainer-mode'.
- not really needed forICON
, just uses the variable in a moreAutomake
-like way. -
Add 'test/testsuite' to the repo to allow for 'make check' when '--disable-maintainer-mode'.
-ICON
runsmake check
for all bundled packages. I can introduce an exception forPPM
if having this file in the repo is a problem. A better option than merging this into themaster
branch would probably be adding this file to the release branches as it's done for other automatically generatedAutoconf
files. -
Fix 'make clean' and 'make distclean'.
- just a fix, hopefully, no objections here? -
Unify silencing for the Fortran dependency generation rules.
- not really needed, just some cosmetic changes for the output. -
Update '.gitignore'.
- removes annoyingmodified: externals/ppm (untracked content)
for theICON
users. -
Get rid of 'rm: conftest.dSYM: is a directory when configuring on MacOS.
- removes annoying messages when building on MacOs. -
Enable building with 'gfortran -std=f2008'.
- enables building with a compiler flag used inICON
. -
Do not search for alternative LIBM when configuring with 'PLATFORM_OPT_LIBM='.
- paranoic attempt to make sure that a dirty build environment does not influence the building ofICON
: the configure script ofPPM
is run with an additional argumentPLATFORM_OPT_LIBM=
. -
Add configure option to enable/disable OpenMP support.
- finds the required compiler flags and builds with OpenMP support when--enable-openmp
. Also, makes sure that OpenMP support is disabled when--disable-openmp
.
Feel free to remove this branch once the merge is done.