From bfd5971aa31ba229358158ecd34c88aaff9c1259 Mon Sep 17 00:00:00 2001 From: Jeremy Dyer Date: Fri, 1 Dec 2023 07:54:10 -0500 Subject: [PATCH] Enable substrait feature to be built by default in CI, for nightlies and releases --- .github/workflows/build.yml | 4 ++-- conda/recipes/bld.bat | 2 +- conda/recipes/build.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e72c4805a..968bdc1f0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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' @@ -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/ diff --git a/conda/recipes/bld.bat b/conda/recipes/bld.bat index fc3ac88b3..90626a637 100644 --- a/conda/recipes/bld.bat +++ b/conda/recipes/bld.bat @@ -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 diff --git a/conda/recipes/build.sh b/conda/recipes/build.sh index af640e6ca..259894313 100644 --- a/conda/recipes/build.sh +++ b/conda/recipes/build.sh @@ -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