File tree Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 42
42
- os : macos-13
43
43
pybuilds : cp38
44
44
45
+ name : >
46
+ ${{ matrix.pybuilds }} ${{ matrix.os }} ${{ matrix.arch }}
47
+
45
48
steps :
46
49
- uses : actions/checkout@v4
47
50
- uses : actions/setup-python@v5
Original file line number Diff line number Diff line change @@ -14,13 +14,9 @@ set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15")
14
14
# <20 for embree
15
15
set (CMAKE_CXX_STANDARD 17 )
16
16
17
- if (CMAKE_VERSION VERSION_LESS 3.18 )
18
- set (DEV_MODULE Development )
19
- else ()
20
- set (DEV_MODULE Development.Module )
21
- endif ()
22
-
23
- find_package (Python 3.8 COMPONENTS Interpreter ${DEV_MODULE} REQUIRED )
17
+ find_package (Python 3.8
18
+ REQUIRED COMPONENTS Interpreter Development.Module
19
+ OPTIONAL_COMPONENTS Development.SABIModule )
24
20
25
21
if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES )
26
22
set (CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE )
@@ -125,7 +121,10 @@ function(pyigl_include prefix name)
125
121
file (WRITE "${generated_dir} /BINDING_INVOCATIONS.in" "${BINDING_INVOCATIONS} " )
126
122
127
123
set (target_name "pyigl${prefix_lc} _${name} " )
128
- nanobind_add_module (${target_name} ${sources} )
124
+ nanobind_add_module (
125
+ ${target_name}
126
+ STABLE_ABI
127
+ ${sources} )
129
128
130
129
# important for scikit-build
131
130
install (TARGETS ${target_name} LIBRARY DESTINATION "igl/${subpath} " )
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ build-backend = "scikit_build_core.build"
14
14
15
15
[project ]
16
16
name = " libigl"
17
- version = " 2.6.0 "
17
+ version = " 2.6.1 "
18
18
description = " libigl: A simple C++ geometry processing library"
19
19
readme = " README.md"
20
20
requires-python = " >=3.8"
@@ -42,6 +42,7 @@ build-dir = "build/{wheel_tag}"
42
42
# Build stable ABI wheels for CPython 3.12+
43
43
wheel.py-api = " cp312"
44
44
45
+
45
46
[tool .scikit-build .cmake ]
46
47
build-type = " Release"
47
48
You can’t perform that action at this time.
0 commit comments