- Exclude i586 builds for now, they fail with a cryptic return

code of 1 from cmake from python.

This will be needed for the package to be accepted into factory

OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-torch?expand=0&rev=13
This commit is contained in:
Christian Goll 2020-02-26 13:47:31 +00:00 committed by Git OBS Bridge
parent 8b57f14a05
commit 6fcfa35b32
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 26 13:07:14 UTC 2020 - Simon Lees <sflees@suse.de>
- Exclude i586 builds for now, they fail with a cryptic return
code of 1 from cmake from python.
-------------------------------------------------------------------
Fri Feb 21 14:15:00 UTC 2020 - Christian Goll <cgoll@suse.com>

View File

@ -21,6 +21,8 @@
%define skip_python2 1
%define pname torch
Name: python-torch
Version: 1.4.0
Release: 0
@ -58,6 +60,9 @@ Source22: https://github.com/pytorch/QNNPACK/archive/7d2a4e9931a82adc38142
Patch0: removed-peachpy-depedency.patch
Patch1: skip-third-party-check.patch
# A python call to cmake fails with a return code of 1 on this arch, disable it for now.
ExcludeArch: %ix86
BuildRequires: %{python_module Gloo}
%ifarch x86_64
BuildRequires: %{python_module PeachPy}