commit:     69e907e2b52b6fe0cc57ef8667920933ac41f35e
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Thu Feb 25 01:27:51 2021 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Thu Feb 25 01:27:51 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=69e907e2

sci-libs/ensmallen: version bump to 2.16.0

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 sci-libs/ensmallen/ensmallen-2.16.0.ebuild | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/sci-libs/ensmallen/ensmallen-2.16.0.ebuild 
b/sci-libs/ensmallen/ensmallen-2.16.0.ebuild
new file mode 100644
index 000000000..bd1c0530b
--- /dev/null
+++ b/sci-libs/ensmallen/ensmallen-2.16.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2021 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
+}

Reply via email to