File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,10 @@ set -exu -o history -o allexport
2525# Inherit default JAXCI environment variables.
2626source ci/envs/default.env
2727
28- # Clone XLA at HEAD.
29- export JAXCI_CLONE_MAIN_XLA=1
28+ # Clone XLA at HEAD if path to local XLA is not provided
29+ if [[ -z " $JAXCI_XLA_GIT_DIR " ]]; then
30+ export JAXCI_CLONE_MAIN_XLA=1
31+ fi
3032
3133# Set up the build environment.
3234source " ci/utilities/setup_build_environment.sh"
Original file line number Diff line number Diff line change @@ -26,8 +26,10 @@ set -exu -o history -o allexport
2626# Inherit default JAXCI environment variables.
2727source ci/envs/default.env
2828
29- # Clone XLA at HEAD.
30- export JAXCI_CLONE_MAIN_XLA=1
29+ # Clone XLA at HEAD if path to local XLA is not provided
30+ if [[ -z " $JAXCI_XLA_GIT_DIR " ]]; then
31+ export JAXCI_CLONE_MAIN_XLA=1
32+ fi
3133
3234# Set up the build environment.
3335source " ci/utilities/setup_build_environment.sh"
You can’t perform that action at this time.
0 commit comments