Skip to content

Commit

Permalink
use tmp for host-injections
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed Jun 9, 2024
1 parent 63d97ce commit 6752be3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions bot/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,12 @@ fi
# Retain location for host injections so we don't reinstall CUDA
# (Always need to run the driver installation as available driver may change)

if [[ ! -z ${SHARED_FS_PATH} ]]; then
BUILD_STEP_ARGS+=("--host-injections" "${SHARED_FS_PATH}/host-injections")
fi
# use $STORAGE for host-injections (maybe shared fs is not behaving well)
mkdir -p ${STORAGE}/host_injections
BUILD_STEP_ARGS+=("--host-injections" "${STORAGE}/host-injections")
#if [[ ! -z ${SHARED_FS_PATH} ]]; then
# BUILD_STEP_ARGS+=("--host-injections" "${SHARED_FS_PATH}/host-injections")
#fi

# create tmp file for output of build step
build_outerr=$(mktemp build.outerr.XXXX)
Expand Down

0 comments on commit 6752be3

Please sign in to comment.