sci-libs/ceres-solver: Restrict non native X86 to supporting USE

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=593954
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=596560
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=606776

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
Justin Lecher
2017-01-22 10:20:27 +00:00
parent bc76ed3e0b
commit 3c9b9c373b
2 changed files with 19 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -15,12 +15,12 @@ SRC_URI="${HOMEPAGE}/${P}.tar.gz"
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? (
@@ -29,7 +29,8 @@ RDEPEND="
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

View File

@@ -1,11 +1,11 @@
<?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:
@@ -21,15 +21,15 @@
* 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>