summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Neuhaus2016-12-18 18:28:12 +0100
committerFrank Neuhaus2016-12-18 18:28:12 +0100
commite7bc130a0b81d9dc9c3cf4e077c7d9bc4ea9153e (patch)
tree977cd34121a990d06be7c279898c6f2411e3bd5f
parent6cfe3976e698cbc49acfdded12e096d7f6e559dd (diff)
downloadaur-e7bc130a0b81d9dc9c3cf4e077c7d9bc4ea9153e.tar.gz
updated to ceres 1.12 for compatibility with eigen 3.3.1
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD11
2 files changed, 8 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b8f3915e123..e21b4a6e6e1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ceres-solver
pkgdesc = Solver for nonlinear least squares problems
- pkgver = 1.11.0
- pkgrel = 4
+ pkgver = 1.12.0
+ pkgrel = 1
url = http://ceres-solver.org/
arch = i686
arch = x86_64
@@ -13,8 +13,8 @@ pkgbase = ceres-solver
depends = suitesparse>=4.4.5
optdepends = openmp
options = staticlibs
- source = http://ceres-solver.org/ceres-solver-1.11.0.tar.gz
- sha256sums = 4d666cc33296b4c5cd77bad18ffc487b3223d4bbb7d1dfb342ed9a87dc9af844
+ source = http://ceres-solver.org/ceres-solver-1.12.0.tar.gz
+ sha256sums = 745bfed55111e086954126b748eb9efe20e30be5b825c6dec3c525cf20afc895
pkgname = ceres-solver
diff --git a/PKGBUILD b/PKGBUILD
index 6c9dfdb8d08..20777b78537 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Contributor: dtag <dtag00@gmail.com>
pkgname=ceres-solver
-pkgver=1.11.0
-pkgrel=4
+pkgver=1.12.0
+pkgrel=1
pkgdesc="Solver for nonlinear least squares problems"
arch=('i686' 'x86_64')
url="http://ceres-solver.org/"
@@ -11,8 +11,8 @@ makedepends=('gcc-libs' 'cmake')
depends=('google-glog>=0.3.4' 'eigen>=3.2.7'
'suitesparse>=4.4.5')
optdepends=('openmp')
-source=("http://ceres-solver.org/ceres-solver-1.11.0.tar.gz")
-sha256sums=("4d666cc33296b4c5cd77bad18ffc487b3223d4bbb7d1dfb342ed9a87dc9af844")
+source=("http://ceres-solver.org/ceres-solver-1.12.0.tar.gz")
+sha256sums=("745bfed55111e086954126b748eb9efe20e30be5b825c6dec3c525cf20afc895")
options=('staticlibs')
_cmakeopts=('-D CMAKE_BUILD_TYPE=Release'
@@ -23,9 +23,6 @@ _cmakeopts=('-D CMAKE_BUILD_TYPE=Release'
build() {
cd $srcdir/$pkgname-$pkgver
- # Temporary fix for GCC 6.0
- sed -i "s/-Werror=extra/-Werror=extra -Wno-error=nonnull-compare -Wno-error=address/g" "CMakeLists.txt"
-
mkdir -p ./build
cd ./build
cmake ${_cmakeopts[@]} ../ -DLIB_SUFFIX=""