[PATCH] D108737: [gn build] Don't copy xray includes

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 25 16:11:48 PDT 2021


aeubanks added a comment.

https://github.com/llvm/llvm-test-suite/blob/main/MicroBenchmarks/XRay/CMakeLists.txt checks for an xray header. I could also try to make that do a full compile/link test as an alternative.

Yeah running `sync_source_lists_from_cmake.py` would try to add these xray files back. But adding a `group("ignored")` I get

  ERROR at //compiler-rt/include/BUILD.gn:34:13: Assignment had no effect.
    sources = [
              ^
  You set the variable "sources" here and it was unused before it went
  out of scope.

what's the way to explicitly ignore source files?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108737



More information about the llvm-commits mailing list