[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
Tue Mar 29 01:43:08 PDT 2022


gchatelet updated this revision to Diff 418819.
gchatelet added a comment.

rebase


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122481/new/

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.418819.patch
Type: text/x-patch
Size: 355 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220329/27d55972/attachment.bin>


More information about the libc-commits mailing list