From 98d23391508828dbd2232a8147331188e628ee9c Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Mon, 9 Mar 2026 14:40:03 +0100 Subject: [PATCH] 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 --- EESSI-extend-easybuild.eb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/EESSI-extend-easybuild.eb b/EESSI-extend-easybuild.eb index 23cc913d..fa62b010 100644 --- a/EESSI-extend-easybuild.eb +++ b/EESSI-extend-easybuild.eb @@ -244,6 +244,10 @@ if mode() == "unload" or mode() == "dependencyCk" or convertToCanonical(easybuil -- Set environment variables that are EESSI version specific if convertToCanonical(eessi_version) > convertToCanonical("2023.06") then setenv ("EASYBUILD_PREFER_PYTHON_SEARCH_PATH", "EBPYTHONPREFIXES") + -- Note: make sure to *not* use same setting for both module-search-path-headers and search-path-cpp-headers + -- EasyBuild configuration options, since this leads to trouble because (for example) $C_INCLUDE_PATH + -- only includes paths for the *direct* dependencies (not transitive dependencies) + -- when using EasyBuild v5.2.1 or earlier setenv ("EASYBUILD_MODULE_SEARCH_PATH_HEADERS", "include_paths") setenv ("EASYBUILD_SEARCH_PATH_CPP_HEADERS", "flags") end