From 2269d424f95ce063e5dba0ed0b68a11f45acb8a9 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Sun, 22 Sep 2024 17:55:06 +0200 Subject: [PATCH] py-jaxlib: add GCC 13 support (#46433) --- var/spack/repos/builtin/packages/py-jaxlib/package.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/var/spack/repos/builtin/packages/py-jaxlib/package.py b/var/spack/repos/builtin/packages/py-jaxlib/package.py index 951aa4d9d39c25..fcd624cdd23de7 100644 --- a/var/spack/repos/builtin/packages/py-jaxlib/package.py +++ b/var/spack/repos/builtin/packages/py-jaxlib/package.py @@ -99,6 +99,12 @@ class PyJaxlib(PythonPackage, CudaPackage): depends_on("py-numpy@:1", when="@:0.4.25") depends_on("py-ml-dtypes@0.4:", when="@0.4.29") + patch( + "https://github.com/google/jax/pull/20101.patch?full_index=1", + sha256="4dfb9f32d4eeb0a0fb3a6f4124c4170e3fe49511f1b768cd634c78d489962275", + when="@:0.4.25", + ) + conflicts( "cuda_arch=none", when="+cuda",