| 571416bb | 08-Mar-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix for linker warnings that appear with latest macOS XCode release
ld: warning: -commons use_dylibs is no longer supported, using error treatment instead ld: warning: -bind_at_load is deprecated on
Fix for linker warnings that appear with latest macOS XCode release
ld: warning: -commons use_dylibs is no longer supported, using error treatment instead ld: warning: -bind_at_load is deprecated on macOS
ld: warning: duplicate -rpath '/Users/barrysmith/Src/petsc/arch-fix-macos-latest-configure/lib' ignored
For this fix we need to always pass the libraries through self.libraries.toStringNoDupes() with fully resolved strings (no ${PETSC_ARCH}/${PETSC_DIR}) so the generation of the library lists is now done ONLY in config/PETSc/Configure.py and not in variables. Tested both single and multiple libraries with --download-hypre which previously would produce a duplicate.
show more ...
|