Skip to content

Commit

Permalink
Build from easyconfigs
Browse files Browse the repository at this point in the history
  • Loading branch information
Neves-P committed Mar 2, 2024
1 parent 9211679 commit cfa4225
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions bot/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -205,13 +205,15 @@ else
for easystack_file in ${changed_easystacks}; do

echo -e "Processing easystack file ${easystack_file}...\n\n"
easyconfigs=$(grep '^+.*.eb$' 19.diff | awk -v ORS=' ' '{print $3}')

echo_green "All set, let's start installing some software with EasyBuild in ${EASYBUILD_INSTALLPATH}..."

if [ -f ${easystack_file} ]; then
echo_green "Creating easystack file arg"
if [ -z ${easyconfigs+x}]; then
echo_green "Successfully read easyconfig files\n"
echo "Building following easyconfigs: ${easyconfigs}"

BUILD_STEP_ARGS+=("--easystack ${TOPDIR}/${easystack_file} --robot")
BUILD_STEP_ARGS+=("${easyconfigs} --robot")
else
fatal_error "Easystack file ${easystack_file} not found!"
fi
Expand Down

0 comments on commit cfa4225

Please sign in to comment.