mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
[cmake] Always demand rocblas to be there when activating rocsparse
This was somehow only done for hip version >=5.3, but Debian bookworm is missing rocblas and using hipcc 2.3.0 and therefore compilation failed there.
This commit is contained in:
parent
9dac9de6a1
commit
5a2a97d21c
@ -292,12 +292,11 @@ macro (files_hook)
|
||||
unset(ROCALUTION_FOUND)
|
||||
unset(HAVE_ROCALUTION)
|
||||
endif()
|
||||
endif()
|
||||
if(rocsparse_FOUND AND rocblas_FOUND)
|
||||
set(HAVE_ROCSPARSE 1)
|
||||
else()
|
||||
if(rocsparse_FOUND AND rocblas_FOUND)
|
||||
set(HAVE_ROCSPARSE 1)
|
||||
else()
|
||||
unset(HAVE_ROCSPARSE)
|
||||
endif()
|
||||
unset(HAVE_ROCSPARSE)
|
||||
endif()
|
||||
if(ROCALUTION_FOUND)
|
||||
set(HAVE_ROCALUTION 1)
|
||||
|
Loading…
Reference in New Issue
Block a user