Skip to content

Commit

Permalink
SuiteSparseBLAS.cmake: Unset cache variable BLA_VENDOR.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmuetzel committed May 15, 2024
1 parent ba53a73 commit 5d88909
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SuiteSparse_config/cmake_modules/SuiteSparseBLAS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ endif ( )
#
# The default for SUITESPARSE_USE_64BIT_BLAS is OFF.

if ( NOT (BLA_VENDOR STREQUAL "ANY" ) )
if ( NOT ( BLA_VENDOR STREQUAL "ANY" ) )
# only look for the BLAS from a single vendor
if ( ( BLA_VENDOR MATCHES "64ilp" ) OR
( BLA_VENDOR MATCHES "ilp64" ) )
Expand Down Expand Up @@ -153,7 +153,7 @@ if ( SUITESPARSE_USE_64BIT_BLAS )
endif ( )

# Look for any 64-bit BLAS
unset ( BLA_VENDOR )
unset ( BLA_VENDOR CACHE )
message ( STATUS "Looking for any 64-bit BLAS" )
set ( BLA_SIZEOF_INTEGER 8 )
find_package ( BLAS )
Expand Down Expand Up @@ -238,7 +238,7 @@ endif ( )
#-------------------------------------------------------------------------------

# Look for any 32-bit BLAS (this is required)
unset ( BLA_VENDOR )
unset ( BLA_VENDOR CACHE )
message ( STATUS "Looking for any 32-bit BLAS" )
set ( BLA_SIZEOF_INTEGER 4 )
find_package ( BLAS REQUIRED )
Expand Down

0 comments on commit 5d88909

Please sign in to comment.