From 1b20ec47dbac56d0b5480021622637b9d8f833be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20M=C3=BCller?= <mueller@kip.uni-heidelberg.de> Date: Wed, 8 Dec 2021 18:25:36 +0100 Subject: [PATCH] Fix py-torch build PyTorch 1.9.1 (fixed in versions >= 1.10.0) depends on an older onnx version that utilizes a deprecated function from Google's protobuf library that was removed in version 3.18.0 (see https://github.com/protocolbuffers/protobuf/pull/8794/). Workaround by specifying an explicit version range for this dependency. --- spack.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spack.yaml b/spack.yaml index 41091426..b87ef184 100644 --- a/spack.yaml +++ b/spack.yaml @@ -32,5 +32,5 @@ spack: # demo for codejam12 - funniest1022 %gcc@10.3.0 # NRP - #- py-torch~mkldnn~cuda~cudnn~onnx_ml %gcc@10.3.0 + - py-torch~mkldnn~cuda~cudnn~onnx_ml ^protobuf@:3.17.999 %gcc@10.3.0 concretization: together -- GitLab