Repository navigation
Commit a3fdfd1
committed
Build and test conda packages and wheels
Adds a ci/ directory and .github/workflows/intel-ci.yml, which build the
conda packages and the wheels for every declared platform and Python and
test each with ci/test.py on the OpenCL CPU device.
conda-recipe/ is now the only recipe, the conda-forge one that was
conda-recipe-cf/; the Intel-channel recipe and conda-package.yml are
removed. The dev uploads to anaconda.org and their cleanup move into
intel-ci.yml, for pushes to master and tags only. The wheels leave the SYCL
runtime out and require intel-sycl-rt and intel-cmplr-lib-rt, as the PyPI
wheels do; scikit-build is pinned below 1.0 (#2341).
LDFLAGS in the cibuildwheel environment links every Linux library with
-z,relro,-z,now, as conda-forge's compiler activation does for the conda
packages, so libDPCTLSyclInterface.so gets full RELRO like the extensions.
conda-build gets --extra-meta remote_url=... sha=... when GitHub Actions
sets GITHUB_SERVER_URL, GITHUB_REPOSITORY and GITHUB_SHA, so each conda
package records the commit it was built from.
A pull request also builds and tests the newest free-threaded version, and
every push and tag run gets a concurrency group of its own. The benchmarks
take PyYAML from conda-forge, as PyPI has no Python 3.15 wheel for it yet.
ci/build.py refuses two built packages with the same file name, which would
overwrite each other in its flat output directory.
ci/test.py fails when python -m dpctl -f fails, and when the environment's
conda compilers cannot build an extension, instead of deselecting the two
tests that need them. The dev upload takes each wheel's version from its
file name and fails when there is nothing to upload. The benchmarks set
USERPROFILE as well as HOME, and the repair commands match any libsycl
version, as wheel-requires allows any 2026 runtime.1 parent 4db4419 commit a3fdfd1
27 files changed
Lines changed: 2347 additions & 1328 deletions
File tree
- .github/workflows
- ci
- conda-recipe-cf
- conda-recipe
- docs
- _legacy/docfiles/user_guides
- doc_sources/contributor_guides
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | | - | |
| 408 | + | |
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
| |||
0 commit comments