sci-libs/ensmallen - 2.16.2 (science)

Search

Package Information

Description:
header only C++ library for numerical optimization
Homepage:
https://ensmallen.org
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
2.16.2 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

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
}

USE Flags

Dependencies

DEPEND

sci-libs/armadillo[lapack]

RDEPEND

sci-libs/armadillo[lapack]

Manifest for 2.16.2

Type File Size Source URLs
DIST ensmallen-2.16.2.tar.gz 1294240 bytes https://github.com/mlpack/ensmallen/archive/2.16.2.tar.gz