From 32211b05e4b36cadac3d4d3ae249f68d355194e1 Mon Sep 17 00:00:00 2001 From: jlbuild Date: Tue, 1 Oct 2024 08:23:49 +0000 Subject: [PATCH] CUDA_Driver_jll build 0.10.3+0 --- Artifacts.toml | 4 ++-- Project.toml | 2 +- README.md | 4 ++-- src/wrappers/aarch64-linux-gnu.jl | 4 +++- src/wrappers/x86_64-linux-gnu.jl | 4 +++- 5 files changed, 11 insertions(+), 7 deletions(-) diff --git a/Artifacts.toml b/Artifacts.toml index 1f69c6d..f0d7df4 100644 --- a/Artifacts.toml +++ b/Artifacts.toml @@ -6,7 +6,7 @@ os = "linux" [[CUDA_Driver.download]] sha256 = "0dc42f8d5e9db361408d0c662d3280f0df2fb6ae6bcdc708ff200ac989ca980d" - url = "https://github.com/JuliaBinaryWrappers/CUDA_Driver_jll.jl/releases/download/CUDA_Driver-v0.10.2+0/CUDA_Driver.v0.10.2.x86_64-linux-gnu.tar.gz" + url = "https://github.com/JuliaBinaryWrappers/CUDA_Driver_jll.jl/releases/download/CUDA_Driver-v0.10.3+0/CUDA_Driver.v0.10.3.x86_64-linux-gnu.tar.gz" [[CUDA_Driver]] arch = "aarch64" git-tree-sha1 = "ac590aa9b4cdd18e8552c8be71157166811195e7" @@ -15,4 +15,4 @@ os = "linux" [[CUDA_Driver.download]] sha256 = "d5e701f5ea4cd5c82e2c68683bef039479d94b8afa5ac35d7458f32d4dbba9ba" - url = "https://github.com/JuliaBinaryWrappers/CUDA_Driver_jll.jl/releases/download/CUDA_Driver-v0.10.2+0/CUDA_Driver.v0.10.2.aarch64-linux-gnu.tar.gz" + url = "https://github.com/JuliaBinaryWrappers/CUDA_Driver_jll.jl/releases/download/CUDA_Driver-v0.10.3+0/CUDA_Driver.v0.10.3.aarch64-linux-gnu.tar.gz" diff --git a/Project.toml b/Project.toml index ef50885..bb0368f 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "CUDA_Driver_jll" uuid = "4ee394cb-3365-5eb0-8335-949819d2adfc" -version = "0.10.2+0" +version = "0.10.3+0" [deps] JLLWrappers = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210" diff --git a/README.md b/README.md index b4f226d..d15f8a9 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -# `CUDA_Driver_jll.jl` (v0.10.2+0) +# `CUDA_Driver_jll.jl` (v0.10.3+0) [![deps](https://juliahub.com/docs/CUDA_Driver_jll/deps.svg)](https://juliahub.com/ui/Packages/General/CUDA_Driver_jll/) This is an autogenerated package constructed using [`BinaryBuilder.jl`](https://github.com/JuliaPackaging/BinaryBuilder.jl). -The originating [`build_tarballs.jl`](https://github.com/JuliaPackaging/Yggdrasil/blob/86d4db53dc4f579399387b13dd6ed6bfc6ca7f5c/C/CUDA/CUDA_Driver/build_tarballs.jl) script can be found on [`Yggdrasil`](https://github.com/JuliaPackaging/Yggdrasil/), the community build tree. +The originating [`build_tarballs.jl`](https://github.com/JuliaPackaging/Yggdrasil/blob/edc7cf88161170bddf35499b3fb210a958adbecf/C/CUDA/CUDA_Driver/build_tarballs.jl) script can be found on [`Yggdrasil`](https://github.com/JuliaPackaging/Yggdrasil/), the community build tree. ## Bug Reports diff --git a/src/wrappers/aarch64-linux-gnu.jl b/src/wrappers/aarch64-linux-gnu.jl index 1f41cc1..e4a4e28 100644 --- a/src/wrappers/aarch64-linux-gnu.jl +++ b/src/wrappers/aarch64-linux-gnu.jl @@ -107,8 +107,10 @@ function __init__() exit(0) """ - success(`$(Base.julia_cmd()) --compile=min -t1 --startup-file=no -e $script $driver $deps`) + # make sure we don't include any system image flags here since this will cause an infinite loop of __init__() + success(`$(Cmd(filter(!startswith(r"-J|--sysimage"), Base.julia_cmd().exec))) --compile=min -t1 --startup-file=no -e $script $driver $deps`) end + if can_use_compat && !try_driver(libcuda_compat, libcuda_deps) @debug "Failed to load forwards-compatible driver." can_use_compat = false diff --git a/src/wrappers/x86_64-linux-gnu.jl b/src/wrappers/x86_64-linux-gnu.jl index a7b6211..aac4fcf 100644 --- a/src/wrappers/x86_64-linux-gnu.jl +++ b/src/wrappers/x86_64-linux-gnu.jl @@ -107,8 +107,10 @@ function __init__() exit(0) """ - success(`$(Base.julia_cmd()) --compile=min -t1 --startup-file=no -e $script $driver $deps`) + # make sure we don't include any system image flags here since this will cause an infinite loop of __init__() + success(`$(Cmd(filter(!startswith(r"-J|--sysimage"), Base.julia_cmd().exec))) --compile=min -t1 --startup-file=no -e $script $driver $deps`) end + if can_use_compat && !try_driver(libcuda_compat, libcuda_deps) @debug "Failed to load forwards-compatible driver." can_use_compat = false