/icc-travis

Directions for installing ICC compiler on Travis CI

Primary LanguageShell

Instructions

The script that lives here doesn't really work anymore for most licenses and hasn't been updated for newer versions of ICC, but there is now a much easier way: use Intel's APT repository.

This integrates nicely with Travis CI's APT Addon, or you can install it manually.

Using Travis CI's APT Addon

You'll need to add the following to your .travis.yml file:

addons:
  apt:
    sources:
    - sourceline: 'deb https://apt.repos.intel.com/oneapi all main'
      key_url: 'https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB'
    packages:
    - intel-oneapi-icc

If you would like an example, see SIMDe's .travis.yml