commit 317eda5ee52f4bfbc9258da3ad27a475c0b98ded11e01da1da6c6050e82260e0 Author: Marcus Meissner Date: Tue Mar 17 15:26:20 2015 +0000 Accepting request 291068 from home:adra New package submission: Vc can be used by Calligra in Factory OBS-URL: https://build.opensuse.org/request/show/291068 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Vc?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Vc-0.7.4.tar.gz b/Vc-0.7.4.tar.gz new file mode 100644 index 0000000..2eccd29 --- /dev/null +++ b/Vc-0.7.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4e5c5d7b51b4b04e6ef87e28a5b8b0108c9788739b044f96fb64f274d249063 +size 310014 diff --git a/Vc.changes b/Vc.changes new file mode 100644 index 0000000..6656867 --- /dev/null +++ b/Vc.changes @@ -0,0 +1,82 @@ +------------------------------------------------------------------- +Sat Jan 10 23:43:50 UTC 2015 - asterios.dramis@gmail.com + +- Update to 0.7.4: + * fixed several compile errors / warnings with newer or old C++ compilers + * support clean compilation with more -W flags + * fixed compilation when compiling without optimization + * added operator-- to Vector + * Copying Memory now uses SIMD move instructions + * Vc::Allocator now uses a minimum alignment of the SIMD types of the + chosen Vc implementation. Thus making it useable for containers of builtin + types. + +------------------------------------------------------------------- +Sat Oct 26 19:16:36 UTC 2013 - asterios.dramis@gmail.com + +- Update to 0.7.3: + * more thorough feature tests in the cmake scripts (-mfma / -stdlib=libc++) + * work around bogus warnings (mostly clang) + * fixed binary operators of Mask types + * fixed ifdef logic that lead to ICC not seeing the always_inline attributes + * support for Intel Family 6 Model 47 CPU detection + * fixed Vc/IO for libc++ and GCC on Windows + * fixed a compilation error in Vc::Scalar::abs + * fixed Vc::Scalar::sincos to use a safe fallback and ::sincos(f) on with + glibc + +------------------------------------------------------------------- +Sun Jun 30 17:24:13 UTC 2013 - asterios.dramis@gmail.com + +- Disable compilation of tests (fixes fails in OBS due to required build + power). + +------------------------------------------------------------------- +Sun Jun 30 15:09:23 UTC 2013 - asterios.dramis@gmail.com + +- Update to 0.7.2: + * Improved documentation + * Detect and support AMD Piledriver CPUs (prefers FMA over FMA4) + * Support clang with libc++ + * More workarounds for compiler quirks + * Bugs fixed: + + Fixed VectorTuple to work without using namespace Vc. + + SSE::sfloat_m::operator!= was broken. + + SSE::sfloat_m::isMix was broken. + + Buildsystem: Detection of CPU flags was broken on Linux + + Fixed compilation for targets that don't support POPCNT. + + Fixed debug builds that use log(-1). It returns NaN instead of asserting + now. + + No warning for nested foreach_bit loops anymore + +------------------------------------------------------------------- +Sun May 19 15:27:20 UTC 2013 - asterios.dramis@gmail.com + +- Revoke last change (it does not solve the failures). + +------------------------------------------------------------------- +Sun May 19 11:46:33 UTC 2013 - asterios.dramis@gmail.com + +- Disable parallel build, often fails in OBS. + +------------------------------------------------------------------- +Sat Apr 20 20:56:06 UTC 2013 - asterios.dramis@gmail.com + +- Update to 0.7.1: + * MSVC support: workaround bugs in MSVC; AVX is still mostly miscompiled by + MSVC, but Vc::SSE works fine now + * GCC on Windows support + * Improved support for old GCC versions + * Speed and FMA4 improvements to trigonometric functions + * Fixed a few inconsistencies + From 0.7.0: + * Major polishing, making it more intuitive and portable +- Removed fix_install_libdir.patch (fixed upstream). +- Don't build latex devel docs (removed all texlive build requirements). + +------------------------------------------------------------------- +Tue Feb 19 21:47:49 UTC 2013 - asterios.dramis@gmail.com + +- Initial rpm release (version 0.6.1). +- Added a patch (fix_install_libdir.patch) to make the package install the + library in the correct libdir (lib or lib64). diff --git a/Vc.spec b/Vc.spec new file mode 100644 index 0000000..2f2d91d --- /dev/null +++ b/Vc.spec @@ -0,0 +1,105 @@ +# +# spec file for package Vc +# +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 Asterios Dramis . +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# 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/ +# + + +Name: Vc +Version: 0.7.4 +Release: 0 +Summary: Collection of SIMD Vector Classes +License: LGPL-3.0+ +Group: System/Libraries +Url: http://code.compeng.uni-frankfurt.de/projects/vc/ +Source0: http://code.compeng.uni-frankfurt.de/attachments/download/174/%{name}-%{version}.tar.gz +BuildRequires: cmake +BuildRequires: doxygen +BuildRequires: fdupes +BuildRequires: gcc-c++ +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +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. + +%package devel +Summary: Development Files for Vc +Group: Development/Libraries/C and C++ + +%description devel +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 development libraries and headers needed to build +software using Vc. + +%package devel-static +Summary: Vc Static Library +Group: Development/Libraries/C and C++ + +%description devel-static +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 Vc static library. + +%prep +%setup -q + +%build +mkdir build +cd build +_libsuffix=$(echo %_lib | cut -b4-) +cmake ../ \ + -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + -DLIB_SUFFIX="$_libsuffix" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DBUILD_TESTING=OFF +make %{?_smp_mflags} VERBOSE=1 +cd .. + +cd doc/ +doxygen +cd .. + +%install +%make_install -C build + +# 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 %{_docdir}/%{name}-devel/ +%{_includedir}/Vc/ +%dir /usr/lib/cmake +/usr/lib/cmake/Vc/ + +%files devel-static +%defattr(-,root,root,-) +%{_libdir}/libVc.a + +%changelog