Skip to content

Commit 91a8a1d

Browse files
authored
Merge pull request EESSI#77 from Flamefire/patch-1
2 parents c8fb7cb + ec33292 commit 91a8a1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EESSI-extend-easybuild.eb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ eessi_version = os.getenv("EESSI_VERSION") or "2023.06"
222222
-- This avoids issues where EESSI-extend is first loaded with EB => 5.1 (which set these vars)
223223
-- but then EB is swapped for a version < 5.1 and then EESSI-extend is unloaded (which would not unset
224224
-- these vars if we did it conditional on the EB version)
225-
if convertToCanonical(easybuild_version) >= convertToCanonical("5.1") or mode() == "unload" then
225+
if mode() == "unload" or mode() == "dependencyCk" or convertToCanonical(easybuild_version) >= convertToCanonical("5.1") then
226226
setenv ("EASYBUILD_STRICT_RPATH_SANITY_CHECK", "1")
227227
setenv ("EASYBUILD_CUDA_SANITY_CHECK_ERROR_ON_FAILED_CHECKS", "1")
228228
setenv ("EASYBUILD_FAIL_ON_MOD_FILES_GCCCORE", "1")

0 commit comments

Comments
 (0)