mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-13 19:50:34 +00:00
Make BLAS and LAPACK not mandatory on ARM devices
This commit is contained in:
parent
70e75a61d7
commit
54bb964a89
@ -701,7 +701,12 @@ if(OS_IS_LINUX)
|
||||
else(${LINUX_DISTRIBUTION} MATCHES "Fedora" OR ${LINUX_DISTRIBUTION} MATCHES "Red Hat")
|
||||
message(" sudo apt-get install liblapack-dev")
|
||||
endif(${LINUX_DISTRIBUTION} MATCHES "Fedora" OR ${LINUX_DISTRIBUTION} MATCHES "Red Hat")
|
||||
if(IS_ARM)
|
||||
message(WARNING "LAPACK is recommended to build gnss-sdr")
|
||||
set(LAPACK "")
|
||||
else(IS_ARM)
|
||||
message(FATAL_ERROR "LAPACK is required to build gnss-sdr")
|
||||
endif(IS_ARM)
|
||||
endif(NOT LAPACK)
|
||||
#############################################################################
|
||||
# Check that BLAS is found in the system
|
||||
@ -717,7 +722,12 @@ if(OS_IS_LINUX)
|
||||
else(${LINUX_DISTRIBUTION} MATCHES "Fedora" OR ${LINUX_DISTRIBUTION} MATCHES "Red Hat")
|
||||
message(" sudo apt-get install libopenblas-dev")
|
||||
endif(${LINUX_DISTRIBUTION} MATCHES "Fedora" OR ${LINUX_DISTRIBUTION} MATCHES "Red Hat")
|
||||
if(IS_ARM)
|
||||
message(WARNING "BLAS is recommended to build gnss-sdr")
|
||||
set(BLAS "")
|
||||
else(IS_ARM)
|
||||
message(FATAL_ERROR "BLAS is required to build gnss-sdr")
|
||||
endif(IS_ARM)
|
||||
endif(NOT BLAS)
|
||||
#############################################
|
||||
# Check if GFORTRAN is found in the system
|
||||
|
Loading…
Reference in New Issue
Block a user