Skip to content

Commit 3c92c36

Browse files
committed
Make: Drop OpenBLAS
1 parent 152e29b commit 3c92c36

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

CMakeLists.txt

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -80,21 +80,6 @@ endif()
8080
set(FETCHCONTENT_QUIET OFF)
8181
include(FetchContent)
8282

83-
# Fetch and build OpenBLAS
84-
FetchContent_Declare(
85-
OpenBLAS
86-
GIT_REPOSITORY https://github.com/xianyi/OpenBLAS.git
87-
GIT_TAG v0.3.29
88-
)
89-
90-
# Set OpenBLAS build options
91-
set(NOFORTRAN ON CACHE BOOL "Disable Fortran" FORCE)
92-
set(BUILD_WITHOUT_LAPACK OFF CACHE BOOL "Build without LAPACK" FORCE)
93-
set(USE_THREAD ON CACHE BOOL "Use threading" FORCE)
94-
95-
# Make OpenBLAS available
96-
FetchContent_MakeAvailable(OpenBLAS)
97-
9883
# GTest (required by Google Benchmark)
9984
FetchContent_Declare(
10085
GoogleTest
@@ -335,14 +320,6 @@ endif()
335320
# ------------------------------------------------------------------------------
336321
# Link Libraries
337322
# ------------------------------------------------------------------------------
338-
# Add OpenBLAS include directory manually
339-
if(openblas_POPULATED)
340-
target_include_directories(less_slow PRIVATE ${openblas_SOURCE_DIR})
341-
342-
# For config.h
343-
target_include_directories(less_slow PRIVATE ${openblas_BINARY_DIR})
344-
endif()
345-
346323
target_link_libraries(less_slow
347324
PRIVATE
348325
Threads::Threads

0 commit comments

Comments
 (0)