[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/3] capstone: Allow version 3.0.5 again
From: |
Thomas Huth |
Subject: |
[PATCH 2/3] capstone: Allow version 3.0.5 again |
Date: |
Mon, 16 May 2022 16:58:22 +0200 |
According to
https://lore.kernel.org/qemu-devel/20200921174118.39352-1-richard.henderson@linaro.org/
there was an issue with Capstone 3 from Ubuntu 18. Now that we removed
support for Ubuntu 18.04, that issue should hopefully not bite us
anymore. Compiling with version 3.0.5 seems to work fine on other
systems, so let's allow that version again.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
meson.build | 2 +-
.gitlab-ci.d/buildtest.yml | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 9b20dcd143..63ea585702 100644
--- a/meson.build
+++ b/meson.build
@@ -2513,7 +2513,7 @@ capstone = not_found
capstone_opt = get_option('capstone')
if capstone_opt in ['enabled', 'auto', 'system']
have_internal = fs.exists(meson.current_source_dir() / 'capstone/Makefile')
- capstone = dependency('capstone', version: '>=4.0',
+ capstone = dependency('capstone', version: '>=3.0.5',
kwargs: static_kwargs, method: 'pkg-config',
required: capstone_opt == 'system' or
capstone_opt == 'enabled' and not
have_internal)
diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml
index 0aea7ab84c..a4d43d743b 100644
--- a/.gitlab-ci.d/buildtest.yml
+++ b/.gitlab-ci.d/buildtest.yml
@@ -42,6 +42,7 @@ build-system-ubuntu:
variables:
IMAGE: ubuntu2004
CONFIGURE_ARGS: --enable-docs --enable-fdt=system --enable-slirp=system
+ --enable-capstone=system
TARGETS: aarch64-softmmu alpha-softmmu cris-softmmu hppa-softmmu
microblazeel-softmmu mips64el-softmmu
MAKE_CHECK_ARGS: check-build
--
2.27.0
- [RFC PATCH 0/3] Allow Capstone 3.0.5 again and remove the submodule, Thomas Huth, 2022/05/16
- [PATCH 1/3] tests/vm: Add capstone to the NetBSD and OpenBSD VMs, Thomas Huth, 2022/05/16
- [PATCH 3/3] capstone: Remove the capstone submodule, Thomas Huth, 2022/05/16
- [PATCH 2/3] capstone: Allow version 3.0.5 again,
Thomas Huth <=
- Re: [PATCH 2/3] capstone: Allow version 3.0.5 again, Peter Maydell, 2022/05/16
- Re: [PATCH 2/3] capstone: Allow version 3.0.5 again, Richard Henderson, 2022/05/16
- Re: [PATCH 2/3] capstone: Allow version 3.0.5 again, Peter Maydell, 2022/05/16
- Re: [PATCH 2/3] capstone: Allow version 3.0.5 again, Richard Henderson, 2022/05/16
- Re: [PATCH 2/3] capstone: Allow version 3.0.5 again, Thomas Huth, 2022/05/16
- Re: [PATCH 2/3] capstone: Allow version 3.0.5 again, Richard Henderson, 2022/05/17
Re: [PATCH 2/3] capstone: Allow version 3.0.5 again, Richard Henderson, 2022/05/17