-
Notifications
You must be signed in to change notification settings - Fork 797
[CI] Use Ubuntu 24.04 for dev-igc and unstable #16255
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
ARG base_tag=latest | ||
ARG base_image=ghcr.io/intel/llvm/ubuntu2404_base | ||
|
||
FROM $base_image:$base_tag | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
ARG use_latest=true | ||
|
||
RUN apt update && apt install -yqq wget | ||
|
||
COPY scripts/get_release.py / | ||
COPY scripts/install_drivers.sh / | ||
COPY dependencies.json / | ||
|
||
RUN mkdir /runtimes | ||
ENV INSTALL_LOCATION=/runtimes | ||
RUN --mount=type=secret,id=github_token \ | ||
if [ "$use_latest" = "true" ]; then \ | ||
install_driver_opt=" --use-latest"; \ | ||
else \ | ||
install_driver_opt=" dependencies.json"; \ | ||
fi && \ | ||
GITHUB_TOKEN=$(cat /run/secrets/github_token) /install_drivers.sh $install_driver_opt --all | ||
|
||
COPY scripts/drivers_entrypoint.sh /drivers_entrypoint.sh | ||
|
||
ENTRYPOINT ["/bin/bash", "/drivers_entrypoint.sh"] | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,17 +41,20 @@ The following containers are publicly available for DPC++ compiler development: | |
- `ghcr.io/intel/llvm/ubuntu2404_base`: contains basic Ubuntu 24.04 environment | ||
setup for building DPC++ compiler from source. | ||
- `ghcr.io/intel/llvm/ubuntu2204_intel_drivers`: contains everything from the | ||
base container + pre-installed Intel drivers. | ||
The image comes in four flavors/tags: | ||
Ubuntu 22.04 base container + pre-installed Intel drivers. | ||
The image comes in two flavors/tags: | ||
* `latest`: Intel drivers are downloaded from release/tag and saved in | ||
dependencies.json. The drivers are tested/validated everytime we upgrade | ||
the driver. | ||
* `alldeps`: Includes the same Intel drivers as `latest`, as well as the | ||
development kits for NVidia/AMD from the `ubuntu2204_build` container. | ||
- `ghcr.io/intel/llvm/ubuntu2404_intel_drivers`: contains everything from the | ||
Ubuntu 24.04 base container + pre-installed Intel drivers. | ||
The image comes in two flavors/tags: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe we should provide There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sure, ill do it after i fix the igc-dev builds which is my overall goal with these PRs |
||
* `devigc`: Intel Graphics Compiler driver from github actions artifacts, | ||
other drivers are downloaded from release/tag and saved in dependencies.json. | ||
* `unstable`: Intel drivers are downloaded from release/latest. | ||
The drivers are installed as it is, not tested or validated. | ||
* `alldeps`: Includes the same Intel drivers as `latest`, as well as the | ||
development kits for NVidia/AMD from the `ubuntu2204_build` container. | ||
- `ghcr.io/intel/llvm/ubuntu2204_build`: has development kits installed for | ||
NVidia/AMD and can be used for building DPC++ compiler from source with all | ||
backends enabled or for end-to-end testing with HIP/CUDA on machines with | ||
|
Uh oh!
There was an error while loading. Please reload this page.