aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2016-06-13 21:43:10 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2016-06-13 21:43:10 +0300
commit01fcdaf7e9523dc74e1c7ed47173215791406ca5 (patch)
treeac69d45084ba6a1dfd1de812f412501beddc7075
parentsys-cluster/lustre: Also minor fix for 9999 version (diff)
downloadsci-01fcdaf7e9523dc74e1c7ed47173215791406ca5.tar.gz
sci-01fcdaf7e9523dc74e1c7ed47173215791406ca5.tar.bz2
sci-01fcdaf7e9523dc74e1c7ed47173215791406ca5.zip
sys-cluster/lustre: enable DLC for lustre
Package-Manager: portage-2.3.0_rc1
-rw-r--r--sys-cluster/lustre/lustre-2.8.54.ebuild4
-rw-r--r--sys-cluster/lustre/lustre-9999.ebuild10
-rw-r--r--sys-cluster/lustre/metadata.xml9
3 files changed, 16 insertions, 7 deletions
diff --git a/sys-cluster/lustre/lustre-2.8.54.ebuild b/sys-cluster/lustre/lustre-2.8.54.ebuild
index 2a976b2c7..24b1bc203 100644
--- a/sys-cluster/lustre/lustre-2.8.54.ebuild
+++ b/sys-cluster/lustre/lustre-2.8.54.ebuild
@@ -25,10 +25,11 @@ EGIT_REPO_URI="git://git.whamcloud.com/fs/lustre-release.git"
LICENSE="GPL-2"
SLOT="0"
-IUSE="+client +utils +modules server readline tests"
+IUSE="+client +utils +modules +dlc server readline tests"
RDEPEND="
virtual/awk
+ dlc? ( dev-libs/libyaml )
readline? ( sys-libs/readline:0 )
server? (
>=sys-kernel/spl-0.6.1
@@ -95,6 +96,7 @@ src_configure() {
${myconf} \
--without-ldiskfs \
--with-linux="${KERNEL_DIR}" \
+ $(use_enable dlc) \
$(use_enable client) \
$(use_enable utils) \
$(use_enable modules) \
diff --git a/sys-cluster/lustre/lustre-9999.ebuild b/sys-cluster/lustre/lustre-9999.ebuild
index c45ea6ff7..d928ee3e3 100644
--- a/sys-cluster/lustre/lustre-9999.ebuild
+++ b/sys-cluster/lustre/lustre-9999.ebuild
@@ -25,10 +25,11 @@ EGIT_REPO_URI="git://git.whamcloud.com/fs/lustre-release.git"
LICENSE="GPL-2"
SLOT="0"
-IUSE="+client +utils +modules server readline tests"
+IUSE="+client +utils +modules +dlc server readline tests"
RDEPEND="
virtual/awk
+ dlc? ( dev-libs/libyaml )
readline? ( sys-libs/readline:0 )
server? (
>=sys-kernel/spl-0.6.1
@@ -43,6 +44,10 @@ REQUIRED_USE="
client? ( modules )
server? ( modules )"
+PATCHES=(
+ "${FILESDIR}/0008-Fix-build-error-with-gcc-6.1.patch"
+ )
+
pkg_setup() {
filter-mfpmath sse
filter-mfpmath i386
@@ -53,7 +58,7 @@ pkg_setup() {
}
src_prepare() {
- if [ ! -z ${#PATCHES[@]} ]; then
+ if [ ! -z ${#PATCHES[0]} ]; then
epatch ${PATCHES[@]}
fi
eapply_user
@@ -84,6 +89,7 @@ src_configure() {
${myconf} \
--without-ldiskfs \
--with-linux="${KERNEL_DIR}" \
+ $(use_enable dlc) \
$(use_enable client) \
$(use_enable utils) \
$(use_enable modules) \
diff --git a/sys-cluster/lustre/metadata.xml b/sys-cluster/lustre/metadata.xml
index 026d87763..04a532757 100644
--- a/sys-cluster/lustre/metadata.xml
+++ b/sys-cluster/lustre/metadata.xml
@@ -9,9 +9,10 @@
Lustre is a parallel distributed file system, generally used for large scale cluster computing
</longdescription>
<use>
- <flag name="client">Enable kernel client modules</flag>
- <flag name="server">Enable kernels server modules</flag>
- <flag name="utils">Enable lustre utils</flag>
- <flag name="tests">Enable installation of tests</flag>
+ <flag name="client">Enable kernel client modules</flag>
+ <flag name="dlc">Enable Dynamic LNET Configuration</flag>
+ <flag name="server">Enable kernels server modules</flag>
+ <flag name="utils">Enable lustre utils</flag>
+ <flag name="tests">Enable installation of tests</flag>
</use>
</pkgmetadata>