From 662f4e5f9da205e87138c869a685150b61cb54ee Mon Sep 17 00:00:00 2001 From: peekxc Date: Sun, 8 Oct 2023 23:25:32 -0400 Subject: [PATCH] working on enhancing installability with cibuildwheel --- README.md | 5 +++++ include/_lapack/lapack_api.h | 2 -- meson.build | 7 +++---- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index cc5dce9..07de4f9 100644 --- a/README.md +++ b/README.md @@ -25,3 +25,8 @@ Much of `primate`'s computational code was directly ported from the (excellent) +## Compilation & Development + +`primate` relies on BLAS libraries + +> pipx run cibuildwheel --platform linux \ No newline at end of file diff --git a/include/_lapack/lapack_api.h b/include/_lapack/lapack_api.h index b0fcc76..e8d92bd 100644 --- a/include/_lapack/lapack_api.h +++ b/include/_lapack/lapack_api.h @@ -26,12 +26,10 @@ extern "C" { int* iwork, int* info) noexcept; } -// lapack xstev (float overload) template void lapack_xstev(char* jobz, int* n, DataType* d, DataType* e, DataType* z, int* ldz, DataType* work, int* info); -// lapack xbdsdc (float overload) template void lapack_xbdsdc(char* uplo, char* compq, int* n, DataType* d, DataType *e, DataType* u, int* ldu, DataType* vt, int* ldvt, DataType* q, diff --git a/meson.build b/meson.build index 0959a4c..55eeacf 100644 --- a/meson.build +++ b/meson.build @@ -35,10 +35,9 @@ _cpp_args = compiler.get_supported_arguments( '-std=c++20', '-fPIC', '-fvisibility=hidden', - # '-flto=thin' # LTO optimization only for release builds - # '-flto' # monolithic LTO - '-Wno-deprecated-anon-enum-enum-conversion', # to silence Eigen 3.4 warnings - '-fopenmp' # will need openmp + # '-flto=thin' # release only: thin LTO + # '-flto' # release only: monolithic LTO + '-Wno-deprecated-anon-enum-enum-conversion' # to silence Eigen 3.4 warnings )