File tree Expand file tree Collapse file tree 1 file changed +31
-26
lines changed Expand file tree Collapse file tree 1 file changed +31
-26
lines changed Original file line number Diff line number Diff line change @@ -143,16 +143,45 @@ extension_data_cpp = {
143
143
foreach name, pyx : extension_data_cpp
144
144
override_options = [' cython_language=cpp' ]
145
145
if name in [
146
+ ' matrix_gf2e_dense' ,
146
147
' matrix_integer_dense' ,
147
148
' matrix_integer_sparse' ,
148
149
' matrix_modn_dense_float' ,
149
150
' matrix_modn_dense_double' ,
150
151
' matrix_modn_sparse' ,
151
152
]
152
- # Temporary workaround for https://github.com/linbox-team/linbox/issues/306
153
+ # Temporary workaround for https://github.com/linbox-team/linbox/issues/306 and https://github.com/malb/m4rie/pull/6
153
154
override_options += [' cpp_std=c++11' ]
154
155
endif
155
156
157
+ deps = [
158
+ py_dep,
159
+ blas,
160
+ cypari2,
161
+ cysignals,
162
+ fflas,
163
+ flint,
164
+ gd,
165
+ givaro,
166
+ gmp,
167
+ gmpxx,
168
+ iml,
169
+ linbox,
170
+ m,
171
+ m4ri,
172
+ mpfi,
173
+ mpfr,
174
+ ntl,
175
+ numpy,
176
+ pari,
177
+ png,
178
+ singular,
179
+ zlib,
180
+ ]
181
+ if name == ' matrix_gf2e_dense'
182
+ deps += [m4rie]
183
+ endif
184
+
156
185
py.extension_module(
157
186
name,
158
187
sources : pyx,
@@ -167,31 +196,7 @@ foreach name, pyx : extension_data_cpp
167
196
inc_rings,
168
197
inc_rings_finite,
169
198
],
170
- dependencies : [
171
- py_dep,
172
- blas,
173
- cypari2,
174
- cysignals,
175
- fflas,
176
- flint,
177
- gd,
178
- givaro,
179
- gmp,
180
- gmpxx,
181
- iml,
182
- linbox,
183
- m,
184
- m4ri,
185
- m4rie,
186
- mpfi,
187
- mpfr,
188
- ntl,
189
- numpy,
190
- pari,
191
- png,
192
- singular,
193
- zlib,
194
- ],
199
+ dependencies : deps,
195
200
)
196
201
endforeach
197
202
You can’t perform that action at this time.
0 commit comments