Revert setup.py to standard blas names and increment version.

Former-commit-id: e98c7ba026caefd85fd42288fb7e1987c96e5ad1
This commit is contained in:
Marek Nečada 2019-03-13 16:23:23 +02:00
parent 3f32b21730
commit a6dcd35b8d
1 changed files with 2 additions and 5 deletions

View File

@ -31,21 +31,18 @@ qpms_c = Extension('qpms_c',
'qpms/error.c'], 'qpms/error.c'],
extra_compile_args=['-std=c99','-ggdb', '-O0', extra_compile_args=['-std=c99','-ggdb', '-O0',
'-DQPMS_COMPILE_PYTHON_EXTENSIONS', # this is required '-DQPMS_COMPILE_PYTHON_EXTENSIONS', # this is required
#'-DAN2',
#'-DBN2',
#'-DQPMS_USE_OMP', #'-DQPMS_USE_OMP',
'-DDISABLE_NDEBUG', # uncomment to enable assertions in the modules '-DDISABLE_NDEBUG', # uncomment to enable assertions in the modules
#'-fopenmp', #'-fopenmp',
], ],
libraries=['gsl', 'lapacke', 'cblas_LINUX', 'blas_LINUX', libraries=['gsl', 'lapacke', 'blas', 'gslcblas', #'omp'
'gslcblas', #'omp'
# TODO resolve the problem with openblas (missing gotoblas symbol) and preferable use other blas library # TODO resolve the problem with openblas (missing gotoblas symbol) and preferable use other blas library
], ],
runtime_library_dirs=os.environ['LD_LIBRARY_PATH'].split(':') if 'LD_LIBRARY_PATH' in os.environ else [] runtime_library_dirs=os.environ['LD_LIBRARY_PATH'].split(':') if 'LD_LIBRARY_PATH' in os.environ else []
) )
setup(name='qpms', setup(name='qpms',
version = "0.2.994", version = "0.2.995",
packages=['qpms'], packages=['qpms'],
setup_requires=['cython>=0.28',], setup_requires=['cython>=0.28',],
install_requires=['cython>=0.28','quaternion','spherical_functions','scipy>=0.18.0', 'sympy>=1.2'], install_requires=['cython>=0.28','quaternion','spherical_functions','scipy>=0.18.0', 'sympy>=1.2'],