dev-libs/dynarmic: new package, add 6.7.0

Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
Pavel Sobolev
2025-07-10 22:08:47 +03:00
parent cc65ee003e
commit 67178f69c1
5 changed files with 108 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
From: Pavel Sobolev <contact@paveloom.dev>
Subject: [PATCH] Add `xbyak` as a system library rather than a CMake package.
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -149,7 +149,11 @@ if ("arm64" IN_LIST ARCHITECTURE OR DYNARMIC_TESTS)
endif()
if ("x86_64" IN_LIST ARCHITECTURE)
- find_package(xbyak 7 CONFIG)
+ add_library(xbyak INTERFACE)
+ add_library(xbyak::xbyak ALIAS xbyak)
+ target_compile_options(xbyak INTERFACE "-fno-operator-names")
+ target_compile_definitions(xbyak INTERFACE XBYAK_STRICT_CHECK_MEM_REG_SIZE=0)
+
find_package(Zydis 4 CONFIG)
endif()

View File

@@ -0,0 +1,16 @@
From: Pavel Sobolev <contact@paveloom.dev>
Subject: [PATCH] Relax the dependency on `mcl`.
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -141,7 +141,7 @@ endif()
find_package(Boost 1.57 REQUIRED)
find_package(fmt 9 CONFIG)
-find_package(mcl 0.1.12 EXACT CONFIG)
+find_package(mcl 0.1.12 CONFIG)
find_package(tsl-robin-map CONFIG)
if ("arm64" IN_LIST ARCHITECTURE OR DYNARMIC_TESTS)