From aa5eba76df4a376164457366e941e261aaae2d9c Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sat, 30 Mar 2024 05:42:54 +0000 Subject: automatic import of pytorch --- pytorch.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytorch.spec b/pytorch.spec index 41016d5..7d83659 100644 --- a/pytorch.spec +++ b/pytorch.spec @@ -54,7 +54,7 @@ You can reuse your favorite Python packages such as NumPy, SciPy and Cython to e %autosetup -p1 -n %{name}-v%{version} %build -sudo pip install hatchling +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 -- cgit v1.2.3