File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,12 @@ export EESSI_SOFTWARE_SUBDIR_OVERRIDE
162162echo " bot/build.sh: EESSI_SOFTWARE_SUBDIR_OVERRIDE='${EESSI_SOFTWARE_SUBDIR_OVERRIDE} '"
163163
164164# determine accelerator target (if any) from .architecture in ${JOB_CFG_FILE}
165- export EESSI_ACCELERATOR_TARGET_OVERRIDE=" accel/$( cfg_get_value architecture accelerator) "
165+ ACCEL_OVERRIDE=$( cfg_get_value " architecture" " accelerator" )
166+ if [[ -n " $ACCEL_OVERRIDE " ]]; then
167+ # bot job config does not include accel subdirectory
168+ export EESSI_ACCELERATOR_TARGET_OVERRIDE=" accel/$ACCEL_OVERRIDE "
169+ else
170+ export EESSI_ACCELERATOR_TARGET_OVERRIDE=" "
166171echo " bot/build.sh: EESSI_ACCELERATOR_TARGET_OVERRIDE='${EESSI_ACCELERATOR_TARGET_OVERRIDE} '"
167172
168173# get EESSI_OS_TYPE from .architecture.os_type in ${JOB_CFG_FILE} (default: linux)
You can’t perform that action at this time.
0 commit comments