[arch-commits] Commit in vc/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue May 18 08:24:36 UTC 2021
Date: Tuesday, May 18, 2021 @ 08:24:35
Author: arojas
Revision: 415664
archrelease: copy trunk to extra-x86_64
Added:
vc/repos/extra-x86_64/PKGBUILD
(from rev 415663, vc/trunk/PKGBUILD)
Deleted:
vc/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 62 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 31 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-18 08:24:22 UTC (rev 415663)
+++ PKGBUILD 2021-05-18 08:24:35 UTC (rev 415664)
@@ -1,31 +0,0 @@
-# Maintainer:
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: PedsXing <pedsxing at gmx dot net>
-
-pkgname=vc
-pkgver=1.4.1
-pkgrel=2
-pkgdesc="A library to ease explicit vectorization of C++ code"
-url='https://github.com/VcDevel/Vc'
-arch=(x86_64)
-license=(LGPL3)
-makedepends=(cmake)
-source=("https://github.com/VcDevel/Vc/releases/download/$pkgver/Vc-$pkgver.tar.gz")
-sha256sums=('68e609a735326dc3625e98bd85258e1329fb2a26ce17f32c432723b750a4119f')
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
- cmake ../Vc-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DTARGET_ARCHITECTURE=generic
- make
-}
-
-package() {
- cd build
- make DESTDIR="$pkgdir" install
-}
Copied: vc/repos/extra-x86_64/PKGBUILD (from rev 415663, vc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-18 08:24:35 UTC (rev 415664)
@@ -0,0 +1,31 @@
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: PedsXing <pedsxing at gmx dot net>
+
+pkgname=vc
+pkgver=1.4.1
+pkgrel=3
+pkgdesc='A library to ease explicit vectorization of C++ code'
+url='https://github.com/VcDevel/Vc'
+arch=(x86_64)
+license=(LGPL3)
+makedepends=(cmake)
+source=(https://github.com/VcDevel/Vc/releases/download/$pkgver/Vc-$pkgver.tar.gz
+ https://github.com/VcDevel/Vc/commit/f41958c3.patch)
+sha256sums=('68e609a735326dc3625e98bd85258e1329fb2a26ce17f32c432723b750a4119f'
+ 'cd916fbf9de5650ef4e9889c0022226623d411b0dd8d45c718bc8051c5ff637c')
+
+prepare() {
+ patch -d Vc-$pkgver -p1 < f41958c3.patch # Add missing include for GCC 11
+}
+
+build() {
+ cmake -B build -S Vc-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DTARGET_ARCHITECTURE=generic
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
More information about the arch-commits
mailing list