[arch-commits] Commit in vc/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Mon Jun 20 16:52:56 UTC 2016
Date: Monday, June 20, 2016 @ 16:52:56
Author: arojas
Revision: 270258
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
vc/repos/extra-i686/PKGBUILD
(from rev 270257, vc/trunk/PKGBUILD)
vc/repos/extra-x86_64/PKGBUILD
(from rev 270257, vc/trunk/PKGBUILD)
Deleted:
vc/repos/extra-i686/PKGBUILD
vc/repos/extra-x86_64/PKGBUILD
-----------------------+
/PKGBUILD | 82 ++++++++++++++++++++++++++++++++++++++++++++++++
extra-i686/PKGBUILD | 38 ----------------------
extra-x86_64/PKGBUILD | 38 ----------------------
3 files changed, 82 insertions(+), 76 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2016-06-20 16:52:20 UTC (rev 270257)
+++ extra-i686/PKGBUILD 2016-06-20 16:52:56 UTC (rev 270258)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: PedsXing <pedsxing at gmx dot net>
-
-pkgname=vc
-pkgver=0.7.5
-pkgrel=2
-pkgdesc="A library to ease explicit vectorization of C++ code"
-url='http://code.compeng.uni-frankfurt.de/projects/vc/'
-arch=(x86_64 i686)
-license=(LGPL3)
-makedepends=(cmake)
-source=("https://github.com/VcDevel/Vc/releases/download/0.7.5/Vc-$pkgver.tar.gz")
-md5sums=('59854e2381b78d602b4a00e459e3d333')
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
- cmake ../Vc-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DTARGET_ARCHITECTURE=generic
- make
-}
-
-#check() {
-# cd build
-# make test
-#}
-
-package() {
- cd build
- make DESTDIR="$pkgdir" install
-}
Copied: vc/repos/extra-i686/PKGBUILD (from rev 270257, vc/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2016-06-20 16:52:56 UTC (rev 270258)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: PedsXing <pedsxing at gmx dot net>
+
+pkgname=vc
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="A library to ease explicit vectorization of C++ code"
+url='https://github.com/VcDevel/Vc'
+arch=(i686 x86_64)
+license=(LGPL3)
+makedepends=(cmake)
+source=("https://github.com/VcDevel/Vc/releases/download/$pkgver/Vc-$pkgver.tar.gz"
+ vc-gcc6.patch::"https://github.com/VcDevel/Vc/commit/7b27d13a.patch")
+md5sums=('f2a213ae4bad0dcf4ec6469e4dad41c1'
+ 'f69fac8bacb3ab0470f997007d5bf1ef')
+
+prepare() {
+ mkdir -p build
+
+# Fix build with GCC 6
+ cd Vc-$pkgver
+ patch -p1 -i ../vc-gcc6.patch
+# Fix i686 build
+ sed -e 's:(x86|AMD64):(i686|x86|AMD64):g' -i CMakeLists.txt
+}
+
+build() {
+ cd build
+ cmake ../Vc-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DTARGET_ARCHITECTURE=generic
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2016-06-20 16:52:20 UTC (rev 270257)
+++ extra-x86_64/PKGBUILD 2016-06-20 16:52:56 UTC (rev 270258)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: PedsXing <pedsxing at gmx dot net>
-
-pkgname=vc
-pkgver=0.7.5
-pkgrel=2
-pkgdesc="A library to ease explicit vectorization of C++ code"
-url='http://code.compeng.uni-frankfurt.de/projects/vc/'
-arch=(x86_64 i686)
-license=(LGPL3)
-makedepends=(cmake)
-source=("https://github.com/VcDevel/Vc/releases/download/0.7.5/Vc-$pkgver.tar.gz")
-md5sums=('59854e2381b78d602b4a00e459e3d333')
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
- cmake ../Vc-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DTARGET_ARCHITECTURE=generic
- make
-}
-
-#check() {
-# cd build
-# make test
-#}
-
-package() {
- cd build
- make DESTDIR="$pkgdir" install
-}
Copied: vc/repos/extra-x86_64/PKGBUILD (from rev 270257, vc/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2016-06-20 16:52:56 UTC (rev 270258)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: PedsXing <pedsxing at gmx dot net>
+
+pkgname=vc
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="A library to ease explicit vectorization of C++ code"
+url='https://github.com/VcDevel/Vc'
+arch=(i686 x86_64)
+license=(LGPL3)
+makedepends=(cmake)
+source=("https://github.com/VcDevel/Vc/releases/download/$pkgver/Vc-$pkgver.tar.gz"
+ vc-gcc6.patch::"https://github.com/VcDevel/Vc/commit/7b27d13a.patch")
+md5sums=('f2a213ae4bad0dcf4ec6469e4dad41c1'
+ 'f69fac8bacb3ab0470f997007d5bf1ef')
+
+prepare() {
+ mkdir -p build
+
+# Fix build with GCC 6
+ cd Vc-$pkgver
+ patch -p1 -i ../vc-gcc6.patch
+# Fix i686 build
+ sed -e 's:(x86|AMD64):(i686|x86|AMD64):g' -i CMakeLists.txt
+}
+
+build() {
+ cd build
+ cmake ../Vc-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DTARGET_ARCHITECTURE=generic
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list