We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1ce0c7a + 5815793 commit 24ab033Copy full SHA for 24ab033
1 file changed
pkgs/hypre.yaml
@@ -112,13 +112,14 @@ build_stages:
112
mode: update
113
extra: ["--enable-shared"]
114
115
+### needs to fix rpath on the real library not the link
116
- when: platform == 'linux'
117
name: rpath-fix
118
after: install
119
handler: bash
120
bash: |
- oldRPath=$(${PATCHELF} --print-rpath ${ARTIFACT}/lib/libHYPRE.so)
121
- ${PATCHELF} --set-rpath ${oldRPath}:${ARTIFACT}/lib:${BLAS_DIR}/lib:${LAPACK_DIR}/lib:${MPI_DIR}/lib ${ARTIFACT}/lib/libHYPRE.so
+ oldRPath=$(${PATCHELF} --print-rpath ${ARTIFACT}/lib/libHYPRE-*.so)
122
+ ${PATCHELF} --set-rpath ${oldRPath}:${ARTIFACT}/lib:${BLAS_DIR}/lib:${LAPACK_DIR}/lib:${MPI_DIR}/lib ${ARTIFACT}/lib/libHYPRE-*.so
123
124
- when: platform != 'linux'
125
0 commit comments