Skip to content

Commit

Permalink
Updating the Pascal superbuild scripts to force the runpaths to be pr…
Browse files Browse the repository at this point in the history
…operly set.
  • Loading branch information
bvanessen committed Jun 17, 2024
1 parent 991cd65 commit 8c2ad9e
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/build_lbann.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,6 @@ export LBANN_PYTHON_DIR=\$(dirname ${LBANN_PYTHON})
# Postpend the paths to the build tools to avoid putting system paths up front
export PATH=\${PATH}:\${LBANN_CMAKE_DIR}:\${LBANN_NINJA_DIR}:\${LBANN_PYTHON_DIR}
export PYTHONPATH=\${LBANN_PYTHONPATH}:\${PYTHONPATH}
export LD_LIBRARY_PATH=\$\{CRAY_LD_LIBRARY_PATH\}:\$\{LD_LIBRARY_PATH\}
EOF

if [[ -n "${MODULE_CMD}" ]]; then
Expand Down
1 change: 1 addition & 0 deletions scripts/superbuild/ci/ci_pascal_core_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ cmake \
-D CMAKE_PREFIX_PATH=${CMAKE_CMAKE_PREFIX_PATH} \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \
-D CMAKE_INSTALL_RPATH_USE_LINK_PATH=ON \
\
-D CMAKE_C_COMPILER=$(which gcc) \
-D CMAKE_CXX_COMPILER=$(which g++) \
Expand Down
1 change: 1 addition & 0 deletions scripts/superbuild/ci/ci_pascal_dha.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ cmake \
-D CMAKE_PREFIX_PATH=${CMAKE_CMAKE_PREFIX_PATH} \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \
-D CMAKE_INSTALL_RPATH_USE_LINK_PATH=ON \
\
-D CMAKE_C_COMPILER=$(which gcc) \
-D CMAKE_CXX_COMPILER=$(which g++) \
Expand Down
1 change: 1 addition & 0 deletions scripts/superbuild/ci/ci_pascal_dha_distconv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ cmake \
-D CMAKE_PREFIX_PATH=${CMAKE_CMAKE_PREFIX_PATH} \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \
-D CMAKE_INSTALL_RPATH_USE_LINK_PATH=ON \
\
-D CMAKE_C_COMPILER=$(which gcc) \
-D CMAKE_CXX_COMPILER=$(which g++) \
Expand Down
1 change: 1 addition & 0 deletions scripts/superbuild/ci/ci_pascal_dha_half.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ cmake \
-D CMAKE_PREFIX_PATH=${CMAKE_CMAKE_PREFIX_PATH} \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \
-D CMAKE_INSTALL_RPATH_USE_LINK_PATH=ON \
\
-D CMAKE_C_COMPILER=$(which gcc) \
-D CMAKE_CXX_COMPILER=$(which g++) \
Expand Down

0 comments on commit 8c2ad9e

Please sign in to comment.