summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-03-30 04:17:22 +0000
committerCoprDistGit <infra@openeuler.org>2024-03-30 04:17:22 +0000
commit0a5ef3a0093f71218a32abc4e8a02d047985b4f0 (patch)
tree99b53c905e4bc51ad1576b09cfc2054ef0b5041c
parentf2c055bf999e096fd779db5115f0446f49030a92 (diff)
automatic import of pytorch
-rw-r--r--pytorch.spec24
-rw-r--r--sources2
2 files changed, 20 insertions, 6 deletions
diff --git a/pytorch.spec b/pytorch.spec
index 9df4895..41016d5 100644
--- a/pytorch.spec
+++ b/pytorch.spec
@@ -54,11 +54,9 @@ You can reuse your favorite Python packages such as NumPy, SciPy and Cython to e
%autosetup -p1 -n %{name}-v%{version}
%build
-# manual install the pkg have a try
-pip install hatchling
+sudo 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
@@ -88,7 +86,23 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
+* Thu Aug 17 2023 Dongxing Wang <dxwangk@isoftstone.com> - 2.0.1-2
+- Fix the EulerMaker failure for verion 2.0.1
-* Fri Mar 29 2024 youser
+* Mon Jul 24 2023 Dongxing Wang <dxwangk@isoftstone.com> - 2.0.1-1
+- upgrade to 2.0.1
+
+* Thu Feb 16 2023 Dongxing Wang <dxwangk@isoftstone.com> - 1.11.0-2
+- fixes: error: the CXX 11 compiler error (linux.cc flexible array member not at end of struct)
+
+* Mon Jun 13 2022 Zhipeng Xie <xiezhipeng1@huawei.com> - 1.11.0-1
+- upgrade to 1.11.0
+
+* Mon Jun 28 2021 wulei <wulei80@huawei.com> - 1.6.0-3
+- fixes: error: the CXX compiler identification is unknown
+
+* Thu Feb 4 2021 Zhipeng Xie<xiezhipeng1@huawei.com> - 1.6.0-2
+- disable SVE to fix compile error in gcc 9
+
+* Sun Sep 27 2020 Zhipeng Xie<xiezhipeng1@huawei.com> - 1.6.0-1
- Package init
-- try to fix the bug couldn't find python-hatchling
diff --git a/sources b/sources
index 1d28582..d6ba785 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5c75b2e1e8978d5591e601b90b8ac2ba pytorch-v2.1.2.tar.gz
+99afc663efe0dfe7fb8296b222e6eec8 pytorch-v2.1.2.tar.gz