Skip to content

Commit

Permalink
Enable substrait feature to be built by default in CI, for nightlies …
Browse files Browse the repository at this point in the history
…and releases (apache#544)
  • Loading branch information
jdye64 authored Dec 3, 2023
1 parent 0b2962a commit cce4680
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Build Python package
run: maturin build --release --strip
run: maturin build --release --strip --features substrait

- name: List Windows wheels
if: matrix.os == 'windows-latest'
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Build Python package
run: maturin build --release --strip --target aarch64-apple-darwin
run: maturin build --release --strip --target aarch64-apple-darwin --features substrait
- name: List Mac wheels
run: find target/wheels/

Expand Down
2 changes: 1 addition & 1 deletion conda/recipes/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# under the License.
#

maturin build -vv -j %CPU_COUNT% --release --strip --manylinux off --interpreter=%PYTHON%
maturin build -vv -j %CPU_COUNT% --release --strip --features substrait --manylinux off --interpreter=%PYTHON%

FOR /F "delims=" %%i IN ('dir /s /b target\wheels\*.whl') DO set datafusion_wheel=%%i

Expand Down
2 changes: 1 addition & 1 deletion conda/recipes/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ EOF
sed -i.bak 's,aarch64,arm64,g' $BUILD_PREFIX/venv/lib/platform-patch.py
fi

maturin build -vv -j "${CPU_COUNT}" --release --strip --manylinux off --interpreter="${PYTHON}" "${_xtra_maturin_args[@]}"
maturin build -vv -j "${CPU_COUNT}" --release --strip --features substrait --manylinux off --interpreter="${PYTHON}" "${_xtra_maturin_args[@]}"

"${PYTHON}" -m pip install $SRC_DIR/target/wheels/datafusion*.whl --no-deps -vv

Expand Down

0 comments on commit cce4680

Please sign in to comment.