From b27583941c200f98ab328901e81c9188945bf708 Mon Sep 17 00:00:00 2001 From: y-jan137 Date: Mon, 16 Mar 2026 11:52:36 +0300 Subject: Cleanup --- CMakeLists.txt | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 1f40b0c..e345571 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,7 +64,27 @@ if(LINEAR_ALGEBRA_BUILD_EXPERIMENTS) add_executable(matmul experiments/matmul.cpp) target_link_libraries(matmul PRIVATE linear_algebra::core) -endif() + +# find_package(BLAS) +# find_package(LAPACK) +# if(BLAS_FOUND AND LAPACK_FOUND) +# add_executable(blas_comparison experiments/blas_comparison.cpp) +# target_link_libraries(blas_comparison PRIVATE +# linear_algebra::core +# ${BLAS_LIBRARIES} +# ${LAPACK_LIBRARIES} +# ) +# if(DEFINED BLAS_INCLUDE_DIRS) +# target_include_directories(blas_comparison PRIVATE ${BLAS_INCLUDE_DIRS}) +# endif() +# if(APPLE) +# # Suppress deprecation warnings from Accelerate headers on recent macOS. +# target_compile_options(blas_comparison PRIVATE -Wno-deprecated-declarations) +# endif() +# else() +# message(STATUS "BLAS/LAPACK not found — skipping blas_comparison experiment") +# endif() +# endif() if(LINEAR_ALGEBRA_BUILD_TESTS) include(FetchContent) -- cgit v1.2.3