mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
dev-R/RcppEnsmallen: unbundle ensmallen
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -22,3 +22,19 @@ RDEPEND="
|
|||||||
dev-R/Rcpp
|
dev-R/Rcpp
|
||||||
>=dev-R/RcppArmadillo-0.8.400.0.0
|
>=dev-R/RcppArmadillo-0.8.400.0.0
|
||||||
"
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
#remove bundled
|
||||||
|
rm -r inst/include/ensmallen_bits || die
|
||||||
|
rm inst/include/ensmallen.hpp || die
|
||||||
|
#link to sci-libs/ensmallen
|
||||||
|
dosym /usr/include/ensmallen_bits inst/include/ensmallen_bits
|
||||||
|
dosym /usr/include/ensmallen.hpp inst/include/ensmallen.hpp
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
R-packages_src_install
|
||||||
|
dosym /usr/include/ensmallen_bits "/usr/$(get_libdir)/R/site-library/${PN}/include/ensmallen_bits"
|
||||||
|
dosym /usr/include/ensmallen.hpp "/usr/$(get_libdir)/R/site-library/${PN}/include/ensmallen.hpp"
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,25 +1,25 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<longdescription>
|
<!-- maintainer-needed -->
|
||||||
Header-Only C++ Mathematical Optimization Library for 'Armadillo'
|
<upstream>
|
||||||
// 'Ensmallen' is a templated C++ mathematical optimization
|
<bugs-to>https://github.com/coatless/rcppensmallen/issues</bugs-to>
|
||||||
library (by the 'MLPACK' team) that provides a simple set of
|
<doc lang="en">https://cran.r-project.org/web/packages/RcppEnsmallen/RcppEnsmallen.pdf</doc>
|
||||||
abstractions for writing an objective function to optimize.
|
<changelog>https://cran.r-project.org/web/packages/RcppEnsmallen/ChangeLog</changelog>
|
||||||
Provided within are various standard and cutting-edge
|
<maintainer>
|
||||||
optimizers that include full-batch gradient descent techniques,
|
<name>James Joseph Balamuta</name>
|
||||||
small-batch techniques, gradient-free optimizers, and
|
<email>balamut2@illinois.edu</email>
|
||||||
constrained optimization. The 'RcppEnsmallen' package includes
|
</maintainer>
|
||||||
the header files from the 'Ensmallen' library and pairs the
|
<remote-id type="github">coatless/rcppensmallen</remote-id>
|
||||||
appropriate header files from 'armadillo' through the
|
</upstream>
|
||||||
'RcppArmadillo' package. Therefore, users do not need to
|
<longdescription lang="en">
|
||||||
install 'Ensmallen' nor 'Armadillo' to use 'RcppEnsmallen'.
|
Header-Only C++ Mathematical Optimization Library for 'Armadillo'
|
||||||
Note that 'Ensmallen' is licensed under 3-Clause BSD,
|
// 'Ensmallen' is a templated C++ mathematical optimization
|
||||||
'Armadillo' starting from 7.800.0 is licensed under Apache
|
library (by the 'MLPACK' team) that provides a simple set of
|
||||||
License 2, 'RcppArmadillo' (the 'Rcpp' bindings/bridge to
|
abstractions for writing an objective function to optimize.
|
||||||
'Armadillo') is licensed under the GNU GPL version 2 or later.
|
Provided within are various standard and cutting-edge
|
||||||
Thus, 'RcppEnsmallen' is also licensed under similar terms.
|
optimizers that include full-batch gradient descent techniques,
|
||||||
Note that 'Ensmallen' requires a compiler that supports 'C++11'
|
small-batch techniques, gradient-free optimizers, and
|
||||||
and 'Armadillo' 8.400 or later.
|
constrained optimization.
|
||||||
</longdescription>
|
</longdescription>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
|||||||
Reference in New Issue
Block a user