Skip to content
Discussion options

You must be logged in to vote

Hello @vgvassilev Sir,
Thank you very much! I successfully compiled the source code using Clad and Clang. However, I wasn't able to build Clad following the steps in the README (developer environment). The command mkdir build && cd build cmake -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_EXTERNAL_PROJECTS=clad -DLLVM_EXTERNAL_CLAD_SOURCE_DIR=../../clad -DCMAKE_BUILD_TYPE="Debug" -DLLVM_TARGETS_TO_BUILD=host -DLLVM_INSTALL_UTILS=ON ../llvm would build Clad, but not Clang.

Later, using the Clad documentation, I built Clang and LLVM separately with the Ninja and Gold linker configuration provided in the Clad docs: cmake -G Ninja /path/to/llvm-project/llvm -DLLVM_USE_LINKER=gold -DCMAKE_BUILD_TYPE=D…

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
9 replies
@vgvassilev
Comment options

@Shubhanjan-GGOD
Comment options

@vgvassilev
Comment options

@Shubhanjan-GGOD
Comment options

Answer selected by vgvassilev
@vgvassilev
Comment options

@Shubhanjan-GGOD
Comment options

Comment options

You must be logged in to vote
1 reply
@vgvassilev
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants