Skip to content

Commit 2488cf3

Browse files
arrow: add manual replay build script (#14137)
Automated `replay_build.sh` is failing due to the `build.sh` relying on network connection. This `replay_build.sh` removes usage of this. --------- Signed-off-by: David Korczynski <[email protected]>
1 parent 2066564 commit 2488cf3

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

projects/arrow/replay_build.sh

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#!/bin/bash -eux
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
################################################################################
17+
18+
ARROW=${SRC}/arrow/cpp
19+
20+
BUILD_DIR=${SRC}/build-dir
21+
cd ${BUILD_DIR}
22+
23+
# The CMake build setup compiles and runs the Thrift compiler, but ASAN
24+
# would report leaks and error out.
25+
export ASAN_OPTIONS="detect_leaks=0"
26+
27+
cmake --build . -j$(nproc)
28+
29+
# Copy fuzz targets
30+
find . -executable -name "*-fuzz" -exec cp -a -v '{}' ${OUT} \;

0 commit comments

Comments
 (0)