Skip to content

Commit 5a41cef

Browse files
committed
make sleef as runtime dep
1 parent 328165d commit 5a41cef

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

quaddtype/meson.build

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ endif
1515

1616
qblas_dep = dependency('qblas', fallback: ['qblas', 'qblas_dep'])
1717

18-
sleef_subproj = subproject('sleef', required: true)
19-
sleef_dep = sleef_subproj.get_variable('sleef_dep')
20-
sleefquad_dep = sleef_subproj.get_variable('sleefquad_dep')
18+
# Try to find SLEEF system-wide first, fall back to subproject if not found
19+
sleef_dep = dependency('sleef', fallback: ['sleef', 'sleef_dep'])
20+
sleefquad_dep = dependency('sleefquad', fallback: ['sleef', 'sleefquad_dep'])
2121

2222
incdir_numpy = run_command(py,
2323
['-c', 'import numpy; print(numpy.get_include())'],

quaddtype/reinstall.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ fi
1111
export CFLAGS="-g -O0"
1212
export CXXFLAGS="-g -O0"
1313
python -m pip uninstall -y numpy_quaddtype
14-
python -m pip install . -v
14+
python -m pip install . -vv --no-build-isolation 2>&1 | tee build_log.txt

0 commit comments

Comments
 (0)