You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kvrocks.apache.org by hu...@apache.org on 2023/02/21 03:20:12 UTC
[incubator-kvrocks] branch unstable updated: Force disable the IPO option in macOS (#1271)
This is an automated email from the ASF dual-hosted git repository.
hulk pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/incubator-kvrocks.git
The following commit(s) were added to refs/heads/unstable by this push:
new da4dcfec Force disable the IPO option in macOS (#1271)
da4dcfec is described below
commit da4dcfeca46da43b71f857c07bfed697f361e3f4
Author: hulk <hu...@gmail.com>
AuthorDate: Tue Feb 21 11:20:05 2023 +0800
Force disable the IPO option in macOS (#1271)
Enabling the IPO option will make the debug mode deactivated. The object
the file will become LLVM bitcode and cannot be recognized by the
lldb/gdb.
---
CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3dfde07d..0f3f404f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -96,6 +96,7 @@ endif()
if (CMAKE_HOST_APPLE)
set(DISABLE_JEMALLOC ON)
+ set(ENABLE_IPO OFF)
endif ()
if(NOT DISABLE_JEMALLOC)