Skip to content

Commit

Permalink
Use meson as backend for numpy.f2py
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdiez committed Nov 17, 2024
1 parent 39ebbe4 commit 6b28203
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/sage/misc/inline_fortran.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,7 @@ def eval(self, x, globals=None, locals=None):

# What follows are the arguments to f2py itself (appended later
# just for logical separation)
cmd += ['-c', '-m', name, fortran_file, '--quiet',
'--f77exec=sage-inline-fortran',
'--f90exec=sage-inline-fortran'] + s_lib_path + s_lib
cmd += ['-c', '-m', name, fortran_file, '--quiet', '--backend', 'meson'] + s_lib_path + s_lib

try:
out = subprocess.check_output(cmd, stderr=subprocess.STDOUT)
Expand Down

0 comments on commit 6b28203

Please sign in to comment.