Skip to content

Commit 6a0b96a

Browse files
authored
Merge pull request #176 from boegel/EESSI-extend
add comment to EESSI-extend easyconfig file to note that `module-search-path-headers` and `search-path-cpp-headers` should not be set to same value in EasyBuild configuration
2 parents 507b707 + 98d2339 commit 6a0b96a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

EESSI-extend-easybuild.eb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,10 @@ if mode() == "unload" or mode() == "dependencyCk" or convertToCanonical(easybuil
244244
-- Set environment variables that are EESSI version specific
245245
if convertToCanonical(eessi_version) > convertToCanonical("2023.06") then
246246
setenv ("EASYBUILD_PREFER_PYTHON_SEARCH_PATH", "EBPYTHONPREFIXES")
247+
-- Note: make sure to *not* use same setting for both module-search-path-headers and search-path-cpp-headers
248+
-- EasyBuild configuration options, since this leads to trouble because (for example) $C_INCLUDE_PATH
249+
-- only includes paths for the *direct* dependencies (not transitive dependencies)
250+
-- when using EasyBuild v5.2.1 or earlier
247251
setenv ("EASYBUILD_MODULE_SEARCH_PATH_HEADERS", "include_paths")
248252
setenv ("EASYBUILD_SEARCH_PATH_CPP_HEADERS", "flags")
249253
end

0 commit comments

Comments
 (0)