File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 45
45
endif
46
46
47
47
cy = meson .get_compiler(' cython' )
48
- cdata = configuration_data ()
49
48
if cy.version().version_compare(' >=3.1.0' )
50
49
add_project_arguments (' -Xfreethreading_compatible=true' , language : ' cython' )
51
- cdata.set(' freethreading_compatible' , ' 1' )
52
- else
53
- cdata.set(' freethreading_compatible' , ' 0' )
54
50
endif
55
51
56
52
# Needed by pandas.test() when it looks for the pytest ini options
Original file line number Diff line number Diff line change @@ -50,6 +50,12 @@ _khash_primitive_helper_dep = declare_dependency(
50
50
sources : _khash_primitive_helper,
51
51
)
52
52
53
+ cdata = configuration_data ()
54
+ if cy.version().version_compare(' >=3.1.0' )
55
+ cdata.set(' freethreading_compatible' , ' 1' )
56
+ else
57
+ cdata.set(' freethreading_compatible' , ' 0' )
58
+ endif
53
59
_free_threading_config = configure_file (
54
60
input : ' free_threading_config.pxi.in' ,
55
61
output : ' free_threading_config.pxi' ,
You can’t perform that action at this time.
0 commit comments