From 608f2260f4e61755d24d966bec5fab6be28dc3d9 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 29 Mar 2024 13:48:22 +0000 Subject: automatic import of pytorch --- pytorch.spec | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pytorch.spec') 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 -- cgit v1.2.3