From 439389a764952dff0e6d747d0a1bed11d12e3aae Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Tue, 7 Feb 2023 18:43:35 +0000
Subject: [PATCH] py-torch: avoid avx512 gcc bug

---
 spack.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spack.yaml b/spack.yaml
index 0c967f89f..09b4a7984 100644
--- a/spack.yaml
+++ b/spack.yaml
@@ -39,7 +39,7 @@ spack:
     - pythia8@8.306 +fastjet
     - python@3.10.8
     - py-boto3@1.18.12
-    - py-minkowskiengine@0.5.4
+    - py-minkowskiengine@0.5.4 cflags="-Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=restrict" cxxflags="-Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=restrict" # https://github.com/pytorch/FBGEMM/issues/1094
     - py-numpy@1.23.4
     - py-pip@22.2.2
     - py-toml@0.10.2
-- 
GitLab