From e7780c5d1ae7de21c3e06a9875d9a4e2e8066e1b Mon Sep 17 00:00:00 2001 From: Kuat Date: Mon, 7 Nov 2022 13:52:12 -0800 Subject: [PATCH 1/2] bazel: add --stamp (#4176) Signed-off-by: Kuat Yessenov Signed-off-by: Kuat Yessenov --- Makefile.core.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.core.mk b/Makefile.core.mk index 98571a09844..7504d115ebd 100644 --- a/Makefile.core.mk +++ b/Makefile.core.mk @@ -37,7 +37,7 @@ PATH := /usr/lib/llvm-10/bin:$(PATH) VERBOSE ?= ifeq "$(VERBOSE)" "1" BAZEL_STARTUP_ARGS := --client_debug $(BAZEL_STARTUP_ARGS) -BAZEL_BUILD_ARGS := -s --sandbox_debug --verbose_failures $(BAZEL_BUILD_ARGS) +BAZEL_BUILD_ARGS := -s --sandbox_debug --verbose_failures --stamp $(BAZEL_BUILD_ARGS) endif ifeq "$(origin WITH_LIBCXX)" "undefined" From 97c73f0158fd01d812a35bb3b9ad975897e325e3 Mon Sep 17 00:00:00 2001 From: Kuat Date: Mon, 7 Nov 2022 15:57:11 -0800 Subject: [PATCH 2/2] wasm: stamp explicitly (#4177) Signed-off-by: Kuat Yessenov Signed-off-by: Kuat Yessenov --- Makefile.core.mk | 2 +- scripts/release-binary.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.core.mk b/Makefile.core.mk index 7504d115ebd..98571a09844 100644 --- a/Makefile.core.mk +++ b/Makefile.core.mk @@ -37,7 +37,7 @@ PATH := /usr/lib/llvm-10/bin:$(PATH) VERBOSE ?= ifeq "$(VERBOSE)" "1" BAZEL_STARTUP_ARGS := --client_debug $(BAZEL_STARTUP_ARGS) -BAZEL_BUILD_ARGS := -s --sandbox_debug --verbose_failures --stamp $(BAZEL_BUILD_ARGS) +BAZEL_BUILD_ARGS := -s --sandbox_debug --verbose_failures $(BAZEL_BUILD_ARGS) endif ifeq "$(origin WITH_LIBCXX)" "undefined" diff --git a/scripts/release-binary.sh b/scripts/release-binary.sh index de0948c165c..506c063ba89 100755 --- a/scripts/release-binary.sh +++ b/scripts/release-binary.sh @@ -33,6 +33,9 @@ if [[ "$(uname)" != "Darwin" && "${BAZEL_BUILD_ARGS}" != *"--config=libc++"* ]]; BAZEL_BUILD_ARGS="${BAZEL_BUILD_ARGS} --config=libc++" fi +# Expliticly stamp. +BAZEL_BUILD_ARGS="${BAZEL_BUILD_ARGS} --stamp" + if [[ "$(uname)" == "Darwin" ]]; then BAZEL_CONFIG_ASAN="--config=macos-asan" else