[all-commits] [llvm/llvm-project] 517a07: [libclc] Fix LIBCLC_OUTPUT_LIBRARY_DIR when find_p...
Wenju He via All-commits
all-commits at lists.llvm.org
Fri Jun 5 16:18:03 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 517a0755f5d128d950fc8a08b2bd45e629e40a95
https://github.com/llvm/llvm-project/commit/517a0755f5d128d950fc8a08b2bd45e629e40a95
Author: Wenju He <wenju.he at intel.com>
Date: 2026-06-06 (Sat, 06 Jun 2026)
Changed paths:
M libclc/CMakeLists.txt
Log Message:
-----------
[libclc] Fix LIBCLC_OUTPUT_LIBRARY_DIR when find_package(LLVM) fails (#201816)
If we configure llvm from llvm-project/build folder, find_package(LLVM)
succeeds, `LLVM_LIBRARY_OUTPUT_INTDIR` is `build/./lib` and
`LLVM_BINARY_DIR` is `build`.
However, in #201773, find_package(LLVM) fails due to
LLVM_LIBDIR_SUFFIX=64, LLVM_LIBRARY_OUTPUT_INTDIR is
`redhat-linux-build/runtimes/runtimes-nvptx64-nvidia-cuda-bins/lib64`
and LLVM_BINARY_DIR is `redhat-linux-build`.
Use LLVM_BINARY_DIR, which is stable for both cases, for libclc output dir.
Fixes #201773
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list