.. image:: https://github.com/rscohn2/setup-oneapi/actions/workflows/main.yml/badge.svg :target: https://github.com/rscohn2/setup-oneapi/actions/workflows/main.yml
This GitHub action installs oneapi components. See example_.
Speed up install by using GitHub cache. Default true
.
Components to install. Default none.
Speed up cache save/restore by removing infrequently used
files. Default true
.
Show the list of available components. Default false
.
Use nvm_ to install node.
Install dependencies::
npm i @vercel/ncc npm install
If you already installed then update with::
npm update
Run checkers as part of pre-commit hook::
pip install pre-commit pre-commit install
You can also run checkers manually::
pre-commit run --all
pre-commit
automatically fixes most errors. Add the changed files
to your commit and try again.
To publish a new oneapi release, update src/main.js. Get the URLS from the corresponding spack packages.
.. list-table:: :header-rows: 1
-
- update src/main.js
- spack package
-
- ccl
-
intel-onepi-ccl
_
-
- dal
-
intel-onepi-dal
_
-
- dnn
-
intel-onepi-dnn
_
-
- dpl
-
intel-onepi-dpl
_
-
- icx/ifx
-
intel-onepi-compilers
_
-
- impi
-
intel-onepi-mpi
_
-
- ipp
-
intel-onepi-ipp
_
-
- ippcp
-
intel-onepi-ippcp
_
-
- mkl
-
intel-onepi-mkl
_
-
- tbb
-
intel-onepi-tbb
_
Compile the package::
npm run build
Commit changes and submit via PR.
If CI passes, merge main branch into v0 branch.
You can add test cases to: CI_.
.. _intel-onepi-ccl
: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/intel-oneapi-ccl/package.py
.. _intel-onepi-compilers
: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
.. _intel-onepi-dal
: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/intel-oneapi-dal/package.py
.. _intel-onepi-dnn
: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/intel-oneapi-dnn/package.py
.. _intel-onepi-dpl
: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/intel-oneapi-dpl/package.py
.. _intel-onepi-ipp
: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/intel-oneapi-ipp/package.py
.. _intel-onepi-ippcp
: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/intel-oneapi-ippcp/package.py
.. _intel-onepi-mkl
: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py
.. _intel-onepi-mpi
: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/intel-oneapi-mpi/package.py
.. _intel-onepi-tbb
: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/intel-oneapi-tbb/package.py
.. _CI: .github/workflows/main.yml .. _example: https://github.com/rscohn2/test-setup-oneapi/blob/main/.github/workflows/main.yml .. _nvm: https://github.com/nvm-sh/nvm