summaryrefslogtreecommitdiff
path: root/jenkins.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jenkins.sh')
-rwxr-xr-xjenkins.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/jenkins.sh b/jenkins.sh
index 125d8438..6b1a6541 100755
--- a/jenkins.sh
+++ b/jenkins.sh
@@ -258,6 +258,11 @@ fi
(
flock -s 9
$CONFIG_SHELL ${abe_dir}/abe.sh ${platform} ${change} --checkout all
+ # Workaround "--checkout all" bug.
+ # See https://bugs.linaro.org/show_bug.cgi?id=1338 .
+ if ! [ -d $user_snapshots/gcc.git ]; then
+ git clone --reference $git_reference/gcc.git http://git.linaro.org/toolchain/gcc.git $user_snapshots/gcc.git
+ fi
) 9>${git_reference}.lock
# Now we build the cross compiler, for a native compiler this becomes