[PATCH] D70026: [cmake] Always build the libLLVM shared library

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 5 13:40:50 PST 2019


tstellar marked 2 inline comments as done.
tstellar added inline comments.


================
Comment at: llvm/CMakeLists.txt:655-656
 
 if(WIN32 OR CYGWIN)
-  if(BUILD_SHARED_LIBS OR LLVM_BUILD_LLVM_DYLIB)
+  if(BUILD_SHARED_LIBS)
     set(LLVM_ENABLE_PLUGINS_default ON)
----------------
compnerd wrote:
> tstellar wrote:
> > This change I'm not so sure about.  Can we drop the WIN32 part of the condition?   Does CYGWIN support building shared libs?
> Why the desire to drop `WIN32`?  Both Windows and cygwin support shared libraries.
I just wasn't sure what WIN32 meant.  Does it mean all of windows or just 32-bit windows?  I'm fine with keeping it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70026





More information about the llvm-commits mailing list