aboutsummaryrefslogtreecommitdiff
path: root/leg-virt-tiancore-edk2-upstream.yaml
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2018-06-18 22:22:09 +0200
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2018-06-18 20:25:03 +0000
commit01bb3a2e21ced7f55d43bd10493d798dfb06afe0 (patch)
tree04675e9ad7ebede490ed2c88b6886b651c61ac0a /leg-virt-tiancore-edk2-upstream.yaml
parent6366ba86b0dff29973ecf23427bbfecdd666db94 (diff)
leg-virt-tianocore: avoid CLANG35 profile for ARM on Stretch
Stretch's Clangi/AArch64 is v3.8 but does not support LTO due to a LLVM packaging bug. However, the CLANG35 toolchain profile does not support the ARM version of 3.8 because the no-movt command line option changed names. So use CLANG38 but only for ARM. Change-Id: Id94d137027dbff3b3124dbc902c07595bc805d7b 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.yaml18
1 files changed, 11 insertions, 7 deletions
diff --git a/leg-virt-tiancore-edk2-upstream.yaml b/leg-virt-tiancore-edk2-upstream.yaml
index 695c18d7d9..31286ec6f5 100644
--- a/leg-virt-tiancore-edk2-upstream.yaml
+++ b/leg-virt-tiancore-edk2-upstream.yaml
@@ -101,16 +101,20 @@
cd ${WORKSPACE}
for type in DEBUG RELEASE NOOPT
do
- for tc in GCC48 GCC49 GCC5 CLANG35
- do
- for pkg in Arm ArmPlatform Embedded
+ for pkg in Arm ArmPlatform Embedded
+ do
+ for tc in GCC48 GCC49 GCC5
do
- for arch in ARM AARCH64
- do
- build -a ${arch} -t ${tc} -b ${type} -n $NUM_THREADS -p ${pkg}Pkg/${pkg}Pkg.dsc
- done
+ build -a ARM -t ${tc} -b ${type} -n $NUM_THREADS -p ${pkg}Pkg/${pkg}Pkg.dsc
+ build -a AARCH64 -t ${tc} -b ${type} -n $NUM_THREADS -p ${pkg}Pkg/${pkg}Pkg.dsc
done
+ build -a ARM -t CLANG38 -b ${type} -n $NUM_THREADS -p ${pkg}Pkg/${pkg}Pkg.dsc
+ build -a AARCH64 -t CLANG35 -b ${type} -n $NUM_THREADS -p ${pkg}Pkg/${pkg}Pkg.dsc
+ done
+
+ for tc in GCC48 GCC49 GCC5 CLANG35
+ do
mkdir -p ${OUTDIR}/QEMU-ARM/${type}_${tc}
build -a ARM -t ${tc} -b ${type} -n $NUM_THREADS -p ArmVirtPkg/ArmVirtQemu.dsc -D SECURE_BOOT_ENABLE
cp Build/ArmVirtQemu-ARM/${type}_${tc}/FV/QEMU_EFI.fd ${OUTDIR}/QEMU-ARM/${type}_${tc}