MAINT: Cleanup undefined symbols

This commit is contained in:
Rohit Goswami 2024-04-08 03:02:17 +00:00 committed by Mateusz Sokół
parent 33e66c5400
commit ec9f6504d6
3 changed files with 9 additions and 12 deletions

View File

@ -91,12 +91,6 @@ _static_libs += static_library(
'-DBUILD_DOUBLE=1',
'-DBUILD_COMPLEX=1',
'-DBUILD_COMPLEX16=1',
'-UASMNAME',
'-UASMFNAME',
'-UNAME',
'-UCNAME',
'-UCHAR_NAME',
'-UCHAR_CNAME',
'-DASMNAME=cblas_drot',
'-DASMFNAME=cblas_drot_',
'-DNAME=cblas_drot_',

View File

@ -794,12 +794,6 @@ _configs = [
'-DBUILD_DOUBLE=1',
'-DBUILD_COMPLEX=1',
'-DBUILD_COMPLEX16=1',
'-UASMNAME',
'-UASMFNAME',
'-UNAME',
'-UCNAME',
'-UCHAR_NAME',
'-UCHAR_CNAME',
'-DASMNAME=drot_k',
'-DASMFNAME=drot_k_',
'-DNAME=drot_k_',

View File

@ -197,6 +197,15 @@ bldroot = meson.build_root()
_cargs += ['-include', f'@bldroot@/simd_conf.h']
add_project_arguments(simd_cargs, language: 'c')
# Common symbol related options
symnames = ['ASMNAME', 'ASMFNAME', 'NAME', 'CNAME', 'CHAR_NAME', 'CHAR_CNAME']
# Other common options, move later
foreach symb : symnames
_cargs += f'-U@symb@'
endforeach
# Ignoring other hostarch checks and conflicts for arch in BSD for now
_inc = include_directories('.')
# subdir('lapack-netlib')