GitXplorerGitXplorer
r

setup-oneapi

public
16 stars
4 forks
7 issues

Commits

List of commits on branch main.
Verified
2ad0cf6b74bc2426bdcee825cf88f9db719dd727

update to node 20 (#38)

rrscohn2 committed 8 months ago
Verified
a9bdbe092b5a98b215843d3637b2b2444c70bf4c

oneapi 2024.1 release (#37)

rrscohn2 committed 9 months ago
Verified
ecf43260bfc0910b01991399a1848170b60942c5

update dependencies (#36)

rrscohn2 committed 9 months ago
Verified
2f4f7b774f631704c7b85a5a28e01bf524230a0d

2024 release (#29)

rrscohn2 committed a year ago
Verified
ffa9a8ac4da72da012790f7f084066a2c54fbbaf

Bump @actions/github from 5.1.1 to 6.0.0 (#27)

ddependabot[bot] committed a year ago
Verified
a1b89981db14b062ca026af1d00a904ff032b308

Bump @opentelemetry/api from 1.4.1 to 1.6.0 (#22)

ddependabot[bot] committed a year ago

README

The README file for this repository.

============== setup-oneapi

.. 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_.

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.

.. 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