File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,15 @@ endforeach
160
160
161
161
subdir (' window' )
162
162
163
- nanobind_dep = dependency (' nanobind' )
163
+ cmake = import (' cmake' )
164
+ opt_var = cmake.subproject_options()
165
+ # the inclusion of the test directory from the top level
166
+ # CMake defines NB_ABORT_ON_LEAK. We apparently have some leaks
167
+ # detected on ubuntu, but don't want that to crash CI for now
168
+ opt_var.append_compile_args(' cpp' , ' -UNB_ABORT_ON_LEAK' )
169
+ nanobind_proj = cmake.subproject (' nanobind' , options : opt_var)
170
+ nanobind_dep = nanobind_proj.dependency (' nanobind-static' )
171
+
164
172
py.extension_module(
165
173
' new_vector' ,
166
174
[' new_vector.cpp' ],
Original file line number Diff line number Diff line change @@ -4,6 +4,3 @@ url = https://github.com/wjakob/nanobind/
4
4
revision = v1.9.2
5
5
depth = 1
6
6
clone-recursive = true
7
-
8
- [provide]
9
- nanobind = nanobind_static_dep
You can’t perform that action at this time.
0 commit comments