Initial import
Signed-off-by: Tom Rix <trix@redhat.com>
This commit is contained in:
parent
7d5865168f
commit
48192fa108
13 changed files with 1272 additions and 0 deletions
26
0001-pytorch-use-SO-version-by-default.patch
Normal file
26
0001-pytorch-use-SO-version-by-default.patch
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
From 527d1ce24a06a14788ca5fc2411985d7c1cb2923 Mon Sep 17 00:00:00 2001
|
||||
From: Tom Rix <trix@redhat.com>
|
||||
Date: Fri, 13 Oct 2023 05:35:19 -0700
|
||||
Subject: [PATCH] pytorch use SO version by default
|
||||
|
||||
Signed-off-by: Tom Rix <trix@redhat.com>
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 902ee70fd1..86c34984b2 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -340,7 +340,7 @@ option(USE_TBB "Use TBB (Deprecated)" OFF)
|
||||
cmake_dependent_option(
|
||||
USE_SYSTEM_TBB "Use system-provided Intel TBB." OFF "USE_TBB" OFF)
|
||||
option(ONNX_ML "Enable traditional ONNX ML API." ON)
|
||||
-option(HAVE_SOVERSION "Whether to add SOVERSION to the shared objects" OFF)
|
||||
+option(HAVE_SOVERSION "Whether to add SOVERSION to the shared objects" ON)
|
||||
option(BUILD_LIBTORCH_CPU_WITH_DEBUG "Enable RelWithDebInfo for libtorch_cpu target only" OFF)
|
||||
cmake_dependent_option(USE_CCACHE "Attempt using CCache to wrap the compilation" ON "UNIX" OFF)
|
||||
option(WERROR "Build with -Werror supported by the compiler" OFF)
|
||||
--
|
||||
2.42.1
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue