This is an automated email from the ASF dual-hosted git repository.

raulcd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new c6c3d53a12 GH-49518: [CI] Do not override HOME to empty on 
build_conda.sh for minimal_build (#49519)
c6c3d53a12 is described below

commit c6c3d53a125751ea0cb45d2e36acb2c424b3a029
Author: Raúl Cumplido <[email protected]>
AuthorDate: Mon Mar 16 12:37:54 2026 +0100

    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 <[email protected]>
    Signed-off-by: Raúl Cumplido <[email protected]>
---
 python/examples/minimal_build/build_conda.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/python/examples/minimal_build/build_conda.sh 
b/python/examples/minimal_build/build_conda.sh
index 5b39b93b2f..3b3d7bd4e3 100755
--- a/python/examples/minimal_build/build_conda.sh
+++ b/python/examples/minimal_build/build_conda.sh
@@ -21,10 +21,10 @@ set -e
 #----------------------------------------------------------------------
 # Change this to whatever makes sense for your system
 
-HOME=
-MINICONDA=$HOME/miniconda-for-arrow
-LIBRARY_INSTALL_DIR=$HOME/local-libs
-CPP_BUILD_DIR=$HOME/arrow-cpp-build
+WORKDIR=${WORKDIR:-$HOME}
+MINICONDA=$WORKDIR/miniconda-for-arrow
+LIBRARY_INSTALL_DIR=$WORKDIR/local-libs
+CPP_BUILD_DIR=$WORKDIR/arrow-cpp-build
 ARROW_ROOT=/arrow
 PYTHON=3.10
 

Reply via email to