[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] automation: special configure flags for musl-based systems
commit 3a51115ab50fd2561b94cb6ec0a597db81549240 Author: Stefano Stabellini <sstabellini@xxxxxxxxxx> AuthorDate: Thu Nov 19 19:20:15 2020 -0800 Commit: Stefano Stabellini <sstabellini@xxxxxxxxxx> CommitDate: Thu Dec 17 14:56:43 2020 -0800 automation: special configure flags for musl-based systems QEMU upstream builds with warnings when libc is musl: #warning redirecting incorrect #include <sys/signal.h> to <signal.h> Disable -Werror by passing --disable-werror to the QEMUU config script if libc is musl. hvmloader doesn't build on musl systems today. Disable any guest firmware build. Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxx> Acked-by: Wei Liu <wl@xxxxxxx> --- automation/scripts/build | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/automation/scripts/build b/automation/scripts/build index 7038e5eb50..959a26d084 100755 --- a/automation/scripts/build +++ b/automation/scripts/build @@ -28,6 +28,14 @@ if [[ "${CC}" == "clang"* ]]; then cfgargs+=("--disable-stubdom") fi +if ! test -z "$(ldd /bin/ls|grep musl|head -1)"; then + # disable --disable-werror for QEMUU when building with MUSL + cfgargs+=("--with-extra-qemuu-configure-args=\"--disable-werror\"") + # hvmloader doesn't build on MUSL systems + cfgargs+=("--disable-seabios") + cfgargs+=("--disable-rombios") +fi + # Qemu requires Python 3.5 or later if ! type python3 || python3 -c "import sys; res = sys.version_info < (3, 5); exit(not(res))"; then cfgargs+=("--with-system-qemu=/bin/false") -- generated by git-patchbot for /home/xen/git/xen.git#staging
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |