ports/misc/pytorch/files/patch-caffe2_CMakeLists.txt
Po-Chuan Hsieh 96da84adbf
misc/pytorch: Update to 2.1.0
- Add LICENSE_FILE
- Remove PYTHON_EXECUTABLE which is set by USES=python now
- Comment BROKEN_* temporarily to see if the new version builds

Changes:	https://github.com/pytorch/pytorch/releases
PR:		274859
Approved by:	maintainer (timeout, 25 days)
2023-11-27 18:45:51 +08:00

11 lines
293 B
Text

--- caffe2/CMakeLists.txt.orig 2023-05-08 19:58:16 UTC
+++ caffe2/CMakeLists.txt
@@ -1,6 +1,8 @@
# ---[ Generate and install header and cpp files
include(../cmake/Codegen.cmake)
+set(CMAKE_CXX_STANDARD 17)
+
# ---[ Vulkan code gen
if(USE_VULKAN)
include(../cmake/VulkanCodegen.cmake)