diff options
| author | y-jan137 <yousefjan24000@gmail.com> | 2026-03-16 11:52:36 +0300 |
|---|---|---|
| committer | y-jan137 <yousefjan24000@gmail.com> | 2026-03-16 11:52:36 +0300 |
| commit | b27583941c200f98ab328901e81c9188945bf708 (patch) | |
| tree | c9b0c2bddb8d89e4398e6dbf2d787bea10cffaac /CMakeLists.txt | |
| parent | 606ad99e8363bd520506ea2e88b831911fe03c18 (diff) | |
Cleanup
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 22 |
1 files changed, 21 insertions, 1 deletions
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) |