[PATCH] D56727: gn build: Don't assume valgrind.h exists on Linux
Hans Wennborg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 15 08:55:58 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL351202: gn build: Don't assume valgrind.h exists on Linux (authored by hans, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D56727?vs=181796&id=181798#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56727/new/
https://reviews.llvm.org/D56727
Files:
llvm/trunk/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
Index: llvm/trunk/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
===================================================================
--- llvm/trunk/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
+++ llvm/trunk/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
@@ -92,6 +92,7 @@
"HAVE_STRERROR=1",
"HAVE_SYS_STAT_H=1",
"HAVE_SYS_TYPES_H=1",
+ "HAVE_VALGRIND_VALGRIND_H=",
"HAVE__ALLOCA=",
"HAVE___ALLOCA=",
"HAVE___ASHLDI3=",
@@ -152,12 +153,6 @@
]
}
- if (current_os == "linux") {
- values += [ "HAVE_VALGRIND_VALGRIND_H=1" ]
- } else {
- values += [ "HAVE_VALGRIND_VALGRIND_H=" ]
- }
-
if (current_os == "mac") {
values += [
"HAVE_CRASHREPORTER_INFO=1",
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56727.181798.patch
Type: text/x-patch
Size: 737 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190115/09cbb0cf/attachment.bin>
More information about the llvm-commits
mailing list