Changeset 25800
- Timestamp:
- 12/01/20 16:07:40 (4 years ago)
- Location:
- issm/trunk-jpl/externalpackages/petsc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/petsc/install-3.12-mac-static.sh
r25745 r25800 29 29 # Either run using --with-shared-libraries or --with-pic=0 and supply the 30 30 # compiler PIC flag via CFLAGS, CXXXFLAGS, and FCFLAGS 31 # 31 32 # - Added -Wno-error=implicit-function-declaration to CFLAGS for Clang >= 12. 32 # May need to remove it for earlier versions not using the C99 standard.33 # (may need to remove it for earlier versions not using the C99 standard). 33 34 # - Added -fallow-argument-mismatch to FFLAGS in order to clear, 34 35 # … … 36 37 # the same routine with arguments of different types. 37 38 # 38 # This has only been added to macOS static builds, but may be needed 39 # elsewhere. 39 # for gfortran 10 or later (may need to remove it for earlier versions). 40 40 # - Added -static-libgfortran to all macOS static builds, but this will not 41 41 # work out of the box on Linux. -
issm/trunk-jpl/externalpackages/petsc/install-3.12-mac.sh
r25713 r25800 29 29 # the same routine with arguments of different types. 30 30 # 31 # for gfortran 10 or later. 31 # for gfortran 10 or later (may need to remove it for earlier versions). 32 # - Added -Wno-error=implicit-function-declaration to CFLAGS for Clang >= 12. 33 # (may need to remove it for earlier versions not using the C99 standard). 32 34 # 33 35 cd src … … 35 37 --prefix="${ISSM_DIR}/externalpackages/petsc/install" \ 36 38 --PETSC_DIR="${ISSM_DIR}/externalpackages/petsc/src" \ 39 --CFLAGS="-Wno-error=implicit-function-declaration" \ 37 40 --FFLAGS="-fallow-argument-mismatch" \ 38 41 --with-debugging=0 \ -
issm/trunk-jpl/externalpackages/petsc/install-3.14-mac.sh
r25713 r25800 21 21 22 22 # Configure 23 # 24 # NOTE: 25 # - Added -fallow-argument-mismatch to FFLAGS in order to clear, 26 # 27 # error: The Fortran compiler gfortran will not compile files that call 28 # the same routine with arguments of different types. 29 # 30 # for gfortran 10 or later (may need to remove it for earlier versions). 31 # - Added -Wno-error=implicit-function-declaration to CFLAGS for Clang >= 12. 32 # (may need to remove it for earlier versions not using the C99 standard). 33 # 23 34 cd src 24 35 ./config/configure.py \ 25 36 --prefix="${ISSM_DIR}/externalpackages/petsc/install" \ 26 37 --PETSC_DIR="${ISSM_DIR}/externalpackages/petsc/src" \ 38 --CFLAGS="-Wno-error=implicit-function-declaration" \ 39 --FFLAGS="-fallow-argument-mismatch" \ 27 40 --with-debugging=0 \ 28 41 --with-valgrind=0 \
Note:
See TracChangeset
for help on using the changeset viewer.