diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e72c4805..968bdc1f 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 fc3ac88b..90626a63 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 af640e6c..25989431 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