Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install intel icx open source #1039

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions bin/yaml/cpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,18 @@ compilers:
chmod +x installer.bin
./installer.bin --unattendedmodeui none --mode unattended --prefix .
rm installer.bin
intel-os-cpp:
type: script
dir: "intel-os-cpp-{name}"
check_exe: bin/clang++ --version
check_stderr_on_stdout: true
targets:
- name: 2023.0618
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As phrased this will once and once only install 2023.0618. We need to ensure this is tagged as nightly with

if: nightly

somewhere, and we will need to consider how to do the nightly "rotation". There are two choices: either we force: yes or similar (I forget the exact syntax), which will unconditionally re-install "over the top" of the current build (probably ok), or else we need to have a daily_script type: which does the necessary care and feeding of the symlinks we use in other cases.

fetch:
- https://github.com/intel/llvm/releases/download/sycl-nightly%2F20230618/dpcpp-compiler.tar.gz dpcpp-compiler.tar.gz
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is sycl the same as C++ here?

script: &intel-os-install-script |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This script appears to do nothing the normal installation process does...I think this can be rephrased in terms of a normal install, which would fix the "daily" part too! Will sketch out soemthing!

mkdir {dir}
tar zxf dpcpp-compiler.tar.gz -C {dir} --strip-components=1
intel-cpp:
type: script
dir: "intel-cpp-{name}"
Expand Down