Skip to content

Commit

Permalink
Fix issue in case library prefix is lib instead of lib64
Browse files Browse the repository at this point in the history
  • Loading branch information
casparl committed Mar 20, 2024
1 parent 352a069 commit da2b197
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ configopts += '-DTPL_PARMETIS_LIBRARIES="${EBROOTPARMETIS}/lib/libparmetis.a;${E
# Include only first four tests, which should be fairly small to run
pretestopts = 'export ARGS="$ARGS --tests-regex pdtest_[21]x1_[13]_2_8_20_SP" && '

# remove broken symlink to libsuperlu.a
postinstallcmds = [
"rm %(installdir)s/lib64/libsuperlu.a", # remove broken symlink to libsuperlu.a
"if[ -f %(installdir)s/lib64/libsuperlu.a ]; then rm %(installdir)s/lib64/libsuperlu.a; fi",
"if[ -f %(installdir)s/lib/libsuperlu.a ]; then rm %(installdir)s/lib/libsuperlu.a; fi"
]

sanity_check_paths = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ configopts += '-DTPL_PARMETIS_LIBRARIES="${EBROOTPARMETIS}/lib/libparmetis.a;${E
# Include only first four tests, which should be fairly small to run
pretestopts = 'export ARGS="$ARGS --tests-regex pdtest_[21]x1_[13]_2_8_20_SP" && '

# remove broken symlink to libsuperlu.a
postinstallcmds = [
"rm %(installdir)s/lib64/libsuperlu.a", # remove broken symlink to libsuperlu.a
"if[ -f %(installdir)s/lib64/libsuperlu.a ]; then rm %(installdir)s/lib64/libsuperlu.a; fi",
"if[ -f %(installdir)s/lib/libsuperlu.a ]; then rm %(installdir)s/lib/libsuperlu.a; fi"
]

sanity_check_paths = {
Expand Down

0 comments on commit da2b197

Please sign in to comment.