From fa2d3ac0108dac6c69370b0257f34b7e805343e3 Mon Sep 17 00:00:00 2001 From: "Noah D. Brenowitz" Date: Mon, 16 Sep 2024 12:04:16 -0700 Subject: [PATCH] fix compile w/o cuda --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index dc5d496..6a417b3 100644 --- a/setup.py +++ b/setup.py @@ -80,7 +80,7 @@ def get_compiler(): extra_compile_args={'nvcc': ['-O2']}, ), ) -except ImportError: +except (ImportError, OSError): warnings.warn("Cuda extensions for torch not found, skipping cuda healpix padding module")