Skip to content

rscohn2/setup-oneapi

Repository files navigation

setup-oneapi

This GitHub action installs oneapi components. See example.

Inputs

cache

Speed up install by using GitHub cache. Default true.

components

Components to install. Default none.

prune

Speed up cache save/restore by removing infrequently used files. Default true.

list

Show the list of available components. Default false.

Developer Info

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.

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.