From 527d1ce24a06a14788ca5fc2411985d7c1cb2923 Mon Sep 17 00:00:00 2001 From: Tom Rix Date: Fri, 13 Oct 2023 05:35:19 -0700 Subject: [PATCH] pytorch use SO version by default Signed-off-by: Tom Rix --- 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