@@ -183,6 +183,20 @@ else
183
183
fatal_error " Failed to initialize Lmod?! (see output in ${ml_version_out} "
184
184
fi
185
185
186
+ # install any additional required scripts
187
+ # order is important: these are needed to install a full CUDA SDK in host_injections
188
+ # for now, this just reinstalls all scripts. Note the most elegant, but works
189
+
190
+ # the install_scripts.sh script relies on knowing the location of the PR diff
191
+ # assume there's only one diff file that corresponds to the PR patch file
192
+ pr_diff=$( ls [0-9]* .diff | head -1)
193
+ export PR_DIFF=" $PWD /$pr_diff "
194
+
195
+ # Only run install_scripts.sh if not in dev.eessi.io for security
196
+ if [[ -z ${EESSI_DEV_PROJECT} ]]; then
197
+ ${TOPDIR} /install_scripts.sh --prefix ${EESSI_CVMFS_REPO} /versions/${EESSI_VERSION} --eessi-version ${EESSI_VERSION}
198
+ fi
199
+
186
200
# Make sure we start with no modules and clean $MODULEPATH
187
201
echo " >> Setting up \$ MODULEPATH..."
188
202
module --force purge
@@ -238,20 +252,6 @@ if [ ! -f ${_lmod_sitepackage_file} ]; then
238
252
python3 ${TOPDIR} /create_lmodsitepackage.py ${_eessi_software_path}
239
253
fi
240
254
241
- # install any additional required scripts
242
- # order is important: these are needed to install a full CUDA SDK in host_injections
243
- # for now, this just reinstalls all scripts. Note the most elegant, but works
244
-
245
- # the install_scripts.sh script relies on knowing the location of the PR diff
246
- # assume there's only one diff file that corresponds to the PR patch file
247
- pr_diff=$( ls [0-9]* .diff | head -1)
248
- export PR_DIFF=" $PWD /$pr_diff "
249
-
250
- # Only run install_scripts.sh if not in dev.eessi.io for security
251
- if [[ -z ${EESSI_DEV_PROJECT} ]]; then
252
- ${TOPDIR} /install_scripts.sh --prefix ${EESSI_PREFIX} --eessi-version ${EESSI_VERSION}
253
- fi
254
-
255
255
echo " >> Configuring EasyBuild..."
256
256
257
257
# Make sure EESSI-extend is not loaded, and configure location variables for a
0 commit comments