Skip to content

Commit 2fb763c

Browse files
committed
Tahoe versioning
1 parent acbf53b commit 2fb763c

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/version.jl

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ See also [`Metal.air_support`](@ref) and [`Metal.metal_support`](@ref).
2020
"""
2121
function metallib_support()
2222
macos = macos_version()
23-
if macos >= v"15"
24-
v"1.2.8"
23+
if macos >= v"16" # Tahoe is v"26" but can report v"16" with julia versions not compiled with the Tahoe SDK
24+
v"1.2.9"
25+
elseif macos >= v"15"
26+
v"1.2.8"
2527
elseif macos >= v"13"
2628
v"1.2.7"
2729
elseif macos >= v"12"
@@ -48,7 +50,9 @@ See also [`Metal.metallib_support`](@ref) and [`Metal.metal_support`](@ref).
4850
"""
4951
function air_support()
5052
macos = macos_version()
51-
if macos >= v"15"
53+
if macos >= v"16" # Tahoe is v"26" but can report v"16" with julia versions not compiled with the Tahoe SDK
54+
v"2.8"
55+
elseif macos >= v"15"
5256
v"2.7"
5357
elseif macos >= v"14"
5458
v"2.6"
@@ -78,7 +82,9 @@ See also [`Metal.metallib_support`](@ref) and [`Metal.air_support`](@ref).
7882
"""
7983
function metal_support()
8084
macos = macos_version()
81-
if macos >= v"15"
85+
if macos >= v"16" # Tahoe is v"26" but can report v"16" with julia versions not compiled with the Tahoe SDK
86+
v"4"
87+
elseif macos >= v"15"
8288
v"3.2"
8389
elseif macos >= v"14"
8490
v"3.1"

0 commit comments

Comments
 (0)