From 89649bef51c1c1b93d585bc712a9760fa2ba085b Mon Sep 17 00:00:00 2001 From: weifulun Date: Wed, 22 Feb 2023 21:43:12 +0800 Subject: [PATCH] fixed 3584ffd from https://gitee.com/zhengweiwei2/third_party_llvm-project/pulls/156 title: disable LIBUNWIND_SHARED_ENABLE by default in llvm build description: it is not supported in mac env as described in the issue test:x86 llvmts issue:https:https://gitee.com/openharmony/third_party_llvm-project/issues/I6H32M Signed-off-by: liwentao_uiw Change-Id: Ie6c20dff2e88c784a779990552a8cee6b54da9c4 --- llvm-build/build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm-build/build.py b/llvm-build/build.py index 9df15f4f4921..7d641d457488 100755 --- a/llvm-build/build.py +++ b/llvm-build/build.py @@ -435,6 +435,7 @@ class LlvmCore(BuildUtils): def llvm_compile_darwin_defines(self, llvm_defines): if self.host_is_darwin(): + llvm_defines['LIBUNWIND_ENABLE_SHARED'] = 'OFF' llvm_defines['LLDB_ENABLE_LIBEDIT'] = 'OFF' llvm_defines['LLDB_NO_DEBUGSERVER'] = 'ON' llvm_defines['LLDB_ENABLE_PYTHON'] = 'ON' -- Gitee