Skip to content

Commit

Permalink
Fix typo, enable debugging on lapack name mangling check
Browse files Browse the repository at this point in the history
  • Loading branch information
tskisner committed Oct 17, 2024
1 parent d8f68fb commit 925abfb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ jobs:
TOAST_BUILD_CMAKE_VERBOSE_MAKEFILE=ON
TOAST_BUILD_DISABLE_OPENMP=1
TOAST_BUILD_BLAS_LIBRARIES='/usr/local/lib/libscipy_openblas.dylib'
TOAST_BUILD_BLA_PREFER_PKGCONFIG=1
TOAST_BUILD_BLA_PKGCONFIG_BLAS=scipy-openblas
TOAST_BUILD_BLAS_NO_UNDERSCORE=1
TOAST_BUILD_LAPACK_LIBRARIES='/usr/local/lib/libscipy_openblas.dylib'
TOAST_BUILD_FFTW_ROOT=/usr/local
TOAST_BUILD_AATM_ROOT=/usr/local
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ jobs:
TOAST_BUILD_CMAKE_VERBOSE_MAKEFILE=ON
TOAST_BUILD_DISABLE_OPENMP=1
TOAST_BUILD_BLAS_LIBRARIES='/usr/local/lib/libscipy_openblas.dylib'
TOAST_BUILD_BLA_PREFER_PKGCONFIG=1
TOAST_BUILD_BLA_PKGCONFIG_BLAS=scipy-openblas
TOAST_BUILD_BLAS_NO_UNDERSCORE=1
TOAST_BUILD_LAPACK_LIBRARIES='/usr/local/lib/libscipy_openblas.dylib'
TOAST_BUILD_FFTW_ROOT=/usr/local
TOAST_BUILD_AATM_ROOT=/usr/local
Expand Down
4 changes: 2 additions & 2 deletions cmake/FindLAPACKnames.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ foreach(MANGLING IN LISTS MANGLING_OPTIONS)
COMPILE_DEFINITIONS "-DLAPACK_${MANGLING}"
LINK_LIBRARIES "${LAPACK_LIBRARIES}" "${BLAS_LIBRARIES}" "${OMP_BLAS}"
OUTPUT_VARIABLE OUTPUT_MANGLING)
# message("Test output for LAPACK_${MANGLING}:")
# message(${OUTPUT_MANGLING})
message("Test output for LAPACK_${MANGLING}:")
message(${OUTPUT_MANGLING})
if(TRY_MANGLING)
set(LAPACK_NAMES "${MANGLING}")
break()
Expand Down
2 changes: 1 addition & 1 deletion packaging/wheels/install_deps_osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export CLEANUP=yes

export BLAS_LIBRARIES="/usr/local/lib/libscipy_openblas.dylib"
export LAPACK_LIBRARIES="/usr/local/lib/libscipy_openblas.dylib"
export BLA_OPTIONS="-DBLA_PREFER_PKGCONFIG=1 -DBLA_PKGCONFIG_BLAS=scipy-openblas -DBLAS_NO_UNDERSCORE"
export BLA_OPTIONS="-DBLA_PREFER_PKGCONFIG=1 -DBLA_PKGCONFIG_BLAS=scipy-openblas -DBLAS_NO_UNDERSCORE=1"

for pkg in fftw libflac suitesparse libaatm; do
source "${depsdir}/${pkg}.sh"
Expand Down

0 comments on commit 925abfb

Please sign in to comment.