ports/misc/py-pytorch/files/patch-cmake_Modules_FindBLAS.cmake
Yuri Victorovich 69026a954a misc/py-pytorch: Build with LAPACK
Some operations require LAPACK when no GPU is present.
2024-06-20 03:24:27 -07:00

13 lines
460 B
CMake

- otherwise USE_LAPACK=1 fails to find lapack
--- cmake/Modules/FindBLAS.cmake.orig 2024-06-20 08:11:50 UTC
+++ cmake/Modules/FindBLAS.cmake
@@ -20,7 +20,7 @@ SET(BLAS_F2C)
SET(BLAS_INFO)
SET(BLAS_F2C)
-SET(WITH_BLAS "" CACHE STRING "Blas type [accelerate/acml/atlas/blis/generic/goto/mkl/open/veclib]")
+SET(WITH_BLAS "open" CACHE STRING "Blas type [accelerate/acml/atlas/blis/generic/goto/mkl/open/veclib]")
# Old FindBlas
INCLUDE(CheckCSourceRuns)