Skip to content

Commit 5674fb7

Browse files
authored
Merge pull request #437 from isuruf/llvm16
Fix building with LLVM 16
2 parents dc2daf8 + 4e31fac commit 5674fb7

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

CMakeLists.txt

+8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
cmake_minimum_required(VERSION 2.8.12)
2+
3+
if (POLICY CMP0057)
4+
cmake_policy(SET CMP0057 NEW) # needed for llvm >= 16
5+
endif ()
6+
27
project(python_wrapper)
38

49
set(CMAKE_PREFIX_PATH ${SymEngine_DIR} ${CMAKE_PREFIX_PATH})
10+
11+
include(GNUInstallDirs)
12+
513
find_package(SymEngine 0.8.1 REQUIRED CONFIG
614
PATH_SUFFIXES lib/cmake/symengine cmake/symengine CMake/)
715
message("SymEngine_DIR : " ${SymEngine_DIR})

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ symengine.py is MIT licensed and uses several LGPL, BSD-3 and MIT licensed libra
7272
Licenses for the dependencies of pip wheels are as follows,
7373

7474
pip wheels on Unix use GMP (LGPL-3.0-or-later), MPFR (LGPL-3.0-or-later),
75-
MPC (LGPL-3.0-or-later), LLVM (Apache-2.0), zlib (Zlib) and symengine (MIT AND BSD-3-Clause).
75+
MPC (LGPL-3.0-or-later), LLVM (Apache-2.0), zlib (Zlib), libxml2 (MIT),
76+
zstd (BSD-3-Clause) and symengine (MIT AND BSD-3-Clause).
7677
pip wheels on Windows use MPIR (LGPL-3.0-or-later) instead of GMP above and
7778
pthreads-win32 (LGPL-3.0-or-later) additionally.
7879
NumPy (BSD-3-Clause) and SymPy (BSD-3-Clause) are optional dependencies.

symengine_version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.10.0
1+
v0.10.1

0 commit comments

Comments
 (0)