Skip to content
Snippets Groups Projects
Commit 4e7e6ae4 authored by Martin Beseda's avatar Martin Beseda
Browse files

FIX: Trying to fix CI...

parent 4e222cba
No related branches found
No related tags found
No related merge requests found
...@@ -149,7 +149,7 @@ find_package(LAPACK) ...@@ -149,7 +149,7 @@ find_package(LAPACK)
find_package(BLAS) find_package(BLAS)
if(NOT LAPACK_FOUND AND NOT BLAS_FOUND AND ALLOW_DEPENDENCIES_DOWNLOAD) if(NOT LAPACK_FOUND AND NOT BLAS_FOUND AND ALLOW_DEPENDENCIES_DOWNLOAD)
# Download and build OpenBLAS locally # Download and build OpenBLAS locally
message("LAPACK nor BLAS were found - OpenBLAS will be downloaded and built.") message("LAPACK nor BLAS were found - OpenBLAS will be downloaded and built.")
include(DownloadOpenBLAS) include(DownloadOpenBLAS)
endif() endif()
......
...@@ -22,7 +22,7 @@ FetchContent_Populate(OpenBLAS) ...@@ -22,7 +22,7 @@ FetchContent_Populate(OpenBLAS)
# Build OpenBLAS # # Build OpenBLAS #
################## ##################
execute_process( execute_process(
COMMAND cmake . COMMAND cmake -j ${N_CORES} .
WORKING_DIRECTORY ${OPENBLAS_LOCAL_PATH} WORKING_DIRECTORY ${OPENBLAS_LOCAL_PATH}
RESULT_VARIABLE rv RESULT_VARIABLE rv
) )
...@@ -31,7 +31,7 @@ if(NOT rv STREQUAL "0") ...@@ -31,7 +31,7 @@ if(NOT rv STREQUAL "0")
endif() endif()
execute_process( execute_process(
COMMAND cmake --build . COMMAND cmake -j ${N_CORES} --build .
WORKING_DIRECTORY ${OPENBLAS_LOCAL_PATH} WORKING_DIRECTORY ${OPENBLAS_LOCAL_PATH}
RESULT_VARIABLE rv RESULT_VARIABLE rv
) )
...@@ -39,7 +39,9 @@ if(NOT rv STREQUAL "0") ...@@ -39,7 +39,9 @@ if(NOT rv STREQUAL "0")
message("OpenBLAS build: cmake --build: ${rv}") message("OpenBLAS build: cmake --build: ${rv}")
endif() endif()
find_package(BLAS) find_package(BLAS
HINT
external_dependencies/OpenBLAS)
if(NOT BLAS_FOUND) if(NOT BLAS_FOUND)
message(FATAL_ERROR "OpenBLAS was not downloaded successfully!") message(FATAL_ERROR "OpenBLAS was not downloaded successfully!")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment