From 6fcfa35b32b9b638bc0954734f69d2479d991edc45b4081fb74e30cfd7775483 Mon Sep 17 00:00:00 2001 From: Christian Goll Date: Wed, 26 Feb 2020 13:47:31 +0000 Subject: [PATCH] - 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 --- python-torch.changes | 6 ++++++ python-torch.spec | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/python-torch.changes b/python-torch.changes index c0ce6a7..af1f34c 100644 --- a/python-torch.changes +++ b/python-torch.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 26 13:07:14 UTC 2020 - Simon Lees + +- 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 diff --git a/python-torch.spec b/python-torch.spec index fd1d909..2cb3ca6 100644 --- a/python-torch.spec +++ b/python-torch.spec @@ -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}