pmodels / bolt

Official BOLT Repository
https://www.bolt-omp.org
Other
26 stars 13 forks source link

better support for in-tree build #75

Closed shintaro-iwasaki closed 3 years ago

shintaro-iwasaki commented 3 years ago

The current LLVM project is maintained in a single repository (https://github.com/llvm/llvm-project). Although BOLT will keep provided as a single repository, BOLT should work with this LLVM repository, too. This patch updates CMakefiles so that BOLT can be separately installed as "BOLT" in addition to the default LLVM OpenMP library. BOLT will be installed to bolt/ directory if it is installed with the LLVM project by default unless you set -DLIBOMP_USE_BOLT_DEFAULT=true.

The vanilla LLVM project does not recognize BOLT, so the user needs to modify its CMakefiles. This patch will be created in the future.

shintaro-iwasaki commented 3 years ago

test:bolt/all

shintaro-iwasaki commented 3 years ago

test:bolt/all