[PATCH] D101467: [docs] Add the compiler-rt requirement to the test suite doc

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 20 08:02:17 PDT 2021


mtrofin updated this revision to Diff 360137.
mtrofin added a comment.
Herald added a subscriber: ChuanqiXu.

feedback


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101467

Files:
  llvm/docs/TestSuiteGuide.md


Index: llvm/docs/TestSuiteGuide.md
===================================================================
--- llvm/docs/TestSuiteGuide.md
+++ llvm/docs/TestSuiteGuide.md
@@ -42,6 +42,11 @@
            ../test-suite
    ```
 
+**NOTE!** if you are using your built clang, you need to have had also enabled
+`compiler-rt`, otherwise the MicroBenchmarks/XRay microbenchmarks will fail to
+compile. Make sure you add `compiler-rt` to your `LLVM_ENABLE_PROJECTS` cmake
+flag.
+
 4. Build the benchmarks:
 
    ```text


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101467.360137.patch
Type: text/x-patch
Size: 510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210720/cbd07c7b/attachment.bin>


More information about the llvm-commits mailing list