commit Vc for openSUSE:Factory

2020-05-13 Thread root
Hello community,

here is the log from the commit of package Vc for openSUSE:Factory checked in 
at 2020-05-13 22:56:54

Comparing /work/SRC/openSUSE:Factory/Vc (Old)
 and  /work/SRC/openSUSE:Factory/.Vc.new.2738 (New)


Package is "Vc"

Wed May 13 22:56:54 2020 rev:13 rq:805364 version:1.4.1

Changes:

--- /work/SRC/openSUSE:Factory/Vc/Vc.changes2019-07-18 15:22:35.080120883 
+0200
+++ /work/SRC/openSUSE:Factory/.Vc.new.2738/Vc.changes  2020-05-13 
22:56:54.983106658 +0200
@@ -1,0 +2,9 @@
+Wed May 13 07:10:56 UTC 2020 - Martin Pluskal 
+
+- Update to version 1.4.1:
+  * No upstream changelog available
+- Drop upstreamed patches:
+  * 0001-Fix-i686-build.patch
+  * handle-missing-libmvec.patch
+
+---

Old:

  0001-Fix-i686-build.patch
  Vc-1.4.0.tar.gz
  handle-missing-libmvec.patch

New:

  Vc-1.4.1.tar.gz



Other differences:
--
++ Vc.spec ++
--- /var/tmp/diff_new_pack.hZplll/_old  2020-05-13 22:56:55.675108009 +0200
+++ /var/tmp/diff_new_pack.hZplll/_new  2020-05-13 22:56:55.675108009 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package Vc
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2018 Asterios Dramis .
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,17 +18,13 @@
 
 
 Name:   Vc
-Version:1.4.0
+Version:1.4.1
 Release:0
 Summary:Collection of SIMD Vector Classes
 License:BSD-3-Clause
 Group:  System/Libraries
-Url:https://github.com/VcDevel/Vc/
+URL:https://github.com/VcDevel/Vc/
 Source0:
https://github.com/VcDevel/Vc/releases/download/%{version}/%{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM handle-missing-libmvec.patch
-Patch0: handle-missing-libmvec.patch
-# PATCH-FIX-UPSTREAM
-Patch1: 0001-Fix-i686-build.patch
 BuildRequires:  cmake
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
@@ -79,14 +75,13 @@
 
 %prep
 %setup -q
-%autopatch -p1
 
 %build
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 %cmake \
   -DCMAKE_BUILD_TYPE=RelWithDebInfo \
   -DBUILD_TESTING=OFF
-make %{?_smp_mflags}
+%cmake_build
 
 cd ../doc
 doxygen

++ Vc-1.4.0.tar.gz -> Vc-1.4.1.tar.gz ++
 55130 lines of diff (skipped)




commit Vc for openSUSE:Factory

2018-11-08 Thread root
Hello community,

here is the log from the commit of package Vc for openSUSE:Factory checked in 
at 2018-11-09 07:54:51

Comparing /work/SRC/openSUSE:Factory/Vc (Old)
 and  /work/SRC/openSUSE:Factory/.Vc.new (New)


Package is "Vc"

Fri Nov  9 07:54:51 2018 rev:11 rq:647256 version:1.4.0

Changes:

--- /work/SRC/openSUSE:Factory/Vc/Vc.changes2018-10-17 08:41:23.433856533 
+0200
+++ /work/SRC/openSUSE:Factory/.Vc.new/Vc.changes   2018-11-09 
07:54:53.311678911 +0100
@@ -1,0 +2,11 @@
+Tue Nov  6 14:48:49 UTC 2018 - Christophe Giboudeaux 
+
+- Add 0001-Fix-i686-build.patch to fix build failures on i686 targets.
+
+---
+Tue Oct 30 08:28:31 UTC 2018 - Christophe Giboudeaux 
+
+- Add handle-missing-libmvec.patch to fix build issues on archs for
+  which libmvec is not available.
+
+---

New:

  0001-Fix-i686-build.patch
  handle-missing-libmvec.patch



Other differences:
--
++ Vc.spec ++
--- /var/tmp/diff_new_pack.p1qytc/_old  2018-11-09 07:54:53.851678293 +0100
+++ /var/tmp/diff_new_pack.p1qytc/_new  2018-11-09 07:54:53.851678293 +0100
@@ -25,7 +25,10 @@
 Group:  System/Libraries
 Url:https://github.com/VcDevel/Vc/
 Source0:
https://github.com/VcDevel/Vc/releases/download/%{version}/%{name}-%{version}.tar.gz
-# PATCH-FIX-SUSE default_to_scalar_implementation_for_unknown_arch.patch 
stefan.bru...@rwth-aachen.de -- fix PPC build
+# PATCH-FIX-UPSTREAM handle-missing-libmvec.patch
+Patch0: handle-missing-libmvec.patch
+# PATCH-FIX-UPSTREAM
+Patch1: 0001-Fix-i686-build.patch
 BuildRequires:  cmake
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
@@ -76,6 +79,7 @@
 
 %prep
 %setup -q
+%autopatch -p1
 
 %build
 %cmake \

++ 0001-Fix-i686-build.patch ++
>From 8c722c8eaf6972ac21b44df7decb24c7059cf91c Mon Sep 17 00:00:00 2001
From: adra0 <36550102+ad...@users.noreply.github.com>
Date: Fri, 16 Feb 2018 22:45:18 +0200
Subject: [PATCH] Fix i686 build

Otherwise build fails with the following error:
"
CMake Error at CMakeLists.txt:152 (message):
Unsupported target architecture 'i686'.  No support_???.cpp file exists for
this architecture.
"
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 41772295..8b915dc7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -28,7 +28,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)
 elseif("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "(arm|aarch32|aarch64)")
message(WARNING "No optimized implementation of the Vc types available for 
${CMAKE_SYSTEM_PROCESSOR}")
-- 
2.19.1

++ handle-missing-libmvec.patch ++
commit 81b3b1ad007766c87a4b99cd0070df97e749b513
Author: Matthias Kretz 
Date:   Mon Oct 15 14:19:47 2018 +0200

CMake: Handle missing libmvec and less var pollution

* If libmvec doesn't exist better just skip the rest of the libmvec code
* If it exists, don't keep the libmvec dependency in
  CMAKE_REQUIRED_LIBRARIES, but use a temporary variable to restore the
  variable after the CHECK_CXX_SOURCE_COMPILES calls.

Fixes: gh-215

Signed-off-by: Matthias Kretz 

diff --git a/cmake/VcMacros.cmake b/cmake/VcMacros.cmake
index 9f4a50ed..684b4ac9 100644
--- a/cmake/VcMacros.cmake
+++ b/cmake/VcMacros.cmake
@@ -174,8 +174,10 @@ macro(vc_set_preferred_compiler_flags)
 
# Look for libmvec, which provides vectorized implementations of libm
find_library(Vc_LIB_MVEC mvec)
-   set(CMAKE_REQUIRED_LIBRARIES ${Vc_LIB_MVEC})
-   CHECK_CXX_SOURCE_COMPILES("
+   if(Vc_LIB_MVEC)
+  set(SAFE_CMAKE_REQUIRED_LIBRARIES "${CMAKE_REQUIRED_LIBRARIES}")
+  set(CMAKE_REQUIRED_LIBRARIES ${Vc_LIB_MVEC})
+  CHECK_CXX_SOURCE_COMPILES("
 #include 
 extern \"C\" {
 __m128 _ZGVbN4v_sinf(__m128);
@@ -188,7 +190,7 @@ __m128  f0(__m128  x) { return 
_ZGVbN4v_cosf(_ZGVbN4v_sinf(x)); }
 __m128d f1(__m128d x) { return _ZGVbN2v_cos(_ZGVbN2v_sin(x)); }
 int main() { return 0; }
 " Vc_HAVE_SSE_SINCOS)
-   CHECK_CXX_SOURCE_COMPILES("
+  CHECK_CXX_SOURCE_COMPILES("
 #include 
 extern \"C\" {
 __m256 _ZGVdN8v_sinf(__m256);
@@ -201,12 +203,14 @@ __m256  f0(__m256  x) { return 
_ZGVdN8v_cosf(_ZGVdN8v_sinf(x)); }
 __m256d f1(__m256d x) { return _ZGVdN4v_cos(_ZGVdN4v_sin(x)); }
 int main() { return 0; }
 " Vc_HAVE_AVX_SINCOS)
-   if(Vc_LIB_MVEC AND Vc_HAVE_SSE_SINCOS AND Vc_HAVE_AVX_SINCOS)
-  option(USE_LIBMVEC "Use GNU's libmvec for vectorized sine and cosine" 
OFF)
-  if(USE_LIBMVEC)

commit Vc for openSUSE:Factory

2018-10-17 Thread root
Hello community,

here is the log from the commit of package Vc for openSUSE:Factory checked in 
at 2018-10-17 08:40:01

Comparing /work/SRC/openSUSE:Factory/Vc (Old)
 and  /work/SRC/openSUSE:Factory/.Vc.new (New)


Package is "Vc"

Wed Oct 17 08:40:01 2018 rev:10 rq:642021 version:1.4.0

Changes:

--- /work/SRC/openSUSE:Factory/Vc/Vc.changes2018-02-25 11:47:22.875693107 
+0100
+++ /work/SRC/openSUSE:Factory/.Vc.new/Vc.changes   2018-10-17 
08:41:23.433856533 +0200
@@ -1,0 +2,10 @@
+Mon Oct 15 01:03:45 UTC 2018 - s...@suspend.net
+
+- Update to version 1.4.0:
+
+  * i686 build failure build fixed upstream (#190)
+Drop fix_i686_build.patch
+  * Drop default_to_scalar_implementation_for_unknown_arch.patch,
+fixed upstream.
+
+---

Old:

  Vc-1.3.3.tar.gz
  default_to_scalar_implementation_for_unknown_arch.patch
  fix_i686_build.patch

New:

  Vc-1.4.0.tar.gz



Other differences:
--
++ Vc.spec ++
--- /var/tmp/diff_new_pack.YZ5Csk/_old  2018-10-17 08:41:24.221855861 +0200
+++ /var/tmp/diff_new_pack.YZ5Csk/_new  2018-10-17 08:41:24.221855861 +0200
@@ -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.dra...@gmail.com -- Fix 
i686 build
-Patch0: fix_i686_build.patch
 # PATCH-FIX-SUSE default_to_scalar_implementation_for_unknown_arch.patch 
stefan.bru...@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 @@
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p0
 
 %build
 %cmake \
@@ -104,7 +99,7 @@
 %{_docdir}/%{name}-devel-doc/
 
 %files devel
-%doc LICENSE
+%license LICENSE
 %{_includedir}/Vc/
 %dir %{_libdir}/cmake
 %{_libdir}/cmake/Vc/

++ Vc-1.3.3.tar.gz -> Vc-1.4.0.tar.gz ++
 153483 lines of diff (skipped)




commit Vc for openSUSE:Factory

2018-02-25 Thread root
Hello community,

here is the log from the commit of package Vc for openSUSE:Factory checked in 
at 2018-02-25 11:47:22

Comparing /work/SRC/openSUSE:Factory/Vc (Old)
 and  /work/SRC/openSUSE:Factory/.Vc.new (New)


Package is "Vc"

Sun Feb 25 11:47:22 2018 rev:9 rq:579830 version:1.3.3

Changes:

--- /work/SRC/openSUSE:Factory/Vc/Vc.changes2018-02-16 21:45:09.666029975 
+0100
+++ /work/SRC/openSUSE:Factory/.Vc.new/Vc.changes   2018-02-25 
11:47:22.875693107 +0100
@@ -1,0 +2,9 @@
+Tue Feb 20 20:46:38 UTC 2018 - stefan.bru...@rwth-aachen.de
+
+- Drop ExclusiveArch, Vc 1.3.3 is no longer x86 only
+  Add default_to_scalar_implementation_for_unknown_arch.patch
+- Split documentation to subpackage
+- Drop redundant %doc in front of %_docdir
+- Remove unneeded fdupes BuildRequires
+
+---

New:

  default_to_scalar_implementation_for_unknown_arch.patch



Other differences:
--
++ Vc.spec ++
--- /var/tmp/diff_new_pack.SFvhVl/_old  2018-02-25 11:47:23.979653049 +0100
+++ /var/tmp/diff_new_pack.SFvhVl/_new  2018-02-25 11:47:23.983652904 +0100
@@ -27,11 +27,11 @@
 Source0:
https://github.com/VcDevel/Vc/releases/download/%{version}/%{name}-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM fix_i686_build.patch asterios.dra...@gmail.com -- Fix 
i686 build
 Patch0: fix_i686_build.patch
+# PATCH-FIX-SUSE default_to_scalar_implementation_for_unknown_arch.patch 
stefan.bru...@rwth-aachen.de -- fix PPC build
+Patch1: default_to_scalar_implementation_for_unknown_arch.patch
 BuildRequires:  cmake
 BuildRequires:  doxygen
-BuildRequires:  fdupes
 BuildRequires:  gcc-c++
-ExclusiveArch:  %{ix86} x86_64
 
 %description
 Vc is a free software library to ease explicit vectorization of C++ code. It
@@ -51,6 +51,19 @@
 
 This package provides development headers needed to build software using Vc.
 
+%package devel-doc
+Summary:API documentation for Vc
+Group:  Development/Libraries/C and C++
+BuildArch:  noarch
+
+%description devel-doc
+Vc is a free software library to ease explicit vectorization of C++ code. It
+has an intuitive API and provides portability between different compilers and
+compiler versions as well as portability between different vector instruction
+sets.
+
+This package provides the API documentation
+
 %package devel-static
 Summary:Vc Static Library
 Group:  Development/Libraries/C and C++
@@ -67,6 +80,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p0
 
 %build
 %cmake \
@@ -81,15 +95,16 @@
 %install
 %cmake_install
 
-# Install devel docs (do it manually to fix also rpmlint warning 
"files-duplicate" with %%fdupes)
-mkdir -p %{buildroot}%{_docdir}/%{name}-devel
-cp -a doc/html/ %{buildroot}%{_docdir}/%{name}-devel/
-
-%fdupes -s %{buildroot}
+# Install devel docs
+mkdir -p %{buildroot}%{_docdir}/%{name}-devel-doc/
+cp -a doc/html %{buildroot}%{_docdir}/%{name}-devel-doc/
+
+%files devel-doc
+%doc README.md
+%{_docdir}/%{name}-devel-doc/
 
 %files devel
-%doc LICENSE README.md
-%doc %{_docdir}/%{name}-devel/
+%doc LICENSE
 %{_includedir}/Vc/
 %dir %{_libdir}/cmake
 %{_libdir}/cmake/Vc/

++ default_to_scalar_implementation_for_unknown_arch.patch ++
--- 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})



commit Vc for openSUSE:Factory

2018-02-16 Thread root
Hello community,

here is the log from the commit of package Vc for openSUSE:Factory checked in 
at 2018-02-16 21:45:07

Comparing /work/SRC/openSUSE:Factory/Vc (Old)
 and  /work/SRC/openSUSE:Factory/.Vc.new (New)


Package is "Vc"

Fri Feb 16 21:45:07 2018 rev:8 rq:577168 version:1.3.3

Changes:

--- /work/SRC/openSUSE:Factory/Vc/Vc.changes2017-05-20 14:32:44.855517638 
+0200
+++ /work/SRC/openSUSE:Factory/.Vc.new/Vc.changes   2018-02-16 
21:45:09.666029975 +0100
@@ -1,0 +2,14 @@
+Thu Feb 15 19:13:43 UTC 2018 - asterios.dra...@gmail.com
+
+- Update to version 1.3.3:
+  * Support for AVX2 gather instructions.
+  * Shift optimizations
+  * Preliminary support for compiling to non-x86 targets (uses only
+the Scalar ABI)
+  * Resolve failing static assertions, moving the relevant tests to
+unit tests
+  * Fixed is_simd_vector and is_simd_mask traits to consider the
+ElementType too.
+- Added a patch "fix_i686_build.patch" to fix build on i686.
+
+---

Old:

  Vc-1.3.2.tar.gz

New:

  Vc-1.3.3.tar.gz
  fix_i686_build.patch



Other differences:
--
++ Vc.spec ++
--- /var/tmp/diff_new_pack.68aPJl/_old  2018-02-16 21:45:10.613995787 +0100
+++ /var/tmp/diff_new_pack.68aPJl/_new  2018-02-16 21:45:10.613995787 +0100
@@ -1,8 +1,8 @@
 #
 # spec file for package Vc
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2015 Asterios Dramis .
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 Asterios Dramis .
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,19 +18,20 @@
 
 
 Name:   Vc
-Version:1.3.2
+Version:1.3.3
 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.dra...@gmail.com -- Fix 
i686 build
+Patch0: fix_i686_build.patch
 BuildRequires:  cmake
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-ExclusiveArch:  %ix86 x86_64
+ExclusiveArch:  %{ix86} x86_64
 
 %description
 Vc is a free software library to ease explicit vectorization of C++ code. It
@@ -65,6 +66,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %cmake \
@@ -86,15 +88,13 @@
 %fdupes -s %{buildroot}
 
 %files devel
-%defattr(-,root,root,-)
-%doc LICENSE
+%doc LICENSE README.md
 %doc %{_docdir}/%{name}-devel/
 %{_includedir}/Vc/
 %dir %{_libdir}/cmake
 %{_libdir}/cmake/Vc/
 
 %files devel-static
-%defattr(-,root,root,-)
 %{_libdir}/libVc.a
 
 %changelog

++ Vc-1.3.2.tar.gz -> Vc-1.3.3.tar.gz ++
 42807 lines of diff (skipped)

++ fix_i686_build.patch ++
---
 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)")



commit Vc for openSUSE:Factory

2017-05-20 Thread root
Hello community,

here is the log from the commit of package Vc for openSUSE:Factory checked in 
at 2017-05-20 14:32:26

Comparing /work/SRC/openSUSE:Factory/Vc (Old)
 and  /work/SRC/openSUSE:Factory/.Vc.new (New)


Package is "Vc"

Sat May 20 14:32:26 2017 rev:7 rq:494956 version:1.3.2

Changes:

--- /work/SRC/openSUSE:Factory/Vc/Vc.changes2017-03-10 21:46:23.677692750 
+0100
+++ /work/SRC/openSUSE:Factory/.Vc.new/Vc.changes   2017-05-20 
14:32:44.855517638 +0200
@@ -1,0 +2,7 @@
+Mon May 15 13:37:54 UTC 2017 - idon...@suse.com
+
+- Update to version 1.3.2
+  * Resolve warning from GCC 6 about ignored attributes
+  * Support for Kaby Lake detection
+
+---

Old:

  Vc-1.3.1.tar.gz

New:

  Vc-1.3.2.tar.gz



Other differences:
--
++ Vc.spec ++
--- /var/tmp/diff_new_pack.EyleYE/_old  2017-05-20 14:32:46.495285647 +0200
+++ /var/tmp/diff_new_pack.EyleYE/_new  2017-05-20 14:32:46.495285647 +0200
@@ -18,7 +18,7 @@
 
 
 Name:   Vc
-Version:1.3.1
+Version:1.3.2
 Release:0
 Summary:Collection of SIMD Vector Classes
 License:BSD-3-Clause

++ Vc-1.3.1.tar.gz -> Vc-1.3.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Vc-1.3.1/CMakeLists.txt new/Vc-1.3.2/CMakeLists.txt
--- old/Vc-1.3.1/CMakeLists.txt 2017-03-09 14:36:15.0 +0100
+++ new/Vc-1.3.2/CMakeLists.txt 2017-05-03 14:38:00.0 +0200
@@ -69,8 +69,6 @@
   list(APPEND disabled_targets
  example_scaling_scalar
  )
-   elseif(Vc_GCC_VERSION VERSION_GREATER "5.99")
-  AddCompilerFlag(-Wno-ignored-attributes)
endif()
 elseif(Vc_COMPILER_IS_MSVC)
if(MSVC_VERSION LESS 1700)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Vc-1.3.1/avx/vector.h new/Vc-1.3.2/avx/vector.h
--- old/Vc-1.3.1/avx/vector.h   2017-03-09 14:36:15.0 +0100
+++ new/Vc-1.3.2/avx/vector.h   2017-05-03 14:38:00.0 +0200
@@ -88,7 +88,7 @@
 
 Vc_FREE_STORE_OPERATORS_ALIGNED(alignof(VectorType));
 
-Vc_ALIGNED_TYPEDEF(sizeof(T), T, EntryType);
+using EntryType = typename Common::ensure_alignment_equals_sizeof::type;
 using value_type = EntryType;
 typedef EntryType VectorEntryType;
 static constexpr size_t Size = sizeof(VectorType) / sizeof(EntryType);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Vc-1.3.1/cmake/OptimizeForArchitecture.cmake 
new/Vc-1.3.2/cmake/OptimizeForArchitecture.cmake
--- old/Vc-1.3.1/cmake/OptimizeForArchitecture.cmake2017-03-09 
14:36:15.0 +0100
+++ new/Vc-1.3.2/cmake/OptimizeForArchitecture.cmake2017-05-03 
14:38:00.0 +0200
@@ -98,6 +98,26 @@
  # 17 1D   | Enhanced Intel Core microarchitecture
  # 0F  | Intel Core microarchitecture
  #
+ # Intel SDM Vol. 3C 35-1 / December 2016:
+ # 57  | Xeon Phi 3200, 5200, 7200  [Knights Landing]
+ # 85  | Future Xeon Phi
+ # 8E 9E   | 7th gen. Core  [Kaby Lake]
+ # 55  | Future Xeon[Skylake w/ AVX512]
+ # 4E 5E   | 6th gen. Core / E3 v5  [Skylake w/o AVX512]
+ # 56  | Xeon D-1500[Broadwell]
+ # 4F  | Xeon E5 v4, E7 v4, i7-69xx [Broadwell]
+ # 47  | 5th gen. Core / Xeon E3 v4 [Broadwell]
+ # 3D  | M-5xxx / 5th gen.  [Broadwell]
+ # 3F  | Xeon E5 v3, E7 v3, i7-59xx [Haswell-E]
+ # 3C 45 46| 4th gen. Core, Xeon E3 v3  [Haswell]
+ # 3E  | Xeon E5 v2, E7 v2, i7-49xx [Ivy Bridge-E]
+ # 3A  | 3rd gen. Core, Xeon E3 v2  [Ivy Bridge]
+ # 2D  | Xeon E5, i7-39xx   [Sandy Bridge]
+ # 2F  | Xeon E7
+ # 2A  | Xeon E3, 2nd gen. Core [Sandy Bridge]
+ # 2E  | Xeon 7500, 6500 series
+ # 25 2C   | Xeon 3600, 5600 series, Core i7, i5 and i3
+ #
  # Values from the Intel SDE:
  # 5C | Goldmont
  # 5A | Silvermont
@@ -107,7 +127,7 @@
  # 4E | Skylake Client
  # 3C | Broadwell (likely a bug in the SDE)
  # 3C | Haswell
- if(_cpu_model EQUAL 87)
+ if(_cpu_model EQUAL 87) # 57
 set(TARGET_ARCHITECTURE "knl")  # Knights Landing
  elseif(_cpu_model EQUAL 92)
 set(TARGET_ARCHITECTURE "goldmont")
@@ -115,11 +135,13 @@
 set(TARGET_ARCHITECTURE "silvermont")
  elseif(_cpu_model EQUAL 102)
 set(TARGET_ARCHITECTURE 

commit Vc for openSUSE:Factory

2017-03-10 Thread root
Hello community,

here is the log from the commit of package Vc for openSUSE:Factory checked in 
at 2017-03-10 21:46:23

Comparing /work/SRC/openSUSE:Factory/Vc (Old)
 and  /work/SRC/openSUSE:Factory/.Vc.new (New)


Package is "Vc"

Fri Mar 10 21:46:23 2017 rev:6 rq:477980 version:1.3.1

Changes:

--- /work/SRC/openSUSE:Factory/Vc/Vc.changes2017-02-03 17:31:05.408842954 
+0100
+++ /work/SRC/openSUSE:Factory/.Vc.new/Vc.changes   2017-03-10 
21:46:23.677692750 +0100
@@ -1,0 +2,10 @@
+Thu Mar  9 14:27:37 UTC 2017 - idon...@suse.com
+
+- Update to version 1.3.1
+  * swap(v[i], v[j]) did not compile. Vc 1.3.1 overloads the swap
+function and thus enables swapping scalars into/out of vector
+and mask objects.
+  * The spline example has moved to the new Vc-examples-nonfree
+repository since it has a license that restricts redistribution.
+
+---

Old:

  Vc-1.3.0.tar.gz

New:

  Vc-1.3.1.tar.gz



Other differences:
--
++ Vc.spec ++
--- /var/tmp/diff_new_pack.s8RjGM/_old  2017-03-10 21:46:24.273608230 +0100
+++ /var/tmp/diff_new_pack.s8RjGM/_new  2017-03-10 21:46:24.277607663 +0100
@@ -18,15 +18,13 @@
 
 
 Name:   Vc
-Version:1.3.0
+Version:1.3.1
 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
-#Repackaged to remove spline example: https://github.com/VcDevel/Vc/issues/150
-Source0:%{name}-%{version}.tar.gz
+Source0:
https://github.com/VcDevel/Vc/releases/download/%{version}/%{name}-%{version}.tar.gz
 BuildRequires:  cmake
 BuildRequires:  doxygen
 BuildRequires:  fdupes

++ Vc-1.3.0.tar.gz -> Vc-1.3.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Vc-1.3.0/.travis.yml new/Vc-1.3.1/.travis.yml
--- old/Vc-1.3.0/.travis.yml2016-10-27 09:05:02.0 +0200
+++ new/Vc-1.3.1/.travis.yml2017-03-09 14:36:15.0 +0100
@@ -3,8 +3,9 @@
 cache: ccache
 
 env:
-- GCC_VERSION=5
-- GCC_VERSION=default
+- CXX_VERSION=current
+- CXX_VERSION=previous
+- CXX_VERSION=default
 
 os:
 - linux
@@ -16,45 +17,68 @@
 
 matrix:
 exclude:
-- env: GCC_VERSION=5
+- env: CXX_VERSION=previous
   os: osx
   compiler: clang
-- env: GCC_VERSION=5
-  os: linux
-  compiler: clang
 
 # The following gives us Ubuntu 14.04 LTS instead of 12.04 LTS
 sudo: required
 dist: trusty
 
 install:
-- if test "$TRAVIS_OS_NAME" = "osx" -a "$CXX" = "g++"; then
-brew update &&
-if test $GCC_VERSION = 5; then
-  brew install gcc5 && export CXX=g++-5 CC=gcc-5;
-else
-  brew install coreutils && export CXX=g++-4.9 CC=gcc-4.9;
-fi
-  fi
-- if test "$TRAVIS_OS_NAME" = "osx" -a "$CXX" = "clang++"; then
-brew update &&
-brew install llvm &&
-export CXX=/usr/local/opt/llvm/bin/clang++ 
CC=/usr/local/opt/llvm/bin/clang &&
-export LDFLAGS="-L/usr/local/opt/llvm/lib 
-Wl,-rpath,/usr/local/opt/llvm/lib" &&
-export CPPFLAGS=-I/usr/local/opt/llvm/include;
-  fi
-- if test "$TRAVIS_OS_NAME" = "linux" -a "$GCC_VERSION" = "5"; then
-sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y &&
-sudo apt-get update -q &&
-sudo apt-get install g++-5 -y &&
-export CXX=g++-5 CC=gcc-5;
-  fi
-- if test "$TRAVIS_OS_NAME" = "linux" -a "$CXX" = "clang++"; then
-sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y &&
-sudo apt-get update -q &&
-sudo apt-get install clang-3.8 libstdc++-6-dev libc++-dev 
libc++abi-dev -y;
-export CXX=clang++-3.8 CC=clang-3.8;
-  fi
+- case "$TRAVIS_OS_NAME-$CXX-$CXX_VERSION" in
+linux-g++-current)
+  sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y &&
+  sudo apt-get update -q &&
+  sudo apt-get install g++-6 -y &&
+  export CXX=g++-6 CC=gcc-6;;
+linux-g++-previous)
+  sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y &&
+  sudo apt-get update -q &&
+  sudo apt-get install g++-5 -y &&
+  export CXX=g++-5 CC=gcc-5;;
+linux-g++-default)
+  ;;
+linux-clang++-current)
+  sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y &&
+  wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add 
- &&
+  sudo tee /etc/apt/sources.list.d/llvm.list <<< "deb 

commit Vc for openSUSE:Factory

2017-02-03 Thread root
Hello community,

here is the log from the commit of package Vc for openSUSE:Factory checked in 
at 2017-01-28 11:07:58

Comparing /work/SRC/openSUSE:Factory/Vc (Old)
 and  /work/SRC/openSUSE:Factory/.Vc.new (New)


Package is "Vc"

Changes:

--- /work/SRC/openSUSE:Factory/Vc/Vc.changes2015-10-08 08:25:30.0 
+0200
+++ /work/SRC/openSUSE:Factory/.Vc.new/Vc.changes   2017-02-03 
17:31:05.408842954 +0100
@@ -1,0 +2,13 @@
+Fri Jan 27 11:48:35 UTC 2017 - idon...@suse.com
+
+- Repackage without examples/spline see 
+  https://github.com/VcDevel/Vc/issues/150 for details.
+
+---
+Thu Oct 27 13:41:17 UTC 2016 - idon...@suse.com
+
+- Update to version 1.3.0
+  * Too many changes to list, please see
+https://github.com/VcDevel/Vc/releases for details.
+
+---

Old:

  Vc-0.7.5.tar.gz

New:

  Vc-1.3.0.tar.gz



Other differences:
--
++ Vc.spec ++
--- /var/tmp/diff_new_pack.e1AgbE/_old  2017-02-03 17:31:05.784789745 +0100
+++ /var/tmp/diff_new_pack.e1AgbE/_new  2017-02-03 17:31:05.788789179 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package Vc
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2015 Asterios Dramis .
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,13 +18,15 @@
 
 
 Name:   Vc
-Version:0.7.5
+Version:1.3.0
 Release:0
 Summary:Collection of SIMD Vector Classes
-License:LGPL-3.0+ and GPL-3.0+
+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
+#Source0:
https://github.com/VcDevel/Vc/releases/download/%{version}/%{name}-%{version}.tar.gz
+#Repackaged to remove spline example: https://github.com/VcDevel/Vc/issues/150
+Source0:%{name}-%{version}.tar.gz
 BuildRequires:  cmake
 BuildRequires:  doxygen
 BuildRequires:  fdupes
@@ -82,16 +84,16 @@
 # Install devel docs (do it manually to fix also rpmlint warning 
"files-duplicate" with %%fdupes)
 mkdir -p %{buildroot}%{_docdir}/%{name}-devel
 cp -a doc/html/ %{buildroot}%{_docdir}/%{name}-devel/
-install -pm 0644 LGPL %{buildroot}%{_docdir}/%{name}-devel/
 
 %fdupes -s %{buildroot}
 
 %files devel
 %defattr(-,root,root,-)
+%doc LICENSE
 %doc %{_docdir}/%{name}-devel/
 %{_includedir}/Vc/
-%dir %{_libexecdir}/cmake
-%{_libexecdir}/cmake/Vc/
+%dir %{_libdir}/cmake
+%{_libdir}/cmake/Vc/
 
 %files devel-static
 %defattr(-,root,root,-)

++ Vc-0.7.5.tar.gz -> Vc-1.3.0.tar.gz ++
 88824 lines of diff (skipped)




commit Vc for openSUSE:Factory

2015-10-08 Thread h_root
Hello community,

here is the log from the commit of package Vc for openSUSE:Factory checked in 
at 2015-10-08 08:25:28

Comparing /work/SRC/openSUSE:Factory/Vc (Old)
 and  /work/SRC/openSUSE:Factory/.Vc.new (New)


Package is "Vc"

Changes:

--- /work/SRC/openSUSE:Factory/Vc/Vc.changes2015-09-13 09:45:27.0 
+0200
+++ /work/SRC/openSUSE:Factory/.Vc.new/Vc.changes   2015-10-08 
08:25:30.0 +0200
@@ -1,0 +2,15 @@
+Tue Oct  6 17:57:11 UTC 2015 - asterios.dra...@gmail.com
+
+- Update to 0.7.5:
+  * compilation warnings fixed
+  * detect Haswell and Broadwell CPUs (#6)
+  * bugfix: AVX::Mask::operator== returned incorrect answers on a
+few masks
+  * more thorough mask testing
+  * detect and work around clang 3.6 bug with AVX codegen (#20)
+  * subscript workaround for GCC 5.1 and 5.2 (#9)
+  * merge vc_compile_for_all_implementations from master, making it
+more robust
+  * fix isfinite usage with ICC (#8)
+
+---

Old:

  Vc-0.7.4.tar.gz

New:

  Vc-0.7.5.tar.gz



Other differences:
--
++ Vc.spec ++
--- /var/tmp/diff_new_pack.yVbWlE/_old  2015-10-08 08:25:30.0 +0200
+++ /var/tmp/diff_new_pack.yVbWlE/_new  2015-10-08 08:25:30.0 +0200
@@ -18,13 +18,13 @@
 
 
 Name:   Vc
-Version:0.7.4
+Version:0.7.5
 Release:0
 Summary:Collection of SIMD Vector Classes
 License:LGPL-3.0+ and GPL-3.0+
 Group:  System/Libraries
-Url:http://code.compeng.uni-frankfurt.de/projects/vc/
-Source0:
http://code.compeng.uni-frankfurt.de/attachments/download/183/%{name}-%{version}.tar.gz
+Url:https://github.com/VcDevel/Vc/
+Source0:
https://github.com/VcDevel/Vc/releases/download/%{version}/%{name}-%{version}.tar.gz
 BuildRequires:  cmake
 BuildRequires:  doxygen
 BuildRequires:  fdupes

++ Vc-0.7.4.tar.gz -> Vc-0.7.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Vc-0.7.4/CMakeLists.txt new/Vc-0.7.5/CMakeLists.txt
--- old/Vc-0.7.4/CMakeLists.txt 2014-05-15 13:38:24.0 +0200
+++ new/Vc-0.7.5/CMakeLists.txt 2015-08-26 15:22:18.0 +0200
@@ -128,11 +128,10 @@
 
set(libvc_compile_flags "-DVC_COMPILE_LIB")
AddCompilerFlag("-fPIC" CXX_FLAGS libvc_compile_flags)
-   vc_compile_for_all_implementations(_objs src/trigonometric.cpp FLAGS 
${libvc_compile_flags}
+   set(_srcs src/const.cpp src/cpuid.cpp src/support.cpp)
+   vc_compile_for_all_implementations(_srcs src/trigonometric.cpp FLAGS 
${libvc_compile_flags}
   ONLY SSE2 SSE3 SSSE3 SSE4_1 AVX SSE+XOP+FMA4 AVX+XOP+FMA4 AVX+XOP+FMA 
AVX+FMA)
-   set(_srcs src/const.cpp src/cpuid.cpp src/support.cpp ${_objs})
-   vc_compile_for_all_implementations(_objs src/avx_sorthelper.cpp FLAGS 
${libvc_compile_flags} ONLY AVX)
-   set(_srcs ${_srcs} ${_objs})
+   vc_compile_for_all_implementations(_srcs src/avx_sorthelper.cpp FLAGS 
${libvc_compile_flags} ONLY AVX)
add_library(Vc STATIC ${_srcs})
add_target_property(Vc COMPILE_FLAGS ${libvc_compile_flags})
add_target_property(Vc LABELS "other")
@@ -250,7 +249,6 @@
include (CTest)
configure_file(${CMAKE_SOURCE_DIR}/CTestCustom.cmake 
${CMAKE_BINARY_DIR}/CTestCustom.cmake COPYONLY)
if(BUILD_TESTING)
-  add_custom_target(build_tests VERBATIM)
   add_subdirectory(tests)
endif(BUILD_TESTING)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Vc-0.7.4/CTestConfig.cmake 
new/Vc-0.7.5/CTestConfig.cmake
--- old/Vc-0.7.4/CTestConfig.cmake  2014-05-15 13:38:24.0 +0200
+++ new/Vc-0.7.5/CTestConfig.cmake  2015-08-26 15:22:18.0 +0200
@@ -1,9 +1,9 @@
 set(CTEST_PROJECT_NAME "Vc")
 set(CTEST_NIGHTLY_START_TIME "00:00:00 CEST")
 
-set(CTEST_DROP_METHOD "http")
-set(CTEST_DROP_SITE "code.compeng.uni-frankfurt.de")
-set(CTEST_DROP_LOCATION "/dashboard/submit.php?project=Vc-0.7")
+set(CTEST_DROP_METHOD "https")
+set(CTEST_DROP_SITE "cdash.gsi.de")
+set(CTEST_DROP_LOCATION "/submit.php?project=Vc")
 
 set(CTEST_DROP_SITE_CDASH TRUE)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Vc-0.7.4/CTestCustom.cmake 
new/Vc-0.7.5/CTestCustom.cmake
--- old/Vc-0.7.4/CTestCustom.cmake  2014-05-15 13:38:24.0 +0200
+++ new/Vc-0.7.5/CTestCustom.cmake  2015-08-26 15:22:18.0 +0200
@@ -23,4 +23,4 @@
 set(CTEST_CUSTOM_ERROR_EXCEPTION ${CTEST_CUSTOM_ERROR_EXCEPTION}
"^make\\[[1-9]\\]: "
"^collect2: ld returned . exit status"
-   "^make: \\*\\*\\* \\[all\\] Error ")
+   "^make: \\*\\*\\* \\[.*\\] Error ")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 

commit Vc for openSUSE:Factory

2015-09-13 Thread h_root
Hello community,

here is the log from the commit of package Vc for openSUSE:Factory checked in 
at 2015-09-13 09:45:20

Comparing /work/SRC/openSUSE:Factory/Vc (Old)
 and  /work/SRC/openSUSE:Factory/.Vc.new (New)


Package is "Vc"

Changes:

--- /work/SRC/openSUSE:Factory/Vc/Vc.changes2015-08-10 09:15:57.0 
+0200
+++ /work/SRC/openSUSE:Factory/.Vc.new/Vc.changes   2015-09-13 
09:45:27.0 +0200
@@ -1,0 +2,6 @@
+Fri Sep 11 16:29:08 UTC 2015 - mplus...@suse.com
+
+- Use cmake macro
+- Cleanup spec file with spec-cleaner
+
+---



Other differences:
--
++ Vc.spec ++
--- /var/tmp/diff_new_pack.2VB8mR/_old  2015-09-13 09:45:28.0 +0200
+++ /var/tmp/diff_new_pack.2VB8mR/_new  2015-09-13 09:45:28.0 +0200
@@ -30,7 +30,7 @@
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-ExclusiveArch:  %{ix86} x86_64
+ExclusiveArch:  %ix86 x86_64
 
 %description
 Vc is a free software library to ease explicit vectorization of C++ code. It
@@ -67,23 +67,17 @@
 %setup -q
 
 %build
-mkdir build
-cd build
-_libsuffix=$(echo %_lib | cut -b4-)
-cmake ../ \
--DCMAKE_INSTALL_PREFIX=%{_prefix} \
--DLIB_SUFFIX="$_libsuffix" \
+%cmake \
 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
 -DBUILD_TESTING=OFF
-make %{?_smp_mflags} VERBOSE=1
-cd ..
+make %{?_smp_mflags}
 
-cd doc/
+cd ../doc
 doxygen
 cd ..
 
 %install
-%make_install -C build
+%cmake_install
 
 # Install devel docs (do it manually to fix also rpmlint warning 
"files-duplicate" with %%fdupes)
 mkdir -p %{buildroot}%{_docdir}/%{name}-devel
@@ -96,8 +90,8 @@
 %defattr(-,root,root,-)
 %doc %{_docdir}/%{name}-devel/
 %{_includedir}/Vc/
-%dir /usr/lib/cmake
-/usr/lib/cmake/Vc/
+%dir %{_libexecdir}/cmake
+%{_libexecdir}/cmake/Vc/
 
 %files devel-static
 %defattr(-,root,root,-)




commit Vc for openSUSE:Factory

2015-08-10 Thread h_root
Hello community,

here is the log from the commit of package Vc for openSUSE:Factory checked in 
at 2015-08-10 09:15:54

Comparing /work/SRC/openSUSE:Factory/Vc (Old)
 and  /work/SRC/openSUSE:Factory/.Vc.new (New)


Package is Vc

Changes:

--- /work/SRC/openSUSE:Factory/Vc/Vc.changes2015-03-27 09:41:03.0 
+0100
+++ /work/SRC/openSUSE:Factory/.Vc.new/Vc.changes   2015-08-10 
09:15:57.0 +0200
@@ -1,0 +2,6 @@
+Fri Aug  7 07:00:55 UTC 2015 - norm...@linux.vnet.ibm.com
+
+- add ExclusiveArch %{ix86} x86_64
+  because not supported asm lines for other architectures
+
+---



Other differences:
--
++ Vc.spec ++
--- /var/tmp/diff_new_pack.GAuQjW/_old  2015-08-10 09:15:57.0 +0200
+++ /var/tmp/diff_new_pack.GAuQjW/_new  2015-08-10 09:15:57.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package Vc
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2015 Asterios Dramis asterios.dra...@gmail.com.
 #
 # All modifications and additions to the file contributed by third parties
@@ -30,6 +30,7 @@
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+ExclusiveArch:  %{ix86} x86_64
 
 %description
 Vc is a free software library to ease explicit vectorization of C++ code. It