File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -175,8 +175,14 @@ export EESSI_SOFTWARE_SUBDIR_OVERRIDE
175175echo " bot/test.sh: EESSI_SOFTWARE_SUBDIR_OVERRIDE='${EESSI_SOFTWARE_SUBDIR_OVERRIDE} '"
176176
177177# determine accelerator target (if any) from .architecture in ${JOB_CFG_FILE}
178- export EESSI_ACCELERATOR_TARGET=$( cfg_get_value " architecture" " accelerator" )
179- echo " bot/test.sh: EESSI_ACCELERATOR_TARGET='${EESSI_ACCELERATOR_TARGET} '"
178+ ACCEL_OVERRIDE=$( cfg_get_value " architecture" " accelerator" )
179+ if [[ -n " $ACCEL_OVERRIDE " ]]; then
180+ # bot job config does not include accel subdirectory
181+ export EESSI_ACCELERATOR_TARGET_OVERRIDE=" accel/$ACCEL_OVERRIDE "
182+ else
183+ export EESSI_ACCELERATOR_TARGET_OVERRIDE=" "
184+ fi
185+ echo " bot/test.sh: EESSI_ACCELERATOR_TARGET_OVERRIDE='${EESSI_ACCELERATOR_TARGET_OVERRIDE} '"
180186
181187# get EESSI_OS_TYPE from .architecture.os_type in ${JOB_CFG_FILE} (default: linux)
182188EESSI_OS_TYPE=$( cfg_get_value " architecture" " os_type" )
You can’t perform that action at this time.
0 commit comments