Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add preprocessor definitions also with user-supplied BLAS_LIBRARIES #671

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions SuiteSparse_config/cmake_modules/SuiteSparseBLAS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ if ( DEFINED BLAS_LIBRARIES OR DEFINED BLAS_INCLUDE_DIRS )
# User supplied variables for libraries and/or include directories.
# Use them as-is.
if ( SUITESPARSE_USE_64BIT_BLAS )
set ( SuiteSparse_BLAS_integer "int64_t" )
include ( SuiteSparseBLAS64 )
else ( )
set ( SuiteSparse_BLAS_integer "int32_t" )
include ( SuiteSparseBLAS32 )
endif ( )
return ( )
endif ( )
Expand Down
2 changes: 1 addition & 1 deletion SuiteSparse_config/cmake_modules/SuiteSparseBLAS64.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ set ( SuiteSparse_BLAS_integer "int64_t" )
# https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/suite-sparse/package.py

if ( DEFINED BLAS64_SUFFIX )
# append BLAS64_SUFFIX to each BLAS and LAPACK name
# append BLAS64_SUFFIX to each BLAS and LAPACK function name
string ( FIND ${BLAS64_SUFFIX} "_" HAS_UNDERSCORE )
message ( STATUS "BLAS64_suffix: ${BLAS64_SUFFIX}" )
if ( HAS_UNDERSCORE EQUAL -1 )
Expand Down
Loading