commit:     5e71c34ee68cf5f807db728862e25533a245390d
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Fri Feb 26 15:53:52 2021 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Fri Feb 26 15:54:01 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=5e71c34e

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 <AT> aisha.cc>

 dev-libs/memkind/memkind-1.11.0.ebuild | 54 ++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

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
+}

Reply via email to