Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion dev/tasks/conda-recipes/arrow-cpp/bld-pyarrow.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
@echo on
pushd "%SRC_DIR%"\python

:: arrow-CI: don't build pyarrow for R-builds (which only needs libarrow)
if NOT "%R_CONFIG%"=="" (
exit /b 0
)

@rem the symlinks for cmake modules don't work here
@rem NOTE: In contrast to conda-forge, they work here as we clone from git.
Expand Down Expand Up @@ -35,6 +39,8 @@ if "%cuda_compiler_version%"=="None" (
set "PYARROW_WITH_CUDA=1"
)

pushd "%SRC_DIR%"\python

%PYTHON% setup.py ^
build_ext ^
install --single-version-externally-managed ^
Expand Down
7 changes: 5 additions & 2 deletions dev/tasks/conda-recipes/arrow-cpp/build-pyarrow.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#!/bin/sh
set -ex

set -e
set -x
# arrow-CI: don't build pyarrow for R-builds (which only needs libarrow)
if [[ -n "${R_CONFIG}" ]]; then
exit 0
fi

# Build dependencies
export ARROW_HOME=$PREFIX
Expand Down
2 changes: 1 addition & 1 deletion dev/tasks/conda-recipes/azure.osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
source activate base
set -e
set +x
if [[ "${CONFIG}" == osx_arm* ]]; then
if [[ "${CONFIG}" == osx_arm* ]] || [[ -n "${R_CONFIG}" ]]; then
EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --no-test"
fi
conda build arrow-cpp \
Expand Down
5 changes: 4 additions & 1 deletion dev/tasks/conda-recipes/azure.win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ jobs:

- script: |
call activate base
conda.exe mambabuild arrow-cpp parquet-cpp -m .ci_support\%CONFIG%.yaml
if NOT "%R_CONFIG%"=="" (
set "EXTRA_CB_OPTIONS= --no-test"
)
conda.exe mambabuild arrow-cpp parquet-cpp -m .ci_support\%CONFIG%.yaml %EXTRA_CB_OPTIONS%
displayName: Build Arrow recipe
workingDirectory: arrow\dev\tasks\conda-recipes
env:
Expand Down
3 changes: 3 additions & 0 deletions dev/tasks/conda-recipes/build_steps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ make_build_number "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"

if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]] && [[ "${HOST_PLATFORM}" != linux-* ]] && [[ "${BUILD_WITH_CONDA_DEBUG:-0}" != 1 ]]; then
EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --no-test"
elif [[ -n "${R_CONFIG}" ]]; then
# arrow-CI: pyarrow not built for R-builds, so don't try to test it
EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --no-test"
fi

export CONDA_BLD_PATH="${output_dir}"
Expand Down