diff options
author | Renato Golin <renato.golin@linaro.org> | 2017-05-02 16:50:25 +0100 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2017-05-02 16:15:27 +0000 |
commit | 8a9a67d6a0df2442b02c970d95f004a0fd12045a (patch) | |
tree | 6a6f426455b9ff628eb8f3cd80bbb5f6ca3cdd85 /tcwg-llvm-release.yaml | |
parent | 3311e4e9e8893362d540472d322c10fa2afe1a5f (diff) |
tcwg-llvm-*: Mock up to test Jenkins matrix jobs
Change-Id: I7ad12dcc22ff3afa884437ffa9a93097f4622313
Diffstat (limited to 'tcwg-llvm-release.yaml')
-rw-r--r-- | tcwg-llvm-release.yaml | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/tcwg-llvm-release.yaml b/tcwg-llvm-release.yaml index d52c5acb..a24ba801 100644 --- a/tcwg-llvm-release.yaml +++ b/tcwg-llvm-release.yaml @@ -85,28 +85,28 @@ # Until we figure out a way to use heavy-job with different weights # based on the builder, we hardcode to one. weight=1 - buildjobs=$((weight*7)) + buildjobs=1 triple="" # Select builder arch/type/container case ${label} in tcwg-x86_64-build) builder_arch=amd64 - triple="x86_64-linux-gnu" + triple="x86_64-unknown-linux-gnu" + buildjobs=8 # 1 slot is 32/4 ;; tcwg-tk1_32-build) builder_arch=armhf - triple="armv7-linux-gnueabihf" + triple="armv7l-unknown-linux-gnueabihf" buildjobs=4 # TK1s only have 4 cores ;; tcwg-apm_64-build) builder_arch=arm64 - triple="aarch64-linux-gnu" + triple="aarch64-unknown-linux-gnu" + buildjobs=4 # APMs only have 8 cores ;; *) echo "ERROR: Unsupported label: $label"; exit 1 ;; esac - build_container_type=docker - build_container_tag=${build_container_tag} # Start build container builder=$(${WORKSPACE}/nodename2hostname.sh $NODE_NAME) @@ -124,14 +124,15 @@ trap "${CONTAINERS_CLEANUP}" EXIT fi - # Setup job parameters and run + # Setup job parameters and run (for now, just pretend to run) ret=0 - ${BUILD_CONTAINER} "cd ${WORKSPACE} && bash -x ${WORKSPACE}/tcwg-llvm-release.sh \ + echo ${BUILD_CONTAINER} "cd ${WORKSPACE} && bash -x ${WORKSPACE}/tcwg-llvm-release.sh \ --workspace=${WORKSPACE} \ --release=${release} \ --candidate=${candidate} \ --buildjobs=${buildjobs} \ --toolchain=${toolchain}" || ret=$? + touch clang+llvm-${release}${rctag}-${triple}.tar.xz # Chained jobs rctag="-rc${candidate}" @@ -147,6 +148,7 @@ if ${testsuite}; then cat << EOF > llvm.params.testsuite toolchain=${toolchain_url} + target_list=${target} EOF fi |