1 |
commit: 2761a6c52a0bffbdba01b3bbcefeeba8d7d4e800 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Oct 5 20:53:04 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Oct 5 21:24:13 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2761a6c5 |
7 |
|
8 |
sci-libs/ensmallen: add 2.17.0 |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
sci-libs/ensmallen/Manifest | 1 + |
13 |
sci-libs/ensmallen/ensmallen-2.17.0.ebuild | 28 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 29 insertions(+) |
15 |
|
16 |
diff --git a/sci-libs/ensmallen/Manifest b/sci-libs/ensmallen/Manifest |
17 |
index a8bcc31fa..f69c4c39a 100644 |
18 |
--- a/sci-libs/ensmallen/Manifest |
19 |
+++ b/sci-libs/ensmallen/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST ensmallen-2.16.2.tar.gz 1294240 BLAKE2B b388f2c99f289dd20f6d94b5b185d872abc553637c6081ea3a80a3c82ce9ac8b1327496bf3eae6dc5cbf5f4ae12a9fd1e8ccf9c296007f9af9cbfc7560cd0301 SHA512 290932f8e423be7c57d8ba38783a29798df52a7505ded7683f969fa30391398edcca584daca1b1c42977f06180a802d4c3640a9ec24cd787a3914723e4eb6f8d |
22 |
+DIST ensmallen-2.17.0.tar.gz 1318322 BLAKE2B cb74a3bc0118c9e702cc7e4d17326f12df45d5fadc63c8881c5dd2b9a79b004189369e1c7fcb2fc84e0bf7331da3937bffdf75b982de52314487f25191053164 SHA512 49dff47d50beabc74c0eb045f0e995348bc1cc022596de1780cad3e8fc6e6ef6cf97fb23f22c78a0662c377c1dd53d087df799d0fa98ebcc97c03c475b67fd07 |
23 |
|
24 |
diff --git a/sci-libs/ensmallen/ensmallen-2.17.0.ebuild b/sci-libs/ensmallen/ensmallen-2.17.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000..2dc0d0e83 |
27 |
--- /dev/null |
28 |
+++ b/sci-libs/ensmallen/ensmallen-2.17.0.ebuild |
29 |
@@ -0,0 +1,28 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+inherit cmake |
36 |
+ |
37 |
+DESCRIPTION="header only C++ library for numerical optimization" |
38 |
+HOMEPAGE="https://ensmallen.org" |
39 |
+SRC_URI="https://github.com/mlpack/ensmallen/archive/${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+ |
41 |
+KEYWORDS="~amd64" |
42 |
+ |
43 |
+LICENSE="BSD" |
44 |
+SLOT="0" |
45 |
+IUSE="openmp test" |
46 |
+RESTRICT="!test? ( test )" |
47 |
+ |
48 |
+RDEPEND="sci-libs/armadillo[lapack]" |
49 |
+DEPEND="${RDEPEND}" |
50 |
+ |
51 |
+src_configure() { |
52 |
+ local mycmakeargs=( |
53 |
+ -DUSE_OPENMP=$(usex openmp) |
54 |
+ -DBUILD_TESTS=$(usex test) |
55 |
+ ) |
56 |
+ cmake_src_configure |
57 |
+} |