Discussion:
[Xen-changelog] [xen staging] automation: lift tools build restriction in build script
p***@xen.org
2018-11-13 14:11:25 UTC
Permalink
commit 15410d8fc8d6e63ab138a5c47427f418a43a1c56
Author: Wei Liu <***@citrix.com>
AuthorDate: Wed Nov 7 12:31:49 2018 +0000
Commit: Wei Liu <***@citrix.com>
CommitDate: Tue Nov 13 13:48:46 2018 +0000

automation: lift tools build restriction in build script

The restrictions are mostly from Travis CI days when cross-compilation
was not feasible. Now we will be building natively on Arm, remove
those lines.

Signed-off-by: Wei Liu <***@citrix.com>
Acked-by: Doug Goldstein <***@cardoe.com>
---
automation/scripts/build | 6 ------
1 file changed, 6 deletions(-)

diff --git a/automation/scripts/build b/automation/scripts/build
index ad848dfd00..48e398ea20 100755
--- a/automation/scripts/build
+++ b/automation/scripts/build
@@ -22,12 +22,6 @@ if [[ "${CC}" == "clang" ]]; then
cfgargs+=("--disable-stubdom")
fi

-if [[ "${XEN_TARGET_ARCH}" == "arm64" || "${XEN_TARGET_ARCH}" == "arm32" ]]; then
- cfgargs+=("--disable-tools") # we don't have the cross depends installed
-elif [[ "${CC}" != "clang" ]]; then
- cfgargs+=("--enable-ovmf") # build ovmf with gcc on x86, arm doesn't use in-tree ovmf
-fi
-
./configure "${cfgargs[@]}"

make -j$(nproc) dist
--
generated by git-patchbot for /home/xen/git/xen.git#staging

Loading...