diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2024-06-20 03:13:06 -0700 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2024-06-20 03:24:27 -0700 |
commit | 69026a954ab5d65d19a416e6f30423c900b3190f (patch) | |
tree | 45a4b3694b4774e581f2a95999fd7e05b7023b0d /misc/py-pytorch/files | |
parent | misc/quary: update 0.2.0 → 0.3.0 (diff) |
misc/py-pytorch: Build with LAPACK
Some operations require LAPACK when no GPU is present.
Diffstat (limited to 'misc/py-pytorch/files')
-rw-r--r-- | misc/py-pytorch/files/patch-cmake_Modules_FindBLAS.cmake | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/py-pytorch/files/patch-cmake_Modules_FindBLAS.cmake b/misc/py-pytorch/files/patch-cmake_Modules_FindBLAS.cmake new file mode 100644 index 000000000000..8a4568a38522 --- /dev/null +++ b/misc/py-pytorch/files/patch-cmake_Modules_FindBLAS.cmake @@ -0,0 +1,13 @@ +- 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) |