Skip to content

Commit 9edbffd

Browse files
authored
py-tensorflow: patch to build with +cuda (spack#2426)
1 parent c244b6f commit 9edbffd

File tree

1 file changed

+7
-0
lines changed
  • repos/spack_repo/builtin/packages/py_tensorflow

1 file changed

+7
-0
lines changed

repos/spack_repo/builtin/packages/py_tensorflow/package.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,13 @@ class PyTensorflow(Package, CudaPackage, ROCmPackage, PythonExtension):
391391
# https://github.com/tensorflow/tensorflow/issues/62416
392392
conflicts("%clang@17:", when="@:2.14")
393393

394+
# Fix build error with CUDA
395+
patch(
396+
"https://github.com/tensorflow/tensorflow/pull/99046.patch?full_index=1",
397+
sha256="2912121c181de1a695f1ee791cf94f8d71fca4955e8095e506e814d07eac5825",
398+
when="@2.20",
399+
)
400+
394401
# https://github.com/spack/spack/issues/49958
395402
patch(
396403
"https://github.com/tensorflow/tensorflow/pull/90563.patch?full_index=1",

0 commit comments

Comments
 (0)