From 77c2700f2dc9d32f817854aab7cfec8f65231cad Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 12 Apr 2024 16:20:39 +0000 Subject: automatic import of python-torchrl --- python-torchrl.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'python-torchrl.spec') diff --git a/python-torchrl.spec b/python-torchrl.spec index 7974b74..b523a6c 100644 --- a/python-torchrl.spec +++ b/python-torchrl.spec @@ -7,6 +7,7 @@ License: MIT URL: https://pypi.org/project/torchrl/ Source0: https://github.com/pytorch/rl/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Requires: python3-pytorch Requires: python3-pytorch_package_dep Requires: python3-numpy Requires: python3-packaging @@ -27,7 +28,6 @@ BuildRequires: python3-pip BuildRequires: python3-setuptools BuildRequires: python3-wheel BuildRequires: python3-ninja -BuildRequires: python3-pytorch #BuildRequires: python3-hatchling @@ -43,6 +43,7 @@ Provides: python3-torchrl-doc %build export MAX_JOBS=8 +CFLAGS+=" $(python%{python3_version}-config --includes)" %pyproject_build %install -- cgit v1.2.3