Search
SailfishOS Open Build Service
>
Projects
>
home:blacksailer
>
pytorch
> Changes
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 109
[-]
[+]
Changed
pytorch.spec
@@ -9,7 +9,7 @@ Source: %{name}-%{version}.tar.gz License: BSD BuildRequires: gflags-devel glog-devel protobuf-devel protobuf-compiler -BuildRequires: cmake python3-devel python3-pip +BuildRequires: cmake python3-devel python3-pip python3-yaml BuildRequires: dos2unix BuildRoot: %{_tmppath}/%{name}-%{version}-root #Patch0: 21737.patch @@ -24,7 +24,7 @@ # find . -type f -print0 | xargs -0 dos2unix -- # %patch0 -p0 %build -pip3 install future setuptools typing_extensions future six requests pyyaml +#pip3 install future setuptools typing_extensions future six requests pyyaml export PYTORCH_BUILD_MOBILE=1 CAFFE2_ROOT=`pwd` BUILD_ROOT=${BUILD_ROOT:-"$CAFFE2_ROOT/build_mobile"}