diff options
author | 2020-09-26 18:13:47 +0000 | |
---|---|---|
committer | 2020-09-26 18:13:47 +0000 | |
commit | c21cfa7e2374652a8776fc202d2ab8175d603f17 (patch) | |
tree | d3647a551e069f4b00fcf9054cd487b573a38643 | |
parent | sci-libs/tensorflow: drop package (diff) | |
download | sci-c21cfa7e2374652a8776fc202d2ab8175d603f17.tar.gz sci-c21cfa7e2374652a8776fc202d2ab8175d603f17.tar.bz2 sci-c21cfa7e2374652a8776fc202d2ab8175d603f17.zip |
sci-libs/ensmallen: fast numerical library
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
-rw-r--r-- | sci-libs/ensmallen/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/ensmallen/ensmallen-2.14.2.ebuild | 28 | ||||
-rw-r--r-- | sci-libs/ensmallen/metadata.xml | 15 |
3 files changed, 44 insertions, 0 deletions
diff --git a/sci-libs/ensmallen/Manifest b/sci-libs/ensmallen/Manifest new file mode 100644 index 000000000..13a981790 --- /dev/null +++ b/sci-libs/ensmallen/Manifest @@ -0,0 +1 @@ +DIST ensmallen-2.14.2.tar.gz 1262697 BLAKE2B c3ecd10271a476cdb03de0a74dd1e7d250273481b540d9cadb44ff7292cdb1f4abbefaf7c1a90bd33c68928f766db8afafd45f253735a36de9def6ab222597bb SHA512 9f29d70f66748d6131b44fc2a580e9fc07131a3aeecaa9f6113fd635eaff8b52db90e487a389393a1976dcccb8c1f5850ea50e03308af90b58ba1c12fde2bd21 diff --git a/sci-libs/ensmallen/ensmallen-2.14.2.ebuild b/sci-libs/ensmallen/ensmallen-2.14.2.ebuild new file mode 100644 index 000000000..bb93e8246 --- /dev/null +++ b/sci-libs/ensmallen/ensmallen-2.14.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="header only C++ library for numerical optimization" +HOMEPAGE="https://ensmallen.org" +SRC_URI="https://github.com/mlpack/ensmallen/archive/${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64" + +LICENSE="BSD" +SLOT="0" +IUSE="openmp test" +RESTRICT="!test? ( test )" + +RDEPEND="sci-libs/armadillo[lapack]" +DEPEND="${RDEPEND}" + +src_configure() { + local mycmakeargs=( + -DUSE_OPENMP=$(usex openmp) + -DBUILD_TESTS=$(usex test) + ) + cmake_src_configure +} diff --git a/sci-libs/ensmallen/metadata.xml b/sci-libs/ensmallen/metadata.xml new file mode 100644 index 000000000..043f7babc --- /dev/null +++ b/sci-libs/ensmallen/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>gentoo@aisha.cc</email> + <name>Aisha Tammy</name> + </maintainer> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <upstream> + <remote-id type="github">mlpack/ensmallen</remote-id> + </upstream> +</pkgmetadata> |