diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-08-10 12:49:55 +0200 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-08-10 12:49:55 +0200 |
commit | e26d604121f29286b7849089710b0c5a901e9879 (patch) | |
tree | fee6713a52f113c20bbcd89f23e5ed50cec171c5 /leg-virt-tiancore-edk2-upstream.yaml | |
parent | 72f88399d837a8dad446819571f842394cb02fb9 (diff) |
leg-virt-tianocore: add CLANG35 to list of toolchains to use for AARCH64
Now that we have support upstream for building the AARCH64 platforms
with clang, add it to the Jenkins build so we know when the build gets
broken for clang.
Change-Id: Ife767a41144915e5c59af385b465bb2f6b89560f
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'leg-virt-tiancore-edk2-upstream.yaml')
-rw-r--r-- | leg-virt-tiancore-edk2-upstream.yaml | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/leg-virt-tiancore-edk2-upstream.yaml b/leg-virt-tiancore-edk2-upstream.yaml index 8adb6391b7..787269a162 100644 --- a/leg-virt-tiancore-edk2-upstream.yaml +++ b/leg-virt-tiancore-edk2-upstream.yaml @@ -65,6 +65,10 @@ export GCC49_AARCH64_PREFIX=${HOME}/srv/toolchain/arm64-tc-14.09/bin/aarch64-linux-gnu- export GCC49_ARM_PREFIX=${HOME}/srv/toolchain/arm-tc-14.09/bin/arm-linux-gnueabihf- + # reuse the binutils that ship with GCC 4.9 for the CLANG35 builds + export CLANG35_AARCH64_PREFIX=${HOME}/srv/toolchain/arm64-tc-14.09/bin/aarch64-linux-gnu- + sudo apt-get install -y --no-install-recommends clang + export OUTDIR=${WORKSPACE}/out ( @@ -95,18 +99,20 @@ ./Install.sh cd ${WORKSPACE} - for tc in GCC48 GCC49 + for type in DEBUG RELEASE do - for type in DEBUG RELEASE + for tc in GCC48 GCC49 + do + mkdir -p ${OUTDIR}/QEMU-ARM/${type}_${tc} + build -a ARM -t ${tc} -b ${type} -n $NUM_THREADS -p ArmVirtPkg/ArmVirtQemu.dsc + cp Build/ArmVirtQemu-ARM/${type}_${tc}/FV/QEMU_EFI.fd ${OUTDIR}/QEMU-ARM/${type}_${tc} + done + + for tc in GCC48 GCC49 CLANG35 do - for arch in AARCH64 ARM - do - mkdir -p ${OUTDIR}/QEMU-${arch}/${type}_${tc} - build -a ${arch} -t ${tc} -b ${type} -n $NUM_THREADS -p ArmVirtPkg/ArmVirtQemu.dsc - cp Build/ArmVirtQemu-${arch}/${type}_${tc}/FV/QEMU_EFI.fd ${OUTDIR}/QEMU-${arch}/${type}_${tc} - done - - # below builds are only supported for AArch64 + mkdir -p ${OUTDIR}/QEMU-AARCH64/${type}_${tc} + build -a AARCH64 -t ${tc} -b ${type} -n $NUM_THREADS -p ArmVirtPkg/ArmVirtQemu.dsc + cp Build/ArmVirtQemu-AARCH64/${type}_${tc}/FV/QEMU_EFI.fd ${OUTDIR}/QEMU-AARCH64/${type}_${tc} mkdir -p ${OUTDIR}/XEN-AARCH64/${type}_${tc} build -a AARCH64 -t ${tc} -b ${type} -n $NUM_THREADS -p ArmVirtPkg/ArmVirtXen.dsc |