diff options
author | CoprDistGit <infra@openeuler.org> | 2024-03-29 13:48:22 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-03-29 13:48:22 +0000 |
commit | 608f2260f4e61755d24d966bec5fab6be28dc3d9 (patch) | |
tree | 1775cea18f325a9c79630fa8f3fe26dd2182d50a /pytorch.spec | |
parent | 3ed550e4b3bf58e1b7d8eac8e7109b71014f78b2 (diff) |
automatic import of pytorch
Diffstat (limited to 'pytorch.spec')
-rw-r--r-- | pytorch.spec | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pytorch.spec b/pytorch.spec index 2608227..f21c217 100644 --- a/pytorch.spec +++ b/pytorch.spec @@ -54,6 +54,7 @@ You can reuse your favorite Python packages such as NumPy, SciPy and Cython to e %autosetup -p1 -n %{name}-v%{version} %build +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" %pyproject_build @@ -85,5 +86,7 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog + * Fri Mar 29 2024 youser - Package init +- try to fix the bug couldn't find python-hatchling |