You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by al...@apache.org on 2025/08/25 15:04:42 UTC
(kudu) branch master updated: [thirdparty] fix flags for BSD-style install
This is an automated email from the ASF dual-hosted git repository.
alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/master by this push:
new 5955636ab [thirdparty] fix flags for BSD-style install
5955636ab is described below
commit 5955636ab28f6b8221f8da24e89733fc3ed3fcf0
Author: Alexey Serbin <al...@apache.org>
AuthorDate: Fri Aug 22 23:11:51 2025 -0700
[thirdparty] fix flags for BSD-style install
This fixes installing gperftools's headers into corresponding
sub-directory of $KUDU_HOME/thirdparty on macOS after [1].
The BSD flavor of the install utility doesn't have the --backup flag,
and the semantics of the --mode flag is only available with -m flag.
This is a follow-up to [1].
[1] http://gerrit.cloudera.org:8080/23222
Change-Id: I707248026d3fc8d7c1533a5e6d538c5d4be5112f
Reviewed-on: http://gerrit.cloudera.org:8080/23340
Reviewed-by: Marton Greber <gr...@gmail.com>
Tested-by: Marton Greber <gr...@gmail.com>
---
thirdparty/build-definitions.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/thirdparty/build-definitions.sh b/thirdparty/build-definitions.sh
index 1636a62b1..b0b4307f3 100644
--- a/thirdparty/build-definitions.sh
+++ b/thirdparty/build-definitions.sh
@@ -516,7 +516,7 @@ build_gperftools() {
# Add tcmalloc_guard.h because TCMallocGuard is useful for fine-grained
# control over the initialization of libtcmalloc internals, and that's
# helpful in the context of addressing KUDU-2439 and KUDU-3635.
- install --backup=none --mode=0444 $GPERFTOOLS_SOURCE/src/tcmalloc_guard.h $PREFIX/include/gperftools
+ install -m 0444 $GPERFTOOLS_SOURCE/src/tcmalloc_guard.h $PREFIX/include/gperftools
popd
}