Skip to content

Commit cce4680

Browse files
authored
Enable substrait feature to be built by default in CI, for nightlies and releases (#544)
1 parent 0b2962a commit cce4680

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
repo-token: ${{ secrets.GITHUB_TOKEN }}
8181

8282
- name: Build Python package
83-
run: maturin build --release --strip
83+
run: maturin build --release --strip --features substrait
8484

8585
- name: List Windows wheels
8686
if: matrix.os == 'windows-latest'
@@ -141,7 +141,7 @@ jobs:
141141
repo-token: ${{ secrets.GITHUB_TOKEN }}
142142

143143
- name: Build Python package
144-
run: maturin build --release --strip --target aarch64-apple-darwin
144+
run: maturin build --release --strip --target aarch64-apple-darwin --features substrait
145145
- name: List Mac wheels
146146
run: find target/wheels/
147147

conda/recipes/bld.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# under the License.
1818
#
1919

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

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

conda/recipes/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ EOF
7777
sed -i.bak 's,aarch64,arm64,g' $BUILD_PREFIX/venv/lib/platform-patch.py
7878
fi
7979

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

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

0 commit comments

Comments
 (0)