@@ -27,9 +27,8 @@ if sleef_dep.found() and sleef_dep.type_name() != 'internal' and sleef_dep.versi
2727 # SLEEF found system-wide - verify quad-precision support
2828 cpp = meson .get_compiler(' cpp' )
2929 sleefquad_lib = cpp.find_library (' sleefquad' , required : false )
30- tlfloat_lib = cpp.find_library (' tlfloat' , required : false )
3130
32- if sleefquad_lib.found() and tlfloat_lib.found()
31+ if sleefquad_lib.found()
3332 sleefquad_test_code = '''
3433 #include <sleefquad.h>
3534
@@ -43,29 +42,20 @@ if sleef_dep.found() and sleef_dep.type_name() != 'internal' and sleef_dep.versi
4342 # this should compile and link
4443 quad_works = cpp.links(
4544 sleefquad_test_code,
46- dependencies : [sleef_dep, sleefquad_lib, tlfloat_lib ],
45+ dependencies : [sleef_dep, sleefquad_lib],
4746 name : ' SLEEF quad-precision support'
4847 )
4948
5049 if quad_works
5150 sleefquad_dep = declare_dependency (
5251 dependencies : [sleef_dep, sleefquad_lib]
5352 )
54- tlfloat_dep = declare_dependency (
55- dependencies : [tlfloat_lib]
56- )
5753 use_system_sleef = true
5854 else
5955 fallback_reason = ' System-wide SLEEF installation found but a test for quad precision support failed.'
6056 endif
6157 else
62- if not sleefquad_lib.found() and not tlfloat_lib.found()
63- fallback_reason = ' System-wide SLEEF installation does not have sleefquad and tlfloat libraries.'
64- elif not sleefquad_lib.found()
65- fallback_reason = ' System-wide SLEEF installation does not have the sleefquad library.'
66- else
67- fallback_reason = ' System-wide SLEEF installation does not have the tlfloat library.'
68- endif
58+ fallback_reason = ' System-wide SLEEF installation does not have the sleefquad library.'
6959 endif
7060else
7161 if sleef_dep.found() and sleef_dep.type_name() != ' internal'
8171 sleef_subproj = subproject (' sleef' )
8272 sleef_dep = sleef_subproj.get_variable (' sleef_dep' )
8373 sleefquad_dep = sleef_subproj.get_variable (' sleefquad_dep' )
84- tlfloat_dep = sleef_subproj.get_variable (' tlfloat_dep' )
8574 warning (fallback_reason)
8675 message (' Proceeding with vendored SLEEF subproject instead' )
8776endif
@@ -105,7 +94,7 @@ message('Using NumPy version: @0@'.format(numpy_version))
10594npymath_path = incdir_numpy / ' ..' / ' lib'
10695npymath_lib = c.find_library (' npymath' , dirs : npymath_path)
10796
108- dependencies = [py_dep, qblas_dep, sleef_dep, sleefquad_dep, tlfloat_dep, npymath_lib]
97+ dependencies = [py_dep, qblas_dep, sleef_dep, sleefquad_dep, npymath_lib]
10998
11099# Add OpenMP dependency (optional, for threading)
111100openmp_dep = dependency (' openmp' , required : false , static : false )
0 commit comments