Skip to content
Merged
Show file tree
Hide file tree
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
9 changes: 8 additions & 1 deletion C/CUDA/[email protected]/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,11 @@ platforms = [Platform("x86_64", "linux"),
Platform("aarch64", "linux"),
Platform("x86_64", "windows")]

build_sdk(name, version, platforms; static=false)
full_platforms = Platform[]
for platform in platforms
augmented_platform = deepcopy(platform)
augmented_platform["cuda"] = "$(version.major)"
push!(full_platforms, augmented_platform)
end

build_sdk(name, version, full_platforms; static=false)
9 changes: 8 additions & 1 deletion C/CUDA/[email protected]/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,11 @@ platforms = [Platform("x86_64", "linux"),
Platform("aarch64", "linux"),
Platform("x86_64", "windows")]

build_sdk(name, version, platforms; static=true)
full_platforms = Platform[]
for platform in platforms
augmented_platform = deepcopy(platform)
augmented_platform["cuda"] = "$(version.major)"
push!(full_platforms, augmented_platform)
end

build_sdk(name, version, full_platforms; static=true)
9 changes: 6 additions & 3 deletions C/CUDA/libNVVM/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ include(joinpath(YGGDRASIL_DIR, "fancy_toys.jl"))

name = "libNVVM"
version = v"4.0.5"
cuda_version = v"13.0.0"
cuda_version = v"13.0"

script = raw"""
cd ${WORKSPACE}/srcdir/libnvvm-*
Expand Down Expand Up @@ -38,8 +38,11 @@ builds = []
for platform in platforms
should_build_platform(triplet(platform)) || continue

sources = get_sources("cuda", ["libnvvm"]; version=cuda_version, platform)
push!(builds, (; platforms=[platform], sources))
augmented_platform = deepcopy(platform)
augmented_platform["cuda"] = "$(cuda_version.major)"

sources = get_sources("cuda", ["libnvvm"]; version=cuda_version, platform=augmented_platform)
push!(builds, (; platforms=[augmented_platform], sources))
end

# don't allow `build_tarballs` to override platform selection based on ARGS.
Expand Down
2 changes: 1 addition & 1 deletion platforms/cuda.jl
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const cuda_full_versions = [
v"12.6.3",
v"12.8.1",
v"12.9.1",
v"13.0.0",
v"13.0.1",
]

function full_version(ver::VersionNumber)
Expand Down