[all-commits] [llvm/llvm-project] dbc98c: [libclc] [cmake] Fix per-target *_convert.cl depen...
Michał Górny via All-commits
all-commits at lists.llvm.org
Sat Feb 15 23:49:14 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dbc98cfa46d52ede06e8be7fc5e855d807ba0fac
https://github.com/llvm/llvm-project/commit/dbc98cfa46d52ede06e8be7fc5e855d807ba0fac
Author: Michał Górny <mgorny at gentoo.org>
Date: 2025-02-16 (Sun, 16 Feb 2025)
Changed paths:
M libclc/cmake/modules/AddLibclc.cmake
Log Message:
-----------
[libclc] [cmake] Fix per-target *_convert.cl dependencies (#127315)
Fix `add_libclc_builtin_set` to add an appropriate dependency to either
`clspv-generate_convert.cl` or `generate_convert.cl` based on the `ARCH`
argument, rather than to both unconditionally. This fixes build failures
due to missing dependencies when `clspv*` targets are not enabled.
The added check mirrors the one from `libclc/CMakeLists.txt`.
Fixes: #127378
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