Skip to content

Commit 0b4ff7d

Browse files
committed
Merge branch 'main' into EESSI_2025.06_module
2 parents 39e8e40 + a621ae5 commit 0b4ff7d

File tree

5 files changed

+9
-211
lines changed

5 files changed

+9
-211
lines changed

.github/workflows/scripts/compare_stacks.py

Lines changed: 0 additions & 131 deletions
This file was deleted.

.github/workflows/scripts/compare_to_generic.sh

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/workflows/test_compare_stacks.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

EESSI-install-software.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,12 @@ else
358358
new_easystacks=$(echo "${changed_easystacks}" | (grep -v "/rebuilds/" || true))
359359
for easystack_file in ${rebuild_easystacks} ${new_easystacks}; do
360360

361+
# make sure that easystack file being picked up is for EESSI version that we're building for...
362+
echo "${easystack_file}" | grep -q "^easystacks/${EESSI_VERSION}/"
363+
if [ $? -ne 0 ]; then
364+
fatal_error "Easystack file ${easystack_file} is not intended for EESSI version ${EESSI_VERSION}, giving up!"
365+
fi
366+
361367
echo -e "Processing easystack file ${easystack_file}...\n\n"
362368

363369
# determine version of EasyBuild module to load based on EasyBuild version included in name of easystack file

create_directory_tarballs.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fi
99

1010
version=$1
1111

12-
SOFTWARE_LAYER_TARBALL_URL="https://github.com/EESSI/software-layer/tarball/${version}-software.eessi.io"
12+
SOFTWARE_LAYER_SCRIPTS_TARBALL_URL="https://github.com/EESSI/software-layer-scripts/tarball/main"
1313

1414
TOPDIR=$(dirname $(realpath $0))
1515

@@ -26,7 +26,7 @@ fi
2626
tartmp=$(mktemp -t -d init.XXXXX)
2727
mkdir "${tartmp}/${version}"
2828
tarname="eessi-${version}-init-$(date +%s).tar.gz"
29-
curl -Ls ${SOFTWARE_LAYER_TARBALL_URL} | tar xzf - -C "${tartmp}/${version}" --strip-components=1 --no-wildcards-match-slash --wildcards '*/init/'
29+
curl -Ls ${SOFTWARE_LAYER_SCRIPTS_TARBALL_URL} | tar xzf - -C "${tartmp}/${version}" --strip-components=1 --no-wildcards-match-slash --wildcards '*/init/'
3030
source "${tartmp}/${version}/init/minimal_eessi_env"
3131
if [ "${EESSI_VERSION}" != "${version}" ]
3232
then
@@ -42,7 +42,7 @@ echo_green "Done! Created tarball ${tarname}."
4242
tartmp=$(mktemp -t -d scripts.XXXXX)
4343
mkdir "${tartmp}/${version}"
4444
tarname="eessi-${version}-scripts-$(date +%s).tar.gz"
45-
curl -Ls ${SOFTWARE_LAYER_TARBALL_URL} | tar xzf - -C "${tartmp}/${version}" --strip-components=1 --no-wildcards-match-slash --wildcards '*/scripts/'
45+
curl -Ls ${SOFTWARE_LAYER_SCRIPTS_TARBALL_URL} | tar xzf - -C "${tartmp}/${version}" --strip-components=1 --no-wildcards-match-slash --wildcards '*/scripts/'
4646
tar czf "${tarname}" -C "${tartmp}" "${version}"
4747
rm -rf "${tartmp}"
4848

0 commit comments

Comments
 (0)