Fix the EulerMaker failure
This commit is contained in:
parent
9a900a357e
commit
17e6cf0ccf
@ -1,7 +1,7 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: pytorch
|
||||
Version: 2.0.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration
|
||||
License: BSD-3
|
||||
URL: https://pytorch.org/
|
||||
@ -54,8 +54,8 @@ You can reuse your favorite Python packages such as NumPy, SciPy and Cython to e
|
||||
%autosetup -p1 -n %{name}-v%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS+=" -Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=restrict"
|
||||
export CXXFLAGS+=" -Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=restrict"
|
||||
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"
|
||||
%pyproject_build
|
||||
|
||||
%install
|
||||
@ -85,6 +85,9 @@ 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
|
||||
|
||||
* Mon Jul 24 2023 Dongxing Wang <dxwangk@isoftstone.com> - 2.0.1-1
|
||||
- upgrade to 2.0.1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user