Changeset 25567
- Timestamp:
- 09/12/20 22:00:47 (5 years ago)
- Location:
- issm/trunk-jpl/externalpackages/petsc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/petsc/install-3.12-mac-solid_earth-static.sh
r25199 r25567 29 29 # Configure 30 30 # 31 # NOTE: Cannot use --with-fpic option when compiling static libs, 31 # NOTE: 32 # - Cannot use --with-fpic option when compiling static libs, 32 33 # 33 34 # Cannot determine compiler PIC flags if shared libraries is turned off 34 35 # Either run using --with-shared-libraries or --with-pic=0 and supply the 35 36 # compiler PIC flag via CFLAGS, CXXXFLAGS, and FCFLAGS 37 # 38 # - Added -fallow-argument-mismatch to FFLAGS in order to clear, 39 # 40 # error: The Fortran compiler gfortran will not compile files that call 41 # the same routine with arguments of different types. 42 # 43 # This has only been added to macOS static builds, but may be needed 44 # elsewhere. 36 45 # 37 46 cd src … … 42 51 --CFLAGS="-fPIC" \ 43 52 --CXXFLAGS="-fPIC" \ 44 --FFLAGS="-fPIC - static-libgfortran" \53 --FFLAGS="-fPIC -fallow-argument-mismatch -static-libgfortran" \ 45 54 --with-debugging=0 \ 46 55 --with-valgrind=0 \ -
issm/trunk-jpl/externalpackages/petsc/install-3.12-mac-static.sh
r25199 r25567 29 29 # Configure 30 30 # 31 # NOTE: Cannot use --with-fpic option when compiling static libs, 31 # NOTE: 32 # - Cannot use --with-fpic option when compiling static libs, 32 33 # 33 34 # Cannot determine compiler PIC flags if shared libraries is turned off 34 35 # Either run using --with-shared-libraries or --with-pic=0 and supply the 35 36 # compiler PIC flag via CFLAGS, CXXXFLAGS, and FCFLAGS 37 # 38 # - Added -fallow-argument-mismatch to FFLAGS in order to clear, 39 # 40 # error: The Fortran compiler gfortran will not compile files that call 41 # the same routine with arguments of different types. 42 # 43 # This has only been added to macOS static builds, but may be needed 44 # elsewhere. 36 45 # 37 46 cd src … … 42 51 --CFLAGS="-fPIC" \ 43 52 --CXXFLAGS="-fPIC" \ 44 --FFLAGS="-fPIC - static-libgfortran" \53 --FFLAGS="-fPIC -fallow-argument-mismatch -static-libgfortran" \ 45 54 --with-debugging=0 \ 46 55 --with-valgrind=0 \
Note:
See TracChangeset
for help on using the changeset viewer.