Skip to content

Commit 7294adb

Browse files
author
Caspar van Leeuwen
committed
Exclude easystacks in scripts/gpu_support from being included in the changed_easystacks. Needed to avoid missing 'No missing installations' in the build log.
1 parent 54bd9ad commit 7294adb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

EESSI-install-software.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,9 @@ else
368368
fi
369369

370370
# use PR patch file to determine in which easystack files stuff was added
371-
changed_easystacks=$(cat ${pr_diff} | grep '^+++' | cut -f2 -d' ' | sed 's@^[a-z]/@@g' | grep 'easystacks/.*yml$' | egrep -v 'known-issues|missing')
371+
# Note that we exclude the scripts/gpu_support/ dir, since those are not meant to be built in the
372+
# software-layer, but they are helper easystacks for installing e.g. CUDA in host_injections
373+
changed_easystacks=$(cat ${pr_diff} | grep '^+++' | cut -f2 -d' ' | sed 's@^[a-z]/@@g' | grep 'easystacks/.*yml$' | egrep -v 'known-issues|missing' | grep -v "scripts/gpu_support/")
372374
if [ -z "${changed_easystacks}" ]; then
373375
echo "No missing installations, party time!" # Ensure the bot report success, as there was nothing to be build here
374376
else

0 commit comments

Comments
 (0)