Repository navigation
Commit 9ea68d5
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.1 parent 2ed816f commit 9ea68d5
27 files changed
Lines changed: 2319 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