-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
LICENSE="sparse? ( BSD ) !sparse? ( LGPL-2.1 ) cxsparse? ( BSD )"
SLOT="0/1"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-
IUSE="cxsparse c++11 doc examples gflags lapack openmp +schur sparse test"
-REQUIRED_USE="test? ( gflags ) sparse? ( lapack )"
+
+REQUIRED_USE="test? ( gflags ) sparse? ( lapack ) abi_x86_32? ( !sparse !lapack )"
RDEPEND="
- dev-cpp/glog[gflags?]
+ dev-cpp/glog[gflags?,${MULTILIB_USEDEP}]
cxsparse? ( sci-libs/cxsparse:0= )
lapack? ( virtual/lapack )
sparse? (
sci-libs/ccolamd:0=
sci-libs/cholmod:0=
sci-libs/colamd:0=
- sci-libs/spqr:0= )"
+ sci-libs/spqr:0=
+ )"
DEPEND="${RDEPEND}
dev-cpp/eigen:3
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>sci@gentoo.org</email>
- <name>Gentoo Science Project</name>
-</maintainer>
-<longdescription lang="en">
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <longdescription lang="en">
Ceres Solver is a portable C++ library that allows for
modeling and solving large complicated nonlinear least squares
problems. It features:
* Iterative linear solvers for general sparse and bundle
adjustment problems
</longdescription>
-<use>
- <flag name="cxsparse">Enable simple support for sparse matrix algebra from
+ <use>
+ <flag name="cxsparse">Enable simple support for sparse matrix algebra from
<pkg>sci-libs/cxsparse</pkg> with no LAPACK dependencies</flag>
- <flag name="schur">Enable fixed-size schur specializations (disable if
+ <flag name="schur">Enable fixed-size schur specializations (disable if
binary size is an issue)</flag>
- <flag name="sparse">Enable support for sparse matrix algebra with various
+ <flag name="sparse">Enable support for sparse matrix algebra with various
packages from SuiteSparse</flag>
- <flag name="gflags">Use <pkg>dev-cpp/gflags</pkg> for flag parsing</flag>
- <flag name="protobuf">Use <pkg>dev-libs/protobuf</pkg> to encode structured data</flag>
- <flag name="c++11">Build ceres-solver using the C++11 standard</flag>
-</use>
+ <flag name="gflags">Use <pkg>dev-cpp/gflags</pkg> for flag parsing</flag>
+ <flag name="protobuf">Use <pkg>dev-libs/protobuf</pkg> to encode structured data</flag>
+ <flag name="c++11">Build ceres-solver using the C++11 standard</flag>
+ </use>
</pkgmetadata>