Skip to content

Commit ea86281

Browse files
committed
Meson: minor revision
1 parent 1b3f398 commit ea86281

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ build-install
309309
build/cp*
310310

311311
# Meson temporary files
312+
subprojects/wrapdb.json
312313
src/sage/interfaces/__init__.py
313314
src/sage/crypto/block_cipher/__init__.py
314315
src/sage/crypto/public_key/__init__.py

meson.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ endif
3535

3636
# Workaround for missing init files (Cython doesn't handle namespace packages well)
3737
create_files_command = [
38-
'python3',
38+
py,
3939
'-c',
4040
'''
4141
import os

src/meson.build

-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ blas_order += ['cblas', 'openblas', 'OpenBLAS', 'flexiblas', 'blis', 'blas']
8080
blas = dependency(blas_order)
8181
gsl = dependency(
8282
'gsl',
83-
fallback: ['gsl', 'gsl_dep'],
8483
version: '>=2.5',
8584
required: true,
8685
)

src/sage/meson.build

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ conf_data = configuration_data()
66
conf_data.set('PACKAGE_VERSION', '1.2.3')
77
conf_data.set('SAGE_ROOT', meson.current_source_dir() / '..' / '..')
88
# We use Python's prefix here to make it work with conda
9-
prefix = py.get_variable('prefix', '')
9+
prefix = fs.as_posix(py.get_variable('prefix', ''))
1010
conf_data.set('prefix', prefix)
1111
datadir = fs.expanduser(get_option('datadir'))
1212
if not fs.is_absolute(datadir)
@@ -56,7 +56,7 @@ ecm_bin = find_program(['ecm', 'gmp-ecm'], required: true)
5656
conf_data.set('SAGE_ECMBIN', ecm_bin.full_path())
5757

5858
config_file = configure_file(
59-
input: '../../pkgs/sage-conf_conda/_sage_conf/_conf.py.in',
59+
input: '../../pkgs/sage-conf/_sage_conf/_conf.py.in',
6060
output: 'config.py',
6161
install_dir: py.get_install_dir() / 'sage',
6262
install: true,

0 commit comments

Comments
 (0)