@@ -135,18 +135,18 @@ fortran_sources_symph = [
135135 ' FModules/symmetry_high_rank.f90'
136136]
137137## Generate the C wrapper with f2py using a custom target
138- f2py_symph_target = custom_target (' symph-f2py-wrapper' ,
139- input : fortran_sources_symph,
140- output : [' symphmodule.c' ,' symph-f2pywrappers.f' ,' symph-f2pywrappers2.f90' ],
141- # command: [py.full_path(), '-m', 'numpy.f2py', '--backend', 'meson',
142- # '--dep', 'mpi', '--quiet', '-c', '@INPUT0@', '-m', 'symph'],
143- command : [py, ' -m' , ' numpy.f2py' , ' @INPUT@' , ' -m' , ' symph' , ' --lower' ],
144- install : false
145- )
138+ # f2py_symph_target = custom_target('symph-f2py-wrapper',
139+ # input: fortran_sources_symph,
140+ # output: ['symphmodule.c','symph-f2pywrappers.f','symph-f2pywrappers2.f90'],
141+ ## command: [py.full_path(), '-m', 'numpy.f2py', '--backend', 'meson',
142+ ## '--dep', 'mpi', '--quiet', '-c', '@INPUT0@', '-m', 'symph'],
143+ # command : [py, '-m', 'numpy.f2py', '@INPUT@', '-m', 'symph', '--lower'],
144+ # install: false
145+ # )
146146py.extension_module(' symph' ,
147- [
147+ # [
148148 fortran_sources_symph,
149- f2py_symph_target],
149+ # f2py_symph_target],
150150 include_directories : inc_np,
151151 dependencies : list_dep,
152152 install : true
@@ -160,18 +160,18 @@ fortran_sources_secondorder = [
160160 ' FModules/second_order_ASR.f90'
161161]
162162## Generate the C wrapper with f2py using a custom target
163- f2py_secondorder_target = custom_target (' secondorder-f2py-wrapper' ,
164- input : fortran_sources_secondorder,
165- output : [' secondordermodule.c' ,' secondorder-f2pywrappers2.f90' ],
166- # command: [py.full_path(), '-m', 'numpy.f2py', '--backend', 'meson',
167- # '--dep', 'mpi', '--quiet', '-c', '@INPUT0@', '-m', 'secondorder'],
168- command : [py, ' -m' , ' numpy.f2py' , ' @INPUT@' , ' -m' , ' secondorder' , ' --lower' ],
169- install : false
170- )
163+ # f2py_secondorder_target = custom_target('secondorder-f2py-wrapper',
164+ # input: fortran_sources_secondorder,
165+ # output: ['secondordermodule.c','secondorder-f2pywrappers2.f90'],
166+ ## command: [py.full_path(), '-m', 'numpy.f2py', '--backend', 'meson',
167+ ## '--dep', 'mpi', '--quiet', '-c', '@INPUT0@', '-m', 'secondorder'],
168+ # command : [py, '-m', 'numpy.f2py', '@INPUT@', '-m', 'secondorder', '--lower'],
169+ # install: false
170+ # )
171171py.extension_module(' secondorder' ,
172- [
172+ # [
173173 fortran_sources_secondorder,
174- f2py_secondorder_target],
174+ # f2py_secondorder_target],
175175 include_directories : inc_np,
176176 dependencies : list_dep,
177177 install : true
@@ -190,18 +190,18 @@ fortran_sources_thirdorder = [
190190 ' FModules/third_order_interpol.f90'
191191]
192192## Generate the C wrapper with f2py using a custom target
193- f2py_thirdorder_target = custom_target (' thirdorder-f2py-wrapper' ,
194- input : fortran_sources_thirdorder,
195- output : [' thirdordermodule.c' ,' thirdorder-f2pywrappers2.f90' ],
196- # command: [py.full_path(), '-m', 'numpy.f2py', '--backend', 'meson',
197- # '--dep', 'mpi', '--quiet', '-c', '@INPUT0@', '-m', 'thirdorder'],
198- command : [py, ' -m' , ' numpy.f2py' , ' @INPUT@' , ' -m' , ' thirdorder' , ' --lower' ],
199- install : false
200- )
193+ # f2py_thirdorder_target = custom_target('thirdorder-f2py-wrapper',
194+ # input: fortran_sources_thirdorder,
195+ # output: ['thirdordermodule.c','thirdorder-f2pywrappers2.f90'],
196+ ## command: [py.full_path(), '-m', 'numpy.f2py', '--backend', 'meson',
197+ ## '--dep', 'mpi', '--quiet', '-c', '@INPUT0@', '-m', 'thirdorder'],
198+ # command : [py, '-m', 'numpy.f2py', '@INPUT@', '-m', 'thirdorder', '--lower'],
199+ # install: false
200+ # )
201201py.extension_module(' thirdorder' ,
202- [
202+ # [
203203 fortran_sources_thirdorder,
204- f2py_thirdorder_target],
204+ # f2py_thirdorder_target],
205205 include_directories : inc_np,
206206 dependencies : list_dep,
207207 install : true
@@ -216,18 +216,18 @@ fortran_sources_thermal_conductivity = [
216216' FModules/get_lf.f90'
217217]
218218## Generate the C wrapper with f2py using a custom target
219- f2py_thermal_conductivity_target = custom_target (' thermal_conductivity-f2py-wrapper' ,
220- input : fortran_sources_thermal_conductivity,
221- output : [' thermal_conductivitymodule.c' ,' thermal_conductivity-f2pywrappers2.f90' ],
222- # command: [py.full_path(), '-m', 'numpy.f2py', '--backend', 'meson',
223- # '--dep', 'mpi', '--quiet', '-c', '@INPUT0@', '-m', 'thermal_conductivity'],
224- command : [py, ' -m' , ' numpy.f2py' , ' @INPUT@' , ' -m' , ' thermal_conductivity' , ' --lower' ],
225- install : false
226- )
219+ # f2py_thermal_conductivity_target = custom_target('thermal_conductivity-f2py-wrapper',
220+ # input: fortran_sources_thermal_conductivity,
221+ # output: ['thermal_conductivitymodule.c','thermal_conductivity-f2pywrappers2.f90'],
222+ ## command: [py.full_path(), '-m', 'numpy.f2py', '--backend', 'meson',
223+ ## '--dep', 'mpi', '--quiet', '-c', '@INPUT0@', '-m', 'thermal_conductivity'],
224+ # command : [py, '-m', 'numpy.f2py', '@INPUT@', '-m', 'thermal_conductivity', '--lower'],
225+ # install: false
226+ # )
227227py.extension_module(' thermal_conductivity' ,
228- [
228+ # [
229229 fortran_sources_thermal_conductivity,
230- f2py_thermal_conductivity_target],
230+ # f2py_thermal_conductivity_target],
231231 include_directories : inc_np,
232232 dependencies : list_dep,
233233 install : true
0 commit comments