[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 15:26:20 PDT 2021
aeubanks created this revision.
aeubanks added a reviewer: thakis.
Herald added a subscriber: dberris.
aeubanks requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The gn build doesn't support xray, so there's no reason to make the xray
headers available. Some CMake checks check if xray includes are
available to determine if xray is usable. Since we don't build the xray
runtime, there are link errors.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D108737
Files:
llvm/utils/gn/secondary/compiler-rt/include/BUILD.gn
Index: llvm/utils/gn/secondary/compiler-rt/include/BUILD.gn
===================================================================
--- llvm/utils/gn/secondary/compiler-rt/include/BUILD.gn
+++ llvm/utils/gn/secondary/compiler-rt/include/BUILD.gn
@@ -19,9 +19,6 @@
"sanitizer/tsan_interface.h",
"sanitizer/tsan_interface_atomic.h",
"sanitizer/ubsan_interface.h",
- "xray/xray_interface.h",
- "xray/xray_log_interface.h",
- "xray/xray_records.h",
]
outputs = [ "$clang_resource_dir/include/{{source_target_relative}}" ]
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108737.368755.patch
Type: text/x-patch
Size: 547 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210825/3a128369/attachment.bin>
More information about the llvm-commits
mailing list