summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pytorch.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/pytorch.spec b/pytorch.spec
index d4657da..9df4895 100644
--- a/pytorch.spec
+++ b/pytorch.spec
@@ -58,6 +58,7 @@ You can reuse your favorite Python packages such as NumPy, SciPy and Cython to e
pip install hatchling
export CFLAGS+=" -Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=restrict -fPIC"
export CXXFLAGS+=" -Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=restrict -fPIC"
+export USE_CUDA=0
%pyproject_build
%install