Skip to content

Commit

Permalink
working on enhancing installability with cibuildwheel
Browse files Browse the repository at this point in the history
  • Loading branch information
peekxc committed Oct 9, 2023
1 parent 30f8423 commit 662f4e5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions include/_lapack/lapack_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,10 @@ extern "C" {
int* iwork, int* info) noexcept;
}

// lapack xstev (float overload)
template <typename DataType>
void lapack_xstev(char* jobz, int* n, DataType* d, DataType* e, DataType* z,
int* ldz, DataType* work, int* info);

// lapack xbdsdc (float overload)
template <typename DataType>
void lapack_xbdsdc(char* uplo, char* compq, int* n, DataType* d, DataType *e,
DataType* u, int* ldu, DataType* vt, int* ldvt, DataType* q,
Expand Down
7 changes: 3 additions & 4 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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
)


Expand Down

0 comments on commit 662f4e5

Please sign in to comment.