summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2018-05-08 11:42:00 +0200
committerMichel Zou2018-05-08 11:42:00 +0200
commit39998364e2749cff98beef210534ab0ad41bed6b (patch)
treef7d3a5220d6c5f5dc91c55006e7ea985a1f81657
parent5416d08d38bca06b650a6c24083ff4214e19c249 (diff)
downloadaur-39998364e2749cff98beef210534ab0ad41bed6b.tar.gz
werror
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD12
2 files changed, 12 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 19132bd9bc5..3dd8dc433df 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Fri May 26 15:40:32 UTC 2017
+# Tue May 8 09:42:00 UTC 2018
pkgbase = mingw-w64-hmat-oss
pkgdesc = A hierarchical matrix C/C++ library (mingw-w64)
pkgver = 1.5.0
diff --git a/PKGBUILD b/PKGBUILD
index 87492836561..c4f6f43c940 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,9 +13,19 @@ sha1sums=('ea50bc4ee9eabd42fb81757c5549a2e592a4a434')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
-build() {
+prepare () {
cd "$srcdir/hmat-oss-${pkgver}"
+
+ # https://github.com/jeromerobert/hmat-oss/commit/75727393cc78a20f94b3b6ba445385871504172e
sed -i '34i#include "cluster_tree.hpp"' src/full_matrix.hpp
+
+ # gcc 8 class-memaccess failure
+ sed -i "s|\-Werror ||g" CMakeLists.txt
+}
+
+
+build() {
+ cd "$srcdir/hmat-oss-${pkgver}"
for _arch in ${_architectures}; do
mkdir -p build-${_arch}-static && pushd build-${_arch}-static
${_arch}-cmake \