Skip to content

Commit 28f1997

Browse files
authored
Add ability to pass through arguments from compile to build.sh (#13430)
This is also to support #13427. Where we would like the ability to build specific targets instead of all of them. This lets us pass this through `compile` to `replay_build.sh`.
1 parent 2cb64df commit 28f1997

File tree

1 file changed

+2
-2
lines changed
  • infra/base-images/base-builder

1 file changed

+2
-2
lines changed

infra/base-images/base-builder/compile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,9 @@ fi
304304
if [[ ! -z "${REPLAY_ENABLED-}" ]]; then
305305
# If this is a replay, then use replay_build.sh. This is expected to be
306306
# running in a cached container where a build has already happened prior.
307-
BUILD_CMD="bash -eux $SRC/replay_build.sh"
307+
BUILD_CMD="bash -eux $SRC/replay_build.sh $@"
308308
else
309-
BUILD_CMD="bash -eux $SRC/build.sh"
309+
BUILD_CMD="bash -eux $SRC/build.sh $@"
310310
fi
311311

312312
# Set +u temporarily to continue even if GOPATH and OSSFUZZ_RUSTPATH are undefined.

0 commit comments

Comments
 (0)