[llvm-dev] Recommended computer resources to build llvm

Wink Saville via llvm-dev
Tue, 06 Sep 2016 22:31:59 -0000

On Tue, Sep 6, 2016 at 3:05 PM, Alexandre Isoard
<alexandre.isoard at gmail.com> wrote:
> LLVM_ENABLE_DYLIB

Where/when/how do you specify LLVM_ENABLE_DYLIB and LLVM_LINK_DYLIB?

I tried the following on the cmake command line:

$ cmake -G Ninja .. -DCMAKE_INSTALL_PREFIX=/home/wink/opt/llvm
-DLLVM_ENABLE_DYLIB=true -DLLVM_LINK_DYLIB=true


And got:
...
-- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Failed
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    LLVM_ENABLE_DYLIB
    LLVM_LINK_DYLIB


-- Build files have been written to: /home/wink/foss/llvm.3.9.0/build