[PATCH] D95727: llvm-shlib: Create object libraries for each component and link against them

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 3 03:07:52 PDT 2021


bjope added a comment.

Not sure if it is the correct thing to do, but a patch like this seem to help for the Z3 problem:

  diff --git a/llvm/lib/Support/CMakeLists.txt b/llvm/lib/Support/CMakeLists.txt
  index ddacb4feaa0f..36919b25b0ef 100644
  --- a/llvm/lib/Support/CMakeLists.txt
  +++ b/llvm/lib/Support/CMakeLists.txt
  @@ -274,8 +274,5 @@ if(LLVM_INTEGRATED_CRT_ALLOC)
   endif()
   
   if(LLVM_WITH_Z3)
  -  target_include_directories(LLVMSupport SYSTEM
  -    PRIVATE
  -    ${Z3_INCLUDE_DIR}
  -    )
  +  include_directories(SYSTEM ${Z3_INCLUDE_DIR})
   endif()


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95727/new/

https://reviews.llvm.org/D95727



More information about the llvm-commits mailing list