Skip to content

Commit

Permalink
Do not use gold linker for core dependencies because protobuf fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
bvanessen committed Jun 26, 2024
1 parent e9dd429 commit 547a521
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion scripts/superbuild/ci/ci_pascal_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ EXTRA_CXX_FLAGS="-O2 -g3 -Wno-deprecated-declarations"
EXTRA_CUDA_FLAGS="-O2 -g3 -Wno-deprecated-declarations"

# Prefer RPATH to RUNPATH (stability over flexibility)
EXTRA_LINK_FLAGS="-fuse-ld=gold -Wl,--disable-new-dtags"
EXTRA_LINK_FLAGS_CORE="-Wl,--disable-new-dtags"
EXTRA_LINK_FLAGS="-fuse-ld=gold ${EXTRA_LINK_FLAGS_CORE}"

# Set this to the CUDA GPU arch(s) to support (example set for Lassen/Sierra)
CUDA_GPU_ARCH=60
Expand Down
4 changes: 2 additions & 2 deletions scripts/superbuild/ci/ci_tioga_core_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ cmake \
\
-D BUILD_SHARED_LIBS=ON \
-D CMAKE_POSITION_INDEPENDENT_CODE=ON \
-D CMAKE_EXE_LINKER_FLAGS="${EXTRA_LINK_FLAGS}" \
-D CMAKE_SHARED_LINKER_FLAGS="${EXTRA_LINK_FLAGS}" \
-D CMAKE_EXE_LINKER_FLAGS="${EXTRA_LINK_FLAGS_CORE}" \
-D CMAKE_SHARED_LINKER_FLAGS="${EXTRA_LINK_FLAGS_CORE}" \
\
-D CMAKE_CXX_STANDARD=17 \
-D CMAKE_HIP_STANDARD=17 \
Expand Down

0 comments on commit 547a521

Please sign in to comment.