Skip to content

Build from source issues #100

Answered by neboat
wheatman asked this question in Q&A
Discussion options

You must be logged in to vote

There are a couple differences between OpenCilk's build-from-source process and LLVM's.

  1. In addition to cloning the opencilk-project repo, you also need to clone cheetah (https://github.com/OpenCilk/cheetah) into opencilk-project/cheetah and productivity-tools (https://github.com/OpenCilk/productivity-tools) into opencilk-project/cilktools.
  2. When you configure CMake (i.e., where you specify -DCMAKE_BUILD_TYPE and so on), you need to also specify -DLLVM_ENABLE_RUNTIMES="cheetah;cilktools".
    Aside from those two differences, the rest of the build-from-source process should be similar between OpenCilk and LLVM.

Let me know if those two changes work for you.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by neboat
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #82 on June 24, 2022 19:52.