Accepting request 641958 from home:seanlew:branches:devel:libraries:c_c++

Updae Vc to 1.4.0

OBS-URL: https://build.opensuse.org/request/show/641958
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Vc?expand=0&rev=25
This commit is contained in:
Ismail Dönmez 2018-10-15 07:50:12 +00:00 committed by Git OBS Bridge
parent f06395f0fb
commit 59be176f0d
6 changed files with 12 additions and 39 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:08c629d2e14bfb8e4f1a10f09535e4a3c755292503c971ab46637d2986bdb4fe
size 781361

3
Vc-1.4.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e6cfc056eb3a72a57751e768ba63236ebf2711d267fbd1dc0acfee0ac16fdf68
size 628333

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Oct 15 01:03:45 UTC 2018 - sean@suspend.net
- Update to version 1.4.0:
* i686 build failure build fixed upstream (#190)
-------------------------------------------------------------------
Tue Feb 20 20:46:38 UTC 2018 - stefan.bruens@rwth-aachen.de

View File

@ -13,22 +13,19 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: Vc
Version: 1.3.3
Version: 1.4.0
Release: 0
Summary: Collection of SIMD Vector Classes
License: BSD-3-Clause
Group: System/Libraries
Url: https://github.com/VcDevel/Vc/
Source0: https://github.com/VcDevel/Vc/releases/download/%{version}/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM fix_i686_build.patch asterios.dramis@gmail.com -- Fix i686 build
Patch0: fix_i686_build.patch
# PATCH-FIX-SUSE default_to_scalar_implementation_for_unknown_arch.patch stefan.bruens@rwth-aachen.de -- fix PPC build
Patch1: default_to_scalar_implementation_for_unknown_arch.patch
BuildRequires: cmake
BuildRequires: doxygen
BuildRequires: gcc-c++
@ -79,8 +76,6 @@ This package provides the Vc static library.
%prep
%setup -q
%patch0 -p1
%patch1 -p0
%build
%cmake \

View File

@ -1,12 +0,0 @@
--- CMakeLists.txt.orig 2018-02-20 21:40:23.851663534 +0100
+++ CMakeLists.txt 2018-02-20 21:41:10.567838665 +0100
@@ -149,7 +149,8 @@
elseif(Vc_ARM)
list(APPEND _srcs src/support_dummy.cpp)
else()
- message(FATAL_ERROR "Unsupported target architecture '${CMAKE_SYSTEM_PROCESSOR}'. No support_???.cpp file exists for this architecture.")
+ message(STATUS "Unsupported target architecture '${CMAKE_SYSTEM_PROCESSOR}'. No support_???.cpp file exists for this architecture.")
+ list(APPEND _srcs src/support_dummy.cpp)
endif()
add_library(Vc STATIC ${_srcs})
set_property(TARGET Vc APPEND PROPERTY COMPILE_OPTIONS ${libvc_compile_flags})

View File

@ -1,17 +0,0 @@
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: Vc-1.3.3/CMakeLists.txt
===================================================================
--- Vc-1.3.3.orig/CMakeLists.txt
+++ Vc-1.3.3/CMakeLists.txt
@@ -21,7 +21,7 @@ include (OptimizeForArchitecture)
vc_determine_compiler()
-if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "(x86|AMD64|amd64)")
+if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "(i686|x86|AMD64|amd64)")
set(Vc_X86 TRUE)
find_package(MIC)
elseif("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "(arm|aarch32|aarch64)")