Skip to content

Commit 877f364

Browse files
author
Caspar van Leeuwen
committed
Fix logic in EESSI-install-software.sh and prove that logic is ok by now first retriggering the issue
1 parent 6155e02 commit 877f364

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/tests_scripts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
# force using x86_64/generic, to avoid triggering an installation from scratch
8585
sed -i "s@./EESSI-install-software.sh@\"export EESSI_SOFTWARE_SUBDIR_OVERRIDE='x86_64/generic'; ./EESSI-install-software.sh\"@g" install_software_layer.sh
8686
# skip installation of CUDA SDKs, since this is too heavy for CI
87-
sed -i "s@./EESSI-install-software.sh@./EESSI-install-software.sh --skip-cuda-install@g" install_software_layer.sh
87+
# sed -i "s@./EESSI-install-software.sh@./EESSI-install-software.sh --skip-cuda-install@g" install_software_layer.sh
8888
./eessi_container.sh --mode run --verbose /software-layer/install_software_layer.sh
8989
9090
- name: test create_directory_tarballs.sh script

EESSI-install-software.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ ${TOPDIR}/install_scripts.sh --prefix ${EESSI_PREFIX}
201201
# Hardcode this for now, see if it works
202202
# TODO: We should make a nice yaml and loop over all CUDA versions in that yaml to figure out what to install
203203
# Allow skipping CUDA SDK install in e.g. CI environments
204-
if [ ! -z "${skip_cuda_install}" ] && [ ! "${skip_cuda_install}" ]; then
204+
if [ -z "${skip_cuda_install}" ] || [ ! "${skip_cuda_install}" ]; then
205205
${EESSI_PREFIX}/scripts/gpu_support/nvidia/install_cuda_host_injections.sh -c 12.1.1 --accept-cuda-eula
206206
fi
207207

0 commit comments

Comments
 (0)