diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-cluster/knem |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-cluster/knem')
-rw-r--r-- | sys-cluster/knem/Manifest | 7 | ||||
-rw-r--r-- | sys-cluster/knem/files/45-knem.rules | 1 | ||||
-rw-r--r-- | sys-cluster/knem/knem-1.1.1.ebuild | 75 | ||||
-rw-r--r-- | sys-cluster/knem/knem-9999.ebuild | 75 | ||||
-rw-r--r-- | sys-cluster/knem/metadata.xml | 12 |
5 files changed, 170 insertions, 0 deletions
diff --git a/sys-cluster/knem/Manifest b/sys-cluster/knem/Manifest new file mode 100644 index 000000000000..f9e8c7aa5951 --- /dev/null +++ b/sys-cluster/knem/Manifest @@ -0,0 +1,7 @@ +AUX 45-knem.rules 28 SHA256 6087f4d9ae8e629f5440d94ae0359935a4222dafb091bcb7fa9efd7f2024e80d SHA512 fc819a12ad7432cbf08450ebc36b469402753d8d363d72a46b71efb916391d320591eac0be9498a37a7bbc5ebe1b2725a2cbf37c7c69ed7d5c6e1ccf9ce0e51b WHIRLPOOL 06625f151fd4832d3a89ea65e8b648f4bfb10123dc8434ef0c8e0f7f546f77e222a5f52a9d8665a619e47ac5c4f0e129807eb3ccbee53e670a246e6508c9cdd2 +DIST knem-1.1.1.tar.gz 321401 SHA256 4bfbb4c237022cfebbe6b80c9d181252ee3a09cd42bc9dd1e90a81575fbbbef6 SHA512 6b53748df8ffcfa400870657d5c121f51e132d2b724bca832b00d7c16c546299d1dd29739fe1d4b00cc33010558ae584e7c0078de2c56d8ea92ce7880b4bfedc WHIRLPOOL 74908664d734d880082e35ec5707887dd17745b0edc161926906fcab9767bdc59d98bd710463188a6d73da781265d8ab83a8dd15beae57058455e734480a46d5 +EBUILD knem-1.1.1.ebuild 1568 SHA256 bebb991567730fd1b16aa5851f8d4035234b21ed7609524b0fa8a3148bf520da SHA512 6586238a87b39dd0041bcf0f22f7704bcbdb2d9deeaa1f24818fdff4da1f7cb807a9e92cc6b4876592da44e73e38cbc9da67090e45f0f277a2567b8d02e94f81 WHIRLPOOL 7b59a09df19df374bc8b4061541396f16ba05ab824674f3d63967ac2946628c5c1a83c0b4f6db19af864acb7bf89bc09c1ffc9043e313ce33a42367e22e07e31 +EBUILD knem-9999.ebuild 1568 SHA256 bebb991567730fd1b16aa5851f8d4035234b21ed7609524b0fa8a3148bf520da SHA512 6586238a87b39dd0041bcf0f22f7704bcbdb2d9deeaa1f24818fdff4da1f7cb807a9e92cc6b4876592da44e73e38cbc9da67090e45f0f277a2567b8d02e94f81 WHIRLPOOL 7b59a09df19df374bc8b4061541396f16ba05ab824674f3d63967ac2946628c5c1a83c0b4f6db19af864acb7bf89bc09c1ffc9043e313ce33a42367e22e07e31 +MISC ChangeLog 2487 SHA256 4720a4453e1b7ad957c93308c5b984d8d30a80ca7dd276fc7e13350b1a31bdb4 SHA512 82ed8b7f28d6a1fa98283d5746ddfcd101c2b7593895138dddb12d595489f7479eba6efa28bc5cc84ee4d3919b03b6b695e1e95e065051dcb687a71d65ffb4b1 WHIRLPOOL b7327c0519df0d2848f2b2d11894995d2c598f5c9a95bd777c726176ff1aee70a508a550bf9d249b354149369dc0f70ab2f82e1fb23b9d0346fed68b3f6d6f42 +MISC ChangeLog-2015 1258 SHA256 6762dc38524d2644e602ffe7c99a9276629888ee51dd6d1f8ee81b582868e571 SHA512 6cc0160fe538d5bbb7164253fc5ee802fa64131f7677ae01028677f81322e07fcc4673f873f4b44c6e3f32193b0cbfa9207bec62c8865f0323117e040bfac14c WHIRLPOOL 5a60f245ed260ed5ba840c42d7604f82d1c2a61da2da9e885fd3174272b1b556bb601cc64217b00109ae4570fbbb39ecebf7a1b57dd76ffa6e15ca8ad60baf5a +MISC metadata.xml 365 SHA256 90e0eb71575b3b48ddebbb80e17f8a75e2e071f1b8048ec7ad42b62e3179995f SHA512 debd6bb734810af46390ed76b73151e5729999aff31956951cf9482e06ae6d08e4d642f9fc27ff99f0947b0b63214dc9ca6514e760d0d93a79bcd9ea79b60743 WHIRLPOOL 3f4277a73ba9bcbebc283ee05e6d99c5827b52ebe47ba0acd8b02f6207132b1ed6618f7408c85bfbf9588a2b222adac3ff2578a715d21521b95a290be3c9a9a6 diff --git a/sys-cluster/knem/files/45-knem.rules b/sys-cluster/knem/files/45-knem.rules new file mode 100644 index 000000000000..1b87b1eb7a64 --- /dev/null +++ b/sys-cluster/knem/files/45-knem.rules @@ -0,0 +1 @@ +KERNEL=="knem", MODE="0666" diff --git a/sys-cluster/knem/knem-1.1.1.ebuild b/sys-cluster/knem/knem-1.1.1.ebuild new file mode 100644 index 000000000000..5de621a022fb --- /dev/null +++ b/sys-cluster/knem/knem-1.1.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools linux-mod linux-info toolchain-funcs udev multilib + +DESCRIPTION="High-Performance Intra-Node MPI Communication" +HOMEPAGE="http://runtime.bordeaux.inria.fr/knem/" +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://gforge.inria.fr/git/knem/knem.git" + inherit git-2 + KEYWORDS="" +else + SRC_URI="http://runtime.bordeaux.inria.fr/knem/download/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +IUSE="debug modules" + +DEPEND=" + sys-apps/hwloc + virtual/linux-sources" +RDEPEND=" + sys-apps/hwloc + virtual/modutils" + +MODULE_NAMES="knem(misc:${S}/driver/linux)" +BUILD_TARGETS="all" +BUILD_PARAMS="KDIR=${KERNEL_DIR}" + +pkg_setup() { + linux-info_pkg_setup + linux-mod_pkg_setup + ARCH="$(tc-arch-kernel)" + ABI="${KERNEL_ABI}" +} + +src_prepare() { + sed 's:driver/linux::g' -i Makefile.am + eautoreconf +} + +src_configure() { + econf \ + --enable-hwloc \ + --with-linux="${KERNEL_DIR}" \ + --with-linux-release=${KV_FULL} \ + $(use_enable debug) +} + +src_compile() { + default + if use modules; then + cd "${S}/driver/linux" + linux-mod_src_compile || die "failed to build driver" + fi +} + +src_install() { + default + if use modules; then + cd "${S}/driver/linux" + linux-mod_src_install || die "failed to install driver" + fi + + # Drop funny unneded stuff + rm "${ED}/usr/sbin/knem_local_install" || die + rmdir "${ED}/usr/sbin" || die + # install udev rules + udev_dorules "${FILESDIR}/45-knem.rules" + rm "${ED}/etc/10-knem.rules" || die +} diff --git a/sys-cluster/knem/knem-9999.ebuild b/sys-cluster/knem/knem-9999.ebuild new file mode 100644 index 000000000000..5de621a022fb --- /dev/null +++ b/sys-cluster/knem/knem-9999.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools linux-mod linux-info toolchain-funcs udev multilib + +DESCRIPTION="High-Performance Intra-Node MPI Communication" +HOMEPAGE="http://runtime.bordeaux.inria.fr/knem/" +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://gforge.inria.fr/git/knem/knem.git" + inherit git-2 + KEYWORDS="" +else + SRC_URI="http://runtime.bordeaux.inria.fr/knem/download/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +IUSE="debug modules" + +DEPEND=" + sys-apps/hwloc + virtual/linux-sources" +RDEPEND=" + sys-apps/hwloc + virtual/modutils" + +MODULE_NAMES="knem(misc:${S}/driver/linux)" +BUILD_TARGETS="all" +BUILD_PARAMS="KDIR=${KERNEL_DIR}" + +pkg_setup() { + linux-info_pkg_setup + linux-mod_pkg_setup + ARCH="$(tc-arch-kernel)" + ABI="${KERNEL_ABI}" +} + +src_prepare() { + sed 's:driver/linux::g' -i Makefile.am + eautoreconf +} + +src_configure() { + econf \ + --enable-hwloc \ + --with-linux="${KERNEL_DIR}" \ + --with-linux-release=${KV_FULL} \ + $(use_enable debug) +} + +src_compile() { + default + if use modules; then + cd "${S}/driver/linux" + linux-mod_src_compile || die "failed to build driver" + fi +} + +src_install() { + default + if use modules; then + cd "${S}/driver/linux" + linux-mod_src_install || die "failed to install driver" + fi + + # Drop funny unneded stuff + rm "${ED}/usr/sbin/knem_local_install" || die + rmdir "${ED}/usr/sbin" || die + # install udev rules + udev_dorules "${FILESDIR}/45-knem.rules" + rm "${ED}/etc/10-knem.rules" || die +} diff --git a/sys-cluster/knem/metadata.xml b/sys-cluster/knem/metadata.xml new file mode 100644 index 000000000000..fc70a30f312d --- /dev/null +++ b/sys-cluster/knem/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>alexxy@gentoo.org</email> + <name>Alexey Shvetsov</name> + </maintainer> +<maintainer type="project"> + <email>cluster@gentoo.org</email> + <name>Gentoo Cluster Project</name> + </maintainer> +</pkgmetadata> |