summaryrefslogtreecommitdiff
path: root/math/symengine/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-11-12 21:34:54 -0800
committerYuri Victorovich <yuri@FreeBSD.org>2023-11-12 21:34:54 -0800
commit7325301ff920f9b3d672bc8d47232759d60f9e96 (patch)
tree54a4b72de1151708ecfb257c1eafc35baa8403ba /math/symengine/files/patch-CMakeLists.txt
parentlang/hs-futhark: update 0.25.6 → 0.25.8 (diff)
math/symengine: update 0.10.1 → 0.11.1
Reported by: portscout
Diffstat (limited to 'math/symengine/files/patch-CMakeLists.txt')
-rw-r--r--math/symengine/files/patch-CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/math/symengine/files/patch-CMakeLists.txt b/math/symengine/files/patch-CMakeLists.txt
index ace2eaf07b25..d087af99d01c 100644
--- a/math/symengine/files/patch-CMakeLists.txt
+++ b/math/symengine/files/patch-CMakeLists.txt
@@ -1,13 +1,13 @@
- fix requested LLVM version
---- CMakeLists.txt.orig 2022-04-30 17:48:46 UTC
+--- CMakeLists.txt.orig 2023-09-27 17:00:43 UTC
+++ CMakeLists.txt
-@@ -396,7 +396,7 @@ set(WITH_LLVM no
+@@ -413,7 +413,7 @@ set(WITH_LLVM no
if (WITH_LLVM)
- set(SYMENGINE_LLVM_COMPONENTS asmparser core executionengine instcombine mcjit native nativecodegen scalaropts vectorize support transformutils)
+ set(SYMENGINE_LLVM_COMPONENTS asmparser core executionengine instcombine mcjit native nativecodegen scalaropts vectorize support transformutils passes)
- find_package(LLVM REQUIRED ${SYMENGINE_LLVM_COMPONENTS})
+ find_package(LLVM ${FREEBSD_LLVM_VERSION} REQUIRED ${SYMENGINE_LLVM_COMPONENTS})
- set(LLVM_MINIMUM_REQUIRED_VERSION "3.8")
+ set(LLVM_MINIMUM_REQUIRED_VERSION "4.0")
if (LLVM_PACKAGE_VERSION LESS ${LLVM_MINIMUM_REQUIRED_VERSION})
message(FATAL_ERROR "LLVM version found ${LLVM_PACKAGE_VERSION} is too old.