Skip to content

Commit c6c3d53

Browse files
authored
GH-49518: [CI] Do not override HOME to empty on build_conda.sh for minimal_build (#49519)
### Rationale for this change The CI job is currently failing ### What changes are included in this PR? Do not set HOME to empty on `build_conda.sh` otherwise ccache fails creating cache folders. Just use default HOME and use WORKDIR ### Are these changes tested? Yes via the failing job on archery. ### Are there any user-facing changes? No * GitHub Issue: #49518 Authored-by: Raúl Cumplido <raulcumplido@gmail.com> Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
1 parent d6ce56e commit c6c3d53

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

python/examples/minimal_build/build_conda.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ set -e
2121
#----------------------------------------------------------------------
2222
# Change this to whatever makes sense for your system
2323

24-
HOME=
25-
MINICONDA=$HOME/miniconda-for-arrow
26-
LIBRARY_INSTALL_DIR=$HOME/local-libs
27-
CPP_BUILD_DIR=$HOME/arrow-cpp-build
24+
WORKDIR=${WORKDIR:-$HOME}
25+
MINICONDA=$WORKDIR/miniconda-for-arrow
26+
LIBRARY_INSTALL_DIR=$WORKDIR/local-libs
27+
CPP_BUILD_DIR=$WORKDIR/arrow-cpp-build
2828
ARROW_ROOT=/arrow
2929
PYTHON=3.10
3030

0 commit comments

Comments
 (0)