Merge remote-tracking branch 'origin/oaisim-compilation-ubuntu-17-10_2018-w07' into develop_integration_2018_w07
This commit is contained in:
@@ -1880,6 +1880,16 @@ if(EXISTS "/usr/include/atlas/cblas.h" OR EXISTS "/usr/include/cblas.h")
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
list(APPEND ATLAS_LIBRARIES lapack)
|
list(APPEND ATLAS_LIBRARIES lapack)
|
||||||
|
|
||||||
|
# for ubuntu 17.10, directories are different
|
||||||
|
elseif(EXISTS "/usr/include/x86_64-linux-gnu/cblas.h")
|
||||||
|
|
||||||
|
include_directories("/usr/include/x86_64-linux-gnu")
|
||||||
|
LINK_DIRECTORIES("/usr/lib/x86_64-linux-gnu")
|
||||||
|
list(APPEND ATLAS_LIBRARIES cblas)
|
||||||
|
list(APPEND ATLAS_LIBRARIES atlas)
|
||||||
|
list(APPEND ATLAS_LIBRARIES lapack)
|
||||||
|
|
||||||
else()
|
else()
|
||||||
message("No Blas/Atlas libs found, some targets will fail")
|
message("No Blas/Atlas libs found, some targets will fail")
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user