[arch-commits] Commit in libasl/repos (8 files)
Evgeniy Alekseev
arcanis at archlinux.org
Thu Sep 24 23:28:35 UTC 2015
Date: Friday, September 25, 2015 @ 01:28:35
Author: arcanis
Revision: 141586
archrelease: copy trunk to community-i686, community-x86_64
Added:
libasl/repos/community-i686/
libasl/repos/community-i686/NEWS.md
(from rev 141585, libasl/trunk/NEWS.md)
libasl/repos/community-i686/PKGBUILD
(from rev 141585, libasl/trunk/PKGBUILD)
libasl/repos/community-i686/suppress-deprecated-warnings.patch
(from rev 141585, libasl/trunk/suppress-deprecated-warnings.patch)
libasl/repos/community-x86_64/
libasl/repos/community-x86_64/NEWS.md
(from rev 141585, libasl/trunk/NEWS.md)
libasl/repos/community-x86_64/PKGBUILD
(from rev 141585, libasl/trunk/PKGBUILD)
libasl/repos/community-x86_64/suppress-deprecated-warnings.patch
(from rev 141585, libasl/trunk/suppress-deprecated-warnings.patch)
-----------------------------------------------------+
community-i686/NEWS.md | 15 +++++
community-i686/PKGBUILD | 47 ++++++++++++++++++
community-i686/suppress-deprecated-warnings.patch | 11 ++++
community-x86_64/NEWS.md | 15 +++++
community-x86_64/PKGBUILD | 47 ++++++++++++++++++
community-x86_64/suppress-deprecated-warnings.patch | 11 ++++
6 files changed, 146 insertions(+)
Copied: libasl/repos/community-i686/NEWS.md (from rev 141585, libasl/trunk/NEWS.md)
===================================================================
--- community-i686/NEWS.md (rev 0)
+++ community-i686/NEWS.md 2015-09-24 23:28:35 UTC (rev 141586)
@@ -0,0 +1,15 @@
+# News and ChangeLog
+
+## 0.1.6
+
+- fixing linkage issues
+- fixing testing issues
+- fixing an installation bug
+
+
+## 0.1.5
+
+- supplying cl.hpp, since not provided by OpenCL 2.0 (causes harmless "deprecated" warnings)
+- bug fixes
+- improved tests
+- improved examples
Copied: libasl/repos/community-i686/PKGBUILD (from rev 141585, libasl/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-09-24 23:28:35 UTC (rev 141586)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot ord>
+# Contributor: Andrejs Mivreņiks <gim at fastmail dot fm>
+
+pkgname=libasl
+pkgver=0.1.6
+pkgrel=1
+pkgdesc='Multiphysics simulation software package (Advanced Simulation Library)'
+arch=('i686' 'x86_64')
+url='http://asl.org.il/'
+license=('AGPL3')
+depends=('boost' 'libcl' 'libmatio' 'vtk')
+makedepends=('cmake' 'opencl-headers')
+changelog='NEWS.md'
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/AvtechScientific/ASL/archive/v${pkgver}.tar.gz"
+ 'suppress-deprecated-warnings.patch')
+md5sums=('1f283d066d57e11d4602016148181420'
+ '972d7ed8037a35d32125773ae70f6360')
+
+prepare() {
+ rm -rf "build"
+ mkdir "build"
+
+ # patch to suppress 'deprecated' warning messages
+ # caused by 'opencl-headers' since update to 2.0
+ cd "ASL-${pkgver}"
+ patch -p1 -i "${srcdir}/suppress-deprecated-warnings.patch"
+}
+
+build() {
+ cd "build"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=ON \
+ -DWITH_EXAMPLES=ON \
+ -DWITH_MATIO=ON \
+ -DWITH_API_DOC=OFF \
+ -DWITH_TESTS=OFF \
+ "../ASL-${pkgver}"
+ make
+}
+
+package() {
+ cd "build"
+ make DESTDIR="${pkgdir}" install
+}
+
Copied: libasl/repos/community-i686/suppress-deprecated-warnings.patch (from rev 141585, libasl/trunk/suppress-deprecated-warnings.patch)
===================================================================
--- community-i686/suppress-deprecated-warnings.patch (rev 0)
+++ community-i686/suppress-deprecated-warnings.patch 2015-09-24 23:28:35 UTC (rev 141586)
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt 2015-08-24 19:50:08.000000000 +0300
++++ b/CMakeLists.txt 2015-08-25 23:22:14.174394239 +0300
+@@ -37,7 +37,7 @@ if (CMAKE_VERSION VERSION_LESS 3.1.0)
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive -std=c++11")
+ else()
+ set(CMAKE_CXX_STANDARD 11)
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive")
++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive -Wno-deprecated -Wno-deprecated-declarations")
+ endif()
+
+ # Enable supplied cmake includes and modules
Copied: libasl/repos/community-x86_64/NEWS.md (from rev 141585, libasl/trunk/NEWS.md)
===================================================================
--- community-x86_64/NEWS.md (rev 0)
+++ community-x86_64/NEWS.md 2015-09-24 23:28:35 UTC (rev 141586)
@@ -0,0 +1,15 @@
+# News and ChangeLog
+
+## 0.1.6
+
+- fixing linkage issues
+- fixing testing issues
+- fixing an installation bug
+
+
+## 0.1.5
+
+- supplying cl.hpp, since not provided by OpenCL 2.0 (causes harmless "deprecated" warnings)
+- bug fixes
+- improved tests
+- improved examples
Copied: libasl/repos/community-x86_64/PKGBUILD (from rev 141585, libasl/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-09-24 23:28:35 UTC (rev 141586)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot ord>
+# Contributor: Andrejs Mivreņiks <gim at fastmail dot fm>
+
+pkgname=libasl
+pkgver=0.1.6
+pkgrel=1
+pkgdesc='Multiphysics simulation software package (Advanced Simulation Library)'
+arch=('i686' 'x86_64')
+url='http://asl.org.il/'
+license=('AGPL3')
+depends=('boost' 'libcl' 'libmatio' 'vtk')
+makedepends=('cmake' 'opencl-headers')
+changelog='NEWS.md'
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/AvtechScientific/ASL/archive/v${pkgver}.tar.gz"
+ 'suppress-deprecated-warnings.patch')
+md5sums=('1f283d066d57e11d4602016148181420'
+ '972d7ed8037a35d32125773ae70f6360')
+
+prepare() {
+ rm -rf "build"
+ mkdir "build"
+
+ # patch to suppress 'deprecated' warning messages
+ # caused by 'opencl-headers' since update to 2.0
+ cd "ASL-${pkgver}"
+ patch -p1 -i "${srcdir}/suppress-deprecated-warnings.patch"
+}
+
+build() {
+ cd "build"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=ON \
+ -DWITH_EXAMPLES=ON \
+ -DWITH_MATIO=ON \
+ -DWITH_API_DOC=OFF \
+ -DWITH_TESTS=OFF \
+ "../ASL-${pkgver}"
+ make
+}
+
+package() {
+ cd "build"
+ make DESTDIR="${pkgdir}" install
+}
+
Copied: libasl/repos/community-x86_64/suppress-deprecated-warnings.patch (from rev 141585, libasl/trunk/suppress-deprecated-warnings.patch)
===================================================================
--- community-x86_64/suppress-deprecated-warnings.patch (rev 0)
+++ community-x86_64/suppress-deprecated-warnings.patch 2015-09-24 23:28:35 UTC (rev 141586)
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt 2015-08-24 19:50:08.000000000 +0300
++++ b/CMakeLists.txt 2015-08-25 23:22:14.174394239 +0300
+@@ -37,7 +37,7 @@ if (CMAKE_VERSION VERSION_LESS 3.1.0)
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive -std=c++11")
+ else()
+ set(CMAKE_CXX_STANDARD 11)
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive")
++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive -Wno-deprecated -Wno-deprecated-declarations")
+ endif()
+
+ # Enable supplied cmake includes and modules
More information about the arch-commits
mailing list