Skip to content

Commit e84b753

Browse files
committed
[oneAPI] oneAPI_Level_Zero_Headers LTS version fix
1 parent f5b5fd4 commit e84b753

2 files changed

Lines changed: 52 additions & 0 deletions

File tree

O/oneAPI_Level_Zero/common_lts.jl

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Aurora dgpu LTS — currently pinned to LTS 2523.40.
2+
#
3+
# Per-package pins for the current point release are listed at:
4+
# https://dgpu-docs.osgc.infra-host.com/releases/packages.html?release=LTS+<X.Y>&os=all
5+
# General LTS line tracking:
6+
# https://docs.alcf.anl.gov/aurora/system-updates/
7+
# https://dgpu-docs.osgc.infra-host.com/releases/release-notes.html
8+
#
9+
# When Aurora ticks to a new point release (e.g. 2523.41) or a new LTS line
10+
# (e.g. 2624.x), bump `version`, `api_version` (if the API moved), the
11+
# GitSource commit, and the LTS comment annotations below — in place. The
12+
# resulting JLLs (`oneAPI_Level_Zero_Headers_LTS_jll`,
13+
# `oneAPI_Level_Zero_Loader_LTS_jll`) follow Aurora's tip; users that need a
14+
# specific Aurora release should pin via Pkg version compat (e.g.
15+
# `oneAPI_Level_Zero_Loader_LTS_jll = "=1.24.0"` for LTS 2523.40).
16+
17+
version = v"1.24.0" # libze1 / libze-dev shipped in LTS 2523.40
18+
api_version = v"1.13.0" # ZE_API_VERSION_CURRENT at v1.24.0
19+
20+
sources = BinaryBuilder.AbstractSource[
21+
GitSource("https://github.com/oneapi-src/level-zero.git",
22+
"9402907a3ce6987871325e4e1329e053b8e5cf2b"), # tag v1.24.0
23+
]
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Note that this script can accept some limited command-line arguments, run
2+
# `julia build_tarballs.jl --help` to see a usage message.
3+
using BinaryBuilder
4+
5+
include("../common_lts.jl")
6+
name = "oneAPI_Level_Zero_Headers_LTS"
7+
8+
# Bash recipe for building across all platforms
9+
script = raw"""
10+
cd level-zero
11+
install_license LICENSE
12+
13+
mkdir -p ${includedir}/level_zero
14+
rsync --archive --exclude="*.py" include/ ${includedir}/level_zero
15+
"""
16+
17+
# These are the platforms we will build for by default, unless further
18+
# platforms are passed in on the command line
19+
platforms = [AnyPlatform()]
20+
21+
# The products that we will ensure are always built
22+
products = [
23+
FileProduct("include/level_zero/ze_api.h", :ze_api)
24+
]
25+
26+
# Dependencies that must be installed before this package can be built
27+
dependencies = Dependency[]
28+
29+
build_tarballs(ARGS, name, api_version, sources, script, platforms, products, dependencies)

0 commit comments

Comments
 (0)