Skip to content

Commit 567efca

Browse files
committed
Try to fix baseline commit
1 parent c7306f4 commit 567efca

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

libcxx/utils/ci/run-buildbot

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -546,10 +546,12 @@ benchmark-comparison)
546546
clean
547547
LIT_ARGS="-sv -j1 --param optimization=speed libcxx/test/benchmarks/hash.bench.cpp libcxx/test/benchmarks/join_view.bench.cpp"
548548

549-
baseline_commit=$(git merge-base main HEAD)
550-
step "Building and running the baseline at ${baseline_commit}"
549+
if [[ "${BASELINE_COMMIT}" == "" ]]; then
550+
BASELINE_COMMIT=$(git merge-base main HEAD)
551+
fi
552+
step "Building and running the baseline at ${BASELINE_COMMIT}"
551553
rm -rf "${BUILD_DIR}-baseline"
552-
./libcxx/utils/test-at-commit --commit ${baseline_commit} -B "${BUILD_DIR}-baseline" -- ${LIT_ARGS}
554+
./libcxx/utils/test-at-commit --commit ${BASELINE_COMMIT} -B "${BUILD_DIR}-baseline" -- ${LIT_ARGS}
553555

554556
# Build and run the candidate
555557
step "Building and running the candidate"

0 commit comments

Comments
 (0)