[all-commits] [llvm/llvm-project] 5424ce: [OpenMP] Fixing llvm-omp-device-info compilation w...
Jose Manuel Monsalve Diaz via All-commits
all-commits at lists.llvm.org
Fri Jul 30 11:09:26 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5424ceeda0534ab382e2a6cb192099f76ee8b12c
https://github.com/llvm/llvm-project/commit/5424ceeda0534ab382e2a6cb192099f76ee8b12c
Author: Jose M Monsalve Diaz <jmonsalvediaz at anl.gov>
Date: 2021-07-30 (Fri, 30 Jul 2021)
Changed paths:
M llvm/runtimes/CMakeLists.txt
M openmp/libomptarget/tools/deviceinfo/CMakeLists.txt
Log Message:
-----------
[OpenMP] Fixing llvm-omp-device-info compilation with runtimes
When using `-DLLVM_ENABLED_RUNTIMES` instead of `-DLLVM_ENABLED_PROJECTS`
the `llvm-omp-device-info` tool is not compiled or installed.
In general, no llvm tool would be build on runtimes, because the
-DLLVM_BUILD_TOOLS flag is removed by the way runtimes compilation calls
cmake again.
This patch is simple. Just forward the value of this flag to the
runtime cmake command.
I'm also removing an unnecessary comment in the compilation of the tool
Differential Revision: https://reviews.llvm.org/D107177
More information about the All-commits
mailing list