diff --git a/C/CUDA/CUDA_Runtime/build_12.8.jl b/C/CUDA/CUDA_Runtime/build_12.8.jl new file mode 100644 index 00000000000..6862abd49e9 --- /dev/null +++ b/C/CUDA/CUDA_Runtime/build_12.8.jl @@ -0,0 +1,23 @@ +function get_products(platform) + [ + LibraryProduct(["libcudart", "cudart64_12"], :libcudart), + LibraryProduct(["libcufft", "cufft64_11"], :libcufft), + LibraryProduct(["libcublas", "cublas64_12"], :libcublas), + LibraryProduct(["libcublasLt", "cublasLt64_12"], :libcublasLt), + LibraryProduct(["libcusparse", "cusparse64_12"], :libcusparse), + LibraryProduct(["libcusolver", "cusolver64_11"], :libcusolver), + LibraryProduct(["libcusolverMg", "cusolverMg64_11"], :libcusolverMg), + LibraryProduct(["libcurand", "curand64_10"], :libcurand), + LibraryProduct(["libcupti", "cupti64_2025.1.0"], :libcupti), + LibraryProduct(["libnvperf_host", "nvperf_host"], :libnvperf_host), + LibraryProduct(["libnvperf_target", "nvperf_target"], :libnvperf_target), + LibraryProduct(["libnvrtc", "nvrtc64_120_0"], :libnvrtc), + LibraryProduct(["libnvrtc-builtins", "nvrtc-builtins64_128"], :libnvrtc_builtins), + LibraryProduct(["libnvJitLink", "nvJitLink_120_0"], :libnvJitLink), + FileProduct(["lib/libcudadevrt.a", "lib/cudadevrt.lib"], :libcudadevrt), + FileProduct("share/libdevice/libdevice.10.bc", :libdevice), + ExecutableProduct("ptxas", :ptxas), + ExecutableProduct("nvdisasm", :nvdisasm), + ExecutableProduct("nvlink", :nvlink), + ] +end diff --git a/C/CUDA/CUDA_Runtime/build_tarballs.jl b/C/CUDA/CUDA_Runtime/build_tarballs.jl index f90733faa50..422dd33a0e0 100644 --- a/C/CUDA/CUDA_Runtime/build_tarballs.jl +++ b/C/CUDA/CUDA_Runtime/build_tarballs.jl @@ -7,7 +7,7 @@ include(joinpath(YGGDRASIL_DIR, "fancy_toys.jl")) include(joinpath(YGGDRASIL_DIR, "platforms", "cuda.jl")) name = "CUDA_Runtime" -version = v"0.15.5" +version = v"0.16.0" augment_platform_block = """ $(read(joinpath(@__DIR__, "platform_augmentation.jl"), String)) @@ -158,14 +158,14 @@ for version in CUDA.cuda_full_versions if Base.thisminor(version) == v"10.2" push!(builds, - (; dependencies=[Dependency("CUDA_Driver_jll"; compat="0.10"), + (; dependencies=[Dependency("CUDA_Driver_jll"; compat="0.12"), BuildDependency(PackageSpec(name="CUDA_SDK_jll", version=v"10.2.89"))], script=get_script(), platforms=[augmented_platform], products=get_products(platform), sources=[] )) else push!(builds, - (; dependencies=[Dependency("CUDA_Driver_jll"; compat="0.10")], + (; dependencies=[Dependency("CUDA_Driver_jll"; compat="0.12")], script, platforms=[augmented_platform], products=get_products(platform), sources=get_sources("cuda", components; version, platform) )) diff --git a/C/CUDA/CUDA_SDK@12.8/build_tarballs.jl b/C/CUDA/CUDA_SDK@12.8/build_tarballs.jl new file mode 100644 index 00000000000..ccce2170264 --- /dev/null +++ b/C/CUDA/CUDA_SDK@12.8/build_tarballs.jl @@ -0,0 +1,17 @@ +using BinaryBuilder, Pkg + +include("../common.jl") + +const YGGDRASIL_DIR = "../../.." +include(joinpath(YGGDRASIL_DIR, "fancy_toys.jl")) +include(joinpath(YGGDRASIL_DIR, "platforms", "cuda.jl")) + +name = "CUDA_SDK" +version = CUDA.full_version(v"12.8") + +platforms = [Platform("x86_64", "linux"), + Platform("aarch64", "linux"; cuda_platform="jetson"), + Platform("aarch64", "linux"; cuda_platform="sbsa"), + Platform("x86_64", "windows")] + +build_sdk(name, version, platforms; static=false) diff --git a/C/CUDA/CUDA_SDK_static@12.8/build_tarballs.jl b/C/CUDA/CUDA_SDK_static@12.8/build_tarballs.jl new file mode 100644 index 00000000000..99a4b5c9958 --- /dev/null +++ b/C/CUDA/CUDA_SDK_static@12.8/build_tarballs.jl @@ -0,0 +1,17 @@ +using BinaryBuilder, Pkg + +include("../common.jl") + +const YGGDRASIL_DIR = "../../.." +include(joinpath(YGGDRASIL_DIR, "fancy_toys.jl")) +include(joinpath(YGGDRASIL_DIR, "platforms", "cuda.jl")) + +name = "CUDA_SDK_static" +version = CUDA.full_version(v"12.8") + +platforms = [Platform("x86_64", "linux"), + Platform("aarch64", "linux"; cuda_platform="jetson"), + Platform("aarch64", "linux"; cuda_platform="sbsa"), + Platform("x86_64", "windows")] + +build_sdk(name, version, platforms; static=true) diff --git a/platforms/cuda.jl b/platforms/cuda.jl index 78966bbcc8b..ab5dbdc8a89 100644 --- a/platforms/cuda.jl +++ b/platforms/cuda.jl @@ -126,6 +126,7 @@ const cuda_full_versions = [ v"12.4.1", v"12.5.1", v"12.6.3", + v"12.8.0", ] function full_version(ver::VersionNumber)