[all-commits] [llvm/llvm-project] d1e38e: [offload] Fix enabling unittests in standalone bui...
Michał Górny via All-commits
all-commits at lists.llvm.org
Sat May 3 11:06:35 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d1e38eab95b07b422194427474521623916bbf29
https://github.com/llvm/llvm-project/commit/d1e38eab95b07b422194427474521623916bbf29
Author: Michał Górny <mgorny at gentoo.org>
Date: 2025-05-03 (Sat, 03 May 2025)
Changed paths:
M offload/CMakeLists.txt
Log Message:
-----------
[offload] Fix enabling unittests in standalone builds (#138418)
Modify the unittest logic in offload to only look for
`third-party/unittest` directory when `llvm_gtest` is not provided by
LLVM itself (in-tree or installed). This makes it possible to run
unittests in sparse checkouts without the `third-party/unittest` tree.
While at it, also make sure `LLVM_THIRD_PARTY_DIR` is actually set while
performing standalone builds. The logic is copied from `compiler-rt`.
---------
Co-authored-by: Joseph Huber <huberjn at outlook.com>
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