Skip to content

Commit 98d2339

Browse files
committed
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
1 parent 507b707 commit 98d2339

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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)