aboutsummaryrefslogtreecommitdiff
path: root/tcwg-llvm-staged-build.yaml
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2017-04-19 21:15:04 +0100
committerRenato Golin <renato.golin@linaro.org>2017-04-20 09:22:45 +0000
commitf996d87dc50e1690e56cca6e996b1548bb7cf609 (patch)
tree528053a3041efcfcc410ed11fd4802667e5fcf76 /tcwg-llvm-staged-build.yaml
parent1aa6048adb498f06577b5ed93001b25530d497c5 (diff)
tcwg-llvm-staged-build.yaml: Use the --revision argument
This will pass an SVN revision to the script, which will then checkout that specific revision on all required repos, as to reproduce a specific build. Change-Id: Ice21324967f1bdb2bee861b88e341c48d987fe5d
Diffstat (limited to 'tcwg-llvm-staged-build.yaml')
-rw-r--r--tcwg-llvm-staged-build.yaml9
1 files changed, 7 insertions, 2 deletions
diff --git a/tcwg-llvm-staged-build.yaml b/tcwg-llvm-staged-build.yaml
index e99c82e6..706384aa 100644
--- a/tcwg-llvm-staged-build.yaml
+++ b/tcwg-llvm-staged-build.yaml
@@ -17,6 +17,10 @@
weight: 3
parameters:
- string:
+ name: revision
+ default: ''
+ description: 'SVN revision in the format rNNNNN. Empty string will bring trunk on all repos.'
+ - string:
name: toolchain
default: ''
description: 'URL of the toolchain to use. This needs to be a tarball with a /bin directory inside with either GCC or LLVM from make install'
@@ -82,5 +86,6 @@
${BUILD_CONTAINER} "cd ${WORKSPACE} && bash -x ${WORKSPACE}/tcwg-llvm-build.sh \
--workspace=${WORKSPACE} \
--buildid=${BUILD_ID} \
- --linkjobs=${linkjobs}" \
- --toolchain=${toolchain}
+ --linkjobs=${linkjobs} \
+ --revision=${revision} \
+ --toolchain=${toolchain}"