summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-01-27 02:14:37 +0000
committerCoprDistGit <infra@openeuler.org>2024-01-27 02:14:37 +0000
commit1384d51092cf328732c3a37b434003789eb93773 (patch)
treebb72ce94197359e981829ee4f77d4c42feadd2c6
parent4c34cbcf6851b6b060ab29f4a9a71e461adae15e (diff)
automatic import of pytorch3d
-rw-r--r--pytorch3d.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/pytorch3d.spec b/pytorch3d.spec
index f4e8a9f..88d30a7 100644
--- a/pytorch3d.spec
+++ b/pytorch3d.spec
@@ -34,6 +34,7 @@ BuildRequires: python3-pyyaml
BuildRequires: cmake
BuildRequires: python3-typing-extensions
BuildRequires: python3-requests
+BuildRequires: python3-pytorch
%description -n python3-pytorch3d
PyTorch is a Python package that provides two high-level features:
@@ -55,7 +56,7 @@ You can reuse your favorite Python packages such as NumPy, SciPy and Cython to e
%build
#%py3_build
-/root/anaconda3/bin/python3 setup.py build
+python3 setup.py build
%install
#%py3_install