diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2024-02-13 08:42:46 -0800 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2024-02-13 08:44:14 -0800 |
commit | 76a4e01da264edf2db9c075afe874f9a6997df1c (patch) | |
tree | cdb2d76cc571bba6bc8b5a5d1411e6e99bf71e57 /misc/py-pytorch/files | |
parent | science/rdkit: update 2023_09_3 → 2023_09_5 (diff) |
misc/py-pytorch: update 2.1.2 → 2.2.0
Diffstat (limited to 'misc/py-pytorch/files')
-rw-r--r-- | misc/py-pytorch/files/patch-CMakeLists.txt | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/misc/py-pytorch/files/patch-CMakeLists.txt b/misc/py-pytorch/files/patch-CMakeLists.txt index 8968f96b81dd..1dce2402724a 100644 --- a/misc/py-pytorch/files/patch-CMakeLists.txt +++ b/misc/py-pytorch/files/patch-CMakeLists.txt @@ -1,6 +1,6 @@ ---- CMakeLists.txt.orig 2023-12-15 02:03:27 UTC +--- CMakeLists.txt.orig 2024-01-31 00:58:01 UTC +++ CMakeLists.txt -@@ -139,7 +139,7 @@ set(CPU_INTEL OFF) +@@ -145,7 +145,7 @@ set(CPU_INTEL OFF) set(CPU_AARCH64 OFF) set(CPU_INTEL OFF) @@ -9,7 +9,7 @@ set(CPU_INTEL ON) elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64|arm64)") set(CPU_AARCH64 ON) -@@ -164,7 +164,7 @@ option(BUILD_DOCS "Build Caffe2 documentation" OFF) +@@ -170,7 +170,7 @@ option(BUILD_DOCS "Build Caffe2 documentation" OFF) option(ATEN_NO_TEST "Do not build ATen test binaries" OFF) option(BUILD_BINARY "Build C++ binaries" OFF) option(BUILD_DOCS "Build Caffe2 documentation" OFF) @@ -27,7 +27,7 @@ option(USE_LMDB "Use LMDB" OFF) option(USE_MAGMA "Use MAGMA" ON) option(USE_METAL "Use Metal for Caffe2 iOS build" ON) -@@ -408,15 +408,15 @@ option(USE_SYSTEM_CPUINFO "Use system-provided cpuinfo +@@ -405,15 +405,15 @@ option(USE_SYSTEM_CPUINFO "Use system-provided cpuinfo # USE_SYSTEM_LIBS being "OFF". option(USE_SYSTEM_LIBS "Use all available system-provided libraries." OFF) option(USE_SYSTEM_CPUINFO "Use system-provided cpuinfo." OFF) @@ -46,12 +46,3 @@ option(USE_SYSTEM_XNNPACK "Use system-provided xnnpack." OFF) option(USE_SYSTEM_ZSTD "Use system-provided zstd." OFF) option(USE_GOLD_LINKER "Use ld.gold to link" OFF) -@@ -918,7 +918,7 @@ if(NOT MSVC) - append_cxx_flag_if_supported("-fno-math-errno" CMAKE_CXX_FLAGS) - append_cxx_flag_if_supported("-fno-trapping-math" CMAKE_CXX_FLAGS) - append_cxx_flag_if_supported("-Werror=format" CMAKE_CXX_FLAGS) -- append_cxx_flag_if_supported("-Werror=cast-function-type" CMAKE_CXX_FLAGS) -+ #append_cxx_flag_if_supported("-Werror=cast-function-type" CMAKE_CXX_FLAGS) # workaround for https://github.com/pytorch/pytorch/issues/116416 - else() - # skip unwanted includes from windows.h - add_compile_definitions(WIN32_LEAN_AND_MEAN) |