File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -338,6 +338,9 @@ jobs:
338338
339339 - name : Make sure we are filtering LD_LIBRARY_PATH if necessary
340340 run : |
341+ # Initialise Lmod
342+ . /cvmfs/software.eessi.io/versions/${{matrix.EESSI_VERSION}}/compat/linux/$(uname -m)/usr/share/Lmod/init/bash
343+
341344 # Make sure we are using the EESSI module file from the repository
342345 export MODULEPATH=init/modules
343346
Original file line number Diff line number Diff line change 235235
236236-- Filter system paths from LD_LIBRARY_PATH
237237-- Needs to be reversible so first make a copy
238- append_path (" EESSI_DEFAULT_HOST_LD_LIBRARY_PATH " , os.getenv (" LD_LIBRARY_PATH" ) or " " )
238+ append_path (" __EESSI_DEFAULT_HOST_LD_LIBRARY_PATH__ " , os.getenv (" LD_LIBRARY_PATH" ) or " " )
239239local function remove_system_paths (var )
240240 local paths = os.getenv (var )
241241 local system_lib_patterns = {
@@ -256,10 +256,10 @@ local function remove_system_paths(var)
256256end
257257-- on unload the variable will no longer exist
258258if mode () == " load" then
259- remove_system_paths (" EESSI_DEFAULT_HOST_LD_LIBRARY_PATH " )
259+ remove_system_paths (" __EESSI_DEFAULT_HOST_LD_LIBRARY_PATH__ " )
260260end
261261-- now we can use pushenv to retain/restore the original value
262- pushenv (" LD_LIBRARY_PATH" , os.getenv (" EESSI_DEFAULT_HOST_LD_LIBRARY_PATH " ) or " " )
262+ pushenv (" LD_LIBRARY_PATH" , os.getenv (" __EESSI_DEFAULT_HOST_LD_LIBRARY_PATH__ " ) or " " )
263263
264264-- set CURL_CA_BUNDLE on RHEL-based systems
265265ca_bundle_file_rhel = " /etc/pki/tls/certs/ca-bundle.crt"
You can’t perform that action at this time.
0 commit comments