[llvm] 67e2e6e - [gn build] Set llvm_have_mallinfo2 to true by default
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Wed May 25 13:56:47 PDT 2022
Author: Arthur Eubanks
Date: 2022-05-25T13:56:05-07:00
New Revision: 67e2e6e66d0aedb3a2b88fcd0f97957e3cf5ea36
URL: https://github.com/llvm/llvm-project/commit/67e2e6e66d0aedb3a2b88fcd0f97957e3cf5ea36
DIFF: https://github.com/llvm/llvm-project/commit/67e2e6e66d0aedb3a2b88fcd0f97957e3cf5ea36.diff
LOG: [gn build] Set llvm_have_mallinfo2 to true by default
If you are using an old enough glibc which doesn't have mallinfo2, set
`llvm_have_mallinfo2 = false`.
At this point it's likely that most people using the gn build are
compiling against a recent enough glibc (glibc 2.33 which was released
in Feb 2021).
Reviewed By: peterwaller-arm
Differential Revision: https://reviews.llvm.org/D126415
Added:
Modified:
llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn b/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
index f3f7c8879950a..82eba6b7e5523 100644
--- a/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
@@ -50,7 +50,7 @@ declare_args() {
# glibc is at least 2.33 which has mallinfo2.
# TODO: remove this once nobody using the gn build is building against an old glibc.
- llvm_have_mallinfo2 = false
+ llvm_have_mallinfo2 = true
}
write_cmake_config("abi-breaking") {
More information about the llvm-commits
mailing list