[libc-commits] [PATCH] D122481: [NFC][libc] Disable benchmarks when the LLVM benchmark target is not available
Guillaume Chatelet via Phabricator via libc-commits
libc-commits at lists.llvm.org
Fri Mar 25 06:54:18 PDT 2022
gchatelet created this revision.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added projects: libc-project, All.
gchatelet requested review of this revision.
Fixes https://github.com/llvm/llvm-project/issues/53686
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D122481
Files:
libc/CMakeLists.txt
Index: libc/CMakeLists.txt
===================================================================
--- libc/CMakeLists.txt
+++ libc/CMakeLists.txt
@@ -161,7 +161,9 @@
add_subdirectory(fuzzing)
endif()
-add_subdirectory(benchmarks)
+if(LLVM_INCLUDE_BENCHMARKS)
+ add_subdirectory(benchmarks)
+endif()
if (LIBC_INCLUDE_DOCS)
add_subdirectory(docs)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122481.418213.patch
Type: text/x-patch
Size: 355 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220325/892e0aaf/attachment-0001.bin>
More information about the libc-commits
mailing list