fix: parameterize DATAFLOW_EXECUTION in python wheel

This commit is contained in:
youben11
2022-10-07 16:57:50 +01:00
committed by Ayoub Benaissa
parent 89d7f065ae
commit 0987fade80
2 changed files with 7 additions and 2 deletions

View File

@@ -257,6 +257,7 @@ jobs:
cd compiler
echo "Debug: ccache statistics (prior to the tests):"
ccache -s
export CONCRETE_COMPILER_DATAFLOW_EXECUTION_ENABLED=OFF
pip3 wheel --no-deps -w ${{ github.workspace }}/wheels .
delocate-wheel -v $(find ${{ github.workspace }}/wheels/ -name '*macosx*.whl')
pip3 install $(find ${{ github.workspace }}/wheels/ -name '*macosx*.whl')
@@ -537,7 +538,8 @@ jobs:
id: build-wheel-macos
run: |
cd compiler
make Python3_EXECUTABLE=$(which python) python-bindings
make Python3_EXECUTABLE=$(which python) DATAFLOW_EXECUTION_ENABLED=OFF python-bindings
export CONCRETE_COMPILER_DATAFLOW_EXECUTION_ENABLED=OFF
pip wheel --no-deps -w ${{ github.workspace }}/wheels .
delocate-wheel -v $(find ${{ github.workspace }}/wheels/ -name '*macosx*.whl')
echo "::set-output name=ASSET_NAME::$(find ${{ github.workspace }}/wheels/ -name '*macosx*.whl' | rev |cut -d "/" -f 1 |rev )"