From 40925c539ef650aa7d2786bd97ed897129359b00 Mon Sep 17 00:00:00 2001 From: Andre Sailer <andre.philippe.sailer@cern.ch> Date: Tue, 13 Aug 2024 08:44:56 +0200 Subject: [PATCH] Qulacs: add patch to use generic CPU instructions --- pyexternals/patches/qulacs-0.6.4.1.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pyexternals/patches/qulacs-0.6.4.1.patch diff --git a/pyexternals/patches/qulacs-0.6.4.1.patch b/pyexternals/patches/qulacs-0.6.4.1.patch new file mode 100644 index 0000000000..0fd46706f1 --- /dev/null +++ b/pyexternals/patches/qulacs-0.6.4.1.patch @@ -0,0 +1,11 @@ +--- CMakeLists.txt~ 2024-05-28 02:36:27.000000000 +0200 ++++ CMakeLists.txt 2024-08-13 08:27:30.406258971 +0200 +@@ -34,0 +35,3 @@ ++message(STATUS "Forcing SIMD SUPPORT: No") ++set(DEFAULT_USE_SIMD No) ++ +--- CMakeLists.txt~ 2024-08-13 08:37:40.985139841 +0200 ++++ CMakeLists.txt 2024-08-13 08:40:39.340802510 +0200 +@@ -52 +52 @@ +- set(DEFAULT_OPT_FLAGS "-mtune=native -march=native -mfpmath=both") ++ set(DEFAULT_OPT_FLAGS "-mtune=generic -march=x86-64 -mfpmath=both") -- GitLab