summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-03-30 03:04:12 +0000
committerCoprDistGit <infra@openeuler.org>2024-03-30 03:04:12 +0000
commitf2c055bf999e096fd779db5115f0446f49030a92 (patch)
tree4df82c9ec1631c0d4838697f7b4452d1537767c6
parentb3fed366afc805e0aafb7b6ca6e609f6e72aa37c (diff)
automatic import of pytorch
-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