aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisha Tammy <gentoo@aisha.cc>2021-02-26 15:53:52 +0000
committerAisha Tammy <gentoo@aisha.cc>2021-02-26 15:54:01 +0000
commit5e71c34ee68cf5f807db728862e25533a245390d (patch)
treed0b411f810eab4650b1c9c47640b821c29a6f722 /dev-libs
parentsci-mathematics/netgen: fixup dep, <sci-libs/metis-5.0 unavailable (diff)
downloadsci-5e71c34ee68cf5f807db728862e25533a245390d.tar.gz
sci-5e71c34ee68cf5f807db728862e25533a245390d.tar.bz2
sci-5e71c34ee68cf5f807db728862e25533a245390d.zip
dev-libs/memkind: version bump to 1.11.0
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/memkind/Manifest1
-rw-r--r--dev-libs/memkind/memkind-1.11.0.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-libs/memkind/Manifest b/dev-libs/memkind/Manifest
index e3a69c087..b939a9f35 100644
--- a/dev-libs/memkind/Manifest
+++ b/dev-libs/memkind/Manifest
@@ -1 +1,2 @@
DIST memkind-1.10.1.tar.gz 1031155 BLAKE2B f51f4011cba5a28ad41d54d5c2c64314ff3d190ac537f0dc7fad9f38198c77fb22963df7ddeb2d95ac5810db00b90622c3e975977c9be78e2a708dc7e0142384 SHA512 9fa2eed4e07d0316ee97fcdb594df4fe2e5cf44a509f658a78986aad9b4f56a9c8fbe281073b93ba3c2870734167ad29b8643d69757733fdce25e45e6f0015a0
+DIST memkind-1.11.0.tar.gz 1072455 BLAKE2B 2de2cf053687ba2150f694e8c4143eeca74fc377feee2b6892067b661d8c58d7d5fcacb021fc92a47dad27f52aa4cbc6408cfede3141ab1f8ae81147b49aa6a7 SHA512 0b5bde35b3565c730fa954aebfe2ccbecd1e120c920d05acdbc0a74914731a90aeef8d57101f1f47bd35fd310bc143fa517bc871b32e592b8412384ff652fc05
diff --git a/dev-libs/memkind/memkind-1.11.0.ebuild b/dev-libs/memkind/memkind-1.11.0.ebuild
new file mode 100644
index 000000000..047d3b9cd
--- /dev/null
+++ b/dev-libs/memkind/memkind-1.11.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools linux-info
+
+DESCRIPTION="user extensible heap manager built on top of jemalloc"
+HOMEPAGE="https://memkind.github.io/memkind/"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/memkind/memkind"
+else
+ SRC_URI="https://github.com/memkind/memkind/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="+heap-manager openmp secure +tls"
+RESTRICT="test"
+
+DEPEND="
+ sys-apps/ndctl
+ sys-process/numactl
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ eautoreconf
+ cd jemalloc && eautoreconf
+}
+
+src_configure() {
+ local myconf=(
+ --disable-silent-rules
+ --enable-shared
+ --enable-static
+ --enable-daxctl
+ $(use_enable heap-manager)
+ $(use_enable openmp)
+ $(use_enable secure)
+ $(use_enable tls)
+ )
+ econf "${myconf[@]}"
+}
+
+src_test() {
+ addwrite /proc/sys/vm/nr_hugepages
+ echo 3000 > /proc/sys/vm/nr_hugepages
+ emake check
+}