Skip to content

Commit

Permalink
hardcode /tmp/arrow again
Browse files Browse the repository at this point in the history
  • Loading branch information
assignUser committed May 13, 2024
1 parent d5a83de commit 0446006
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dev/conbench_envs/hooks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ set_arrow_build_and_run_env_vars() {
}

build_arrow_cpp() {
export ARROW_BUILD_DIR="/tmp/$(uuidgen)"
# Ignore the error when a cache can't be created
if ! ci/scripts/cpp_build.sh $(pwd) $ARROW_BUILD_DIR 2> error.log; then
if ! grep -q -F "Can\'t create temporary cache file" error.log; then
Expand All @@ -58,7 +59,8 @@ build_arrow_cpp() {
}

build_arrow_python() {
ci/scripts/python_build.sh $(pwd) "$ARROW_BUILD_DIR"
mkdir -p /tmp/arrow
ci/scripts/python_build.sh $(pwd) /tmp/arrow
}

build_arrow_r() {
Expand All @@ -69,7 +71,7 @@ build_arrow_r() {

build_arrow_java() {
mkdir -p /tmp/arrow
ci/scripts/java_build.sh $(pwd) "$ARROW_BUILD_DIR"
ci/scripts/java_build.sh $(pwd) /tmp/arrow
}

install_archery() {
Expand All @@ -81,8 +83,6 @@ install_java_script_project_dependencies() {
}

create_conda_env_with_arrow_python() {
export ARROW_BUILD_DIR="/tmp/$(uuidgen)"
mkdir -p "$ARROW_BUILD_DIR"
create_conda_env_for_benchmark_build
activate_conda_env_for_benchmark_build
install_arrow_python_dependencies
Expand Down

0 comments on commit 0446006

Please sign in to comment.