[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 01/19] tests/vm/openbsd: Use the system dtc package
From: |
Alex Bennée |
Subject: |
[PULL 01/19] tests/vm/openbsd: Use the system dtc package |
Date: |
Tue, 31 Oct 2023 14:43:43 +0000 |
From: Thomas Huth <thuth@redhat.com>
We can use the pre-packaged libfdt from the dtc package to avoid
that we have to compile this code each time again and again.
While we're at it, the "--python=python3" does not seemt to be
necessary anymore, so we can drop it.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20231016154049.37147-1-thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231029145033.592566-2-alex.bennee@linaro.org>
diff --git a/tests/vm/openbsd b/tests/vm/openbsd
index 6b4fc29793..85c5bb3536 100755
--- a/tests/vm/openbsd
+++ b/tests/vm/openbsd
@@ -27,6 +27,7 @@ class OpenBSDVM(basevm.BaseVM):
size = "20G"
pkgs = [
# tools
+ "dtc",
"git",
"pkgconf",
"bzip2", "xz",
@@ -67,8 +68,9 @@ class OpenBSDVM(basevm.BaseVM):
cd $(mktemp -d /home/qemu/qemu-test.XXXXXX);
mkdir src build; cd src;
tar -xf /dev/rsd1c;
- cd ../build
- ../src/configure --cc=cc --python=python3 {configure_opts};
+ cd ../build;
+ ../src/configure --cc=cc --extra-cflags=-I/usr/local/include \
+ --extra-ldflags=-L/usr/local/lib {configure_opts};
gmake --output-sync -j{jobs} {target} {verbose};
"""
poweroff = "halt -p"
--
2.39.2
- [PULL 00/19] Updates for testing, gitlab, gdbstub, plugins and semihosting, Alex Bennée, 2023/10/31
- [PULL 02/19] tests/tcg: Add -fno-stack-protector, Alex Bennée, 2023/10/31
- [PULL 01/19] tests/vm/openbsd: Use the system dtc package,
Alex Bennée <=
- [PULL 04/19] gitlab: clean-up build-soft-softmmu job, Alex Bennée, 2023/10/31
- [PULL 03/19] gitlab: split alpha testing into a legacy container, Alex Bennée, 2023/10/31
- [PULL 05/19] gitlab: add build-loongarch to matrix, Alex Bennée, 2023/10/31
- [PULL 06/19] tests/docker: use debian-legacy-test-cross for alpha, Alex Bennée, 2023/10/31
- [PULL 10/19] tests/docker: use debian-all-test-cross for m68k, Alex Bennée, 2023/10/31
- [PULL 08/19] tests/docker: use debian-all-test-cross for power, Alex Bennée, 2023/10/31
- [PULL 13/19] tests/docker: use debian-all-test-cross for riscv64, Alex Bennée, 2023/10/31
- [PULL 07/19] tests/docker: move sh4 to use debian-legacy-test-cross, Alex Bennée, 2023/10/31
- [PULL 09/19] tests/docker: use debian-all-test-cross for hppa, Alex Bennée, 2023/10/31
- [PULL 14/19] tests/docker: use debian-all-test-cross for sparc64, Alex Bennée, 2023/10/31