Skip to content

Commit 3c1a5c5

Browse files
committed
fixup array_ref
1 parent c0e9225 commit 3c1a5c5

File tree

7 files changed

+3235
-722
lines changed

7 files changed

+3235
-722
lines changed

projects/eudsl-py/pyproject.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
[build-system]
2-
requires = ["scikit-build-core>=0.10.7", "nanobind>=2.2.0", "typing_extensions>=4.12.2"]
2+
requires = [
3+
"scikit-build-core==0.10.7",
4+
"nanobind==2.2.0",
5+
"typing_extensions==4.12.2",
6+
"numpy==2.0.2"
7+
]
38
build-backend = "scikit_build_core.build"
49

510
[project]
611
name = "eudsl-py"
712
version = "0.0.1"
813
requires-python = ">=3.9"
14+
dependencies = [
15+
"numpy==2.0.2"
16+
]
917

1018
[project.urls]
1119
Homepage = "https://github.com/llvm/eudsl"

projects/eudsl-py/src/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ nanobind_add_module(eudsl_ext NB_STATIC STABLE_ABI
4949
arith.cpp
5050
cf.cpp
5151
scf.cpp
52-
affine.cpp)
52+
affine.cpp
53+
)
5354
target_link_libraries(eudsl_ext PRIVATE
5455
MLIRIR
5556
LLVMSupport
@@ -61,6 +62,7 @@ target_link_libraries(eudsl_ext PRIVATE
6162
)
6263
target_compile_options(eudsl_ext
6364
PRIVATE
65+
-Wno-cast-qual
6466
$<$<PLATFORM_ID:Linux>:-fexceptions -frtti>
6567
$<$<PLATFORM_ID:Darwin>:-fexceptions -frtti>
6668
$<$<PLATFORM_ID:Windows>:/EHsc /GR>)

0 commit comments

Comments
 (0)