[arch-commits] Commit in pocl/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Apr 15 22:59:25 UTC 2020
Date: Wednesday, April 15, 2020 @ 22:59:24
Author: foutrelis
Revision: 615078
archrelease: copy trunk to community-staging-x86_64
Added:
pocl/repos/community-staging-x86_64/
pocl/repos/community-staging-x86_64/PKGBUILD
(from rev 615077, pocl/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: pocl/repos/community-staging-x86_64/PKGBUILD (from rev 615077, pocl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-04-15 22:59:24 UTC (rev 615078)
@@ -0,0 +1,38 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: spider-mario <spidermario at free.fr>
+# Contributor: Olaf Leidinger <oleid at mescharet.de>
+# Contributor: fabien Cellier <fabien.cellier at gmail.com>
+
+pkgname=pocl
+pkgver=1.5
+pkgrel=2
+pkgdesc="Portable OpenCL is an open-source implementation of OpenCL which can be easily adapted for new targets"
+arch=('x86_64')
+url="http://portablecl.org/"
+license=('GPL')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz")
+depends=('clang' 'hwloc' 'opencl-icd-loader')
+makedepends=('llvm' 'cmake' 'opencl-headers' 'ocl-icd')
+sha512sums=('a9c2879b6f0c0d9a78035ba8ed7531b8fa795074864ee5bab265d7dafedac9637025f994719f00f8d9e25bf5068bd9b074d95b964e5d2c0eddb8d8837e6e5da3')
+
+build() {
+ mkdir -p build
+ cd build
+
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_BUILD_TYPE=Release \
+ "$srcdir/$pkgname-$pkgver"
+ make
+}
+
+check() {
+ cd build
+ make check
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir"/ install
+}
More information about the arch-commits
mailing list