diff options
-rw-r--r-- | var/spack/repos/builtin/packages/py-tensorflow-hub/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-tensorflow-hub/package.py b/var/spack/repos/builtin/packages/py-tensorflow-hub/package.py index 07391321e0..3f57826bf8 100644 --- a/var/spack/repos/builtin/packages/py-tensorflow-hub/package.py +++ b/var/spack/repos/builtin/packages/py-tensorflow-hub/package.py @@ -28,6 +28,10 @@ class PyTensorflowHub(Package): depends_on('py-numpy@1.12.0:', type=('build', 'run')) depends_on('py-protobuf@3.8.0:', type=('build', 'run')) + patch("https://github.com/tensorflow/hub/commit/049192a7edd3e80eebf1735b93f57c7965381bdb.patch?full_index=1", + sha256="a825b2dd96d8f1ff1aaf2e4c9e2cbb52d3d75609909fce960e1cfa681040c4c3", + when="@:0.12") + def install(self, spec, prefix): tmp_path = tempfile.mkdtemp(prefix='spack') env['TEST_TMPDIR'] = tmp_path |