Skip to content

Commit

Permalink
no build isolation for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
makslevental committed Jan 29, 2025
1 parent b8d6b15 commit eeaa906
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build_test_release_eudsl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ jobs:
# prevent OOM on free GHA
echo "EUDSLPY_DISABLE_COMPILE_OPT=${{ inputs.eudslpy_disable_compile_opt == 'true' && 'ON' || 'OFF' }}" >> $GITHUB_ENV
pip install cibuildwheel
$python3_command -m pip install cibuildwheel
$python3_command -m pip install -r requirements-dev.txt
- name: "Build eudsl-tblgen"
run: |
Expand All @@ -141,7 +142,7 @@ jobs:
else
export CMAKE_PREFIX_PATH=$PWD/llvm-install
export PIP_FIND_LINKS=$PWD/wheelhouse
$python3_command -m pip wheel "$PWD/projects/eudsl-tblgen" -w wheelhouse -v
$python3_command -m pip wheel "$PWD/projects/eudsl-tblgen" -w wheelhouse -v --no-build-isolation
fi
- name: "Build eudsl-llvmpy"
Expand All @@ -156,7 +157,8 @@ jobs:
else
export CMAKE_PREFIX_PATH=$PWD/llvm-install
export PIP_FIND_LINKS=$PWD/wheelhouse
$python3_command -m pip wheel "$PWD/projects/eudsl-llvmpy" -w wheelhouse -v
$python3_command -m pip install eudsl-tblgen -f wheelhouse
$python3_command -m pip wheel "$PWD/projects/eudsl-llvmpy" -w wheelhouse -v --no-build-isolation
fi
- name: "Build eudsl-nbgen"
Expand All @@ -170,7 +172,7 @@ jobs:
else
export CMAKE_PREFIX_PATH=$PWD/llvm-install
export PIP_FIND_LINKS=$PWD/wheelhouse
$python3_command -m pip wheel "$PWD/projects/eudsl-nbgen" -w wheelhouse -v
$python3_command -m pip wheel "$PWD/projects/eudsl-nbgen" -w wheelhouse -v --no-build-isolation
fi
- name: "Build eudsl-py"
Expand All @@ -185,15 +187,14 @@ jobs:
else
export CMAKE_PREFIX_PATH=$PWD/llvm-install
export PIP_FIND_LINKS=$PWD/wheelhouse
$python3_command -m pip wheel "$PWD/projects/eudsl-py" -w wheelhouse -v
$python3_command -m pip wheel "$PWD/projects/eudsl-py" -w wheelhouse -v --no-build-isolation
fi
# just to/make sure total build continues to work
- name: "Build all of eudsl"
if: ${{ github.event_name == 'pull_request' }}
run: |
$python3_command -m pip install -r requirements.txt
$python3_command -m pip install eudsl-tblgen -f wheelhouse
cmake -B $PWD/eudsl-build -S $PWD \
-DCMAKE_PREFIX_PATH=$PWD/llvm-install \
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt → requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
litgen @ git+https://github.com/pthom/litgen@f5d154c6f7679e755baa1047563d7c340309bc00
nanobind==2.4.0
numpy==2.0.2
litgen @ git+https://github.com/pthom/litgen@f5d154c6f7679e755baa1047563d7c340309bc00
scikit-build-core==0.10.7

0 comments on commit eeaa906

Please sign in to comment.