sys-cluster/veloc: move COMM_QUEUE use expand to profiles/desc

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-05-27 01:38:29 +02:00
parent a434bd558f
commit c798d2ce3a
3 changed files with 16 additions and 11 deletions

View File

@@ -0,0 +1,8 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# This file contains descriptions of COMM_QUEUE USE_EXPAND flags.
ipc - Use ipc as the communication protocol between client library and active backend
socket - Use socket as the communication protocol between client library and active backend
thallium - Use thallium as the communication protocol between client library and active backend

View File

@@ -14,8 +14,5 @@ VeloC is a collaboration between Argonne National Laboratory and Lawrence Liverm
</longdescription> </longdescription>
<use> <use>
<flag name="slurm">Use <pkg>sys-cluster/slurm</pkg> as resource manager</flag> <flag name="slurm">Use <pkg>sys-cluster/slurm</pkg> as resource manager</flag>
<flag name="comm-queue-ipc">Use ipc as the communication protocol between client library and active backend</flag>
<flag name="comm-queue-socket">Use socket as the communication protocol between client library and active backend</flag>
<!--<flag name="comm-queue-thallium">Use as the communication protocol between client library and active backend</flag>-->
</use> </use>
</pkgmetadata> </pkgmetadata>

View File

@@ -18,15 +18,15 @@ SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
IUSE_COMM_QUEUE=" IUSE_COMM_QUEUE="
+comm-queue-ipc +comm_queue_ipc
comm-queue-socket comm_queue_socket
" "
# comm-queue-thallium # comm_queue_thallium
IUSE="${IUSE_COMM_QUEUE} python +slurm" IUSE="${IUSE_COMM_QUEUE} python +slurm"
# AXL is optional # AXL is optional
RDEPEND=" RDEPEND="
comm-queue-ipc? ( dev-libs/boost ) comm_queue_ipc? ( dev-libs/boost )
slurm? ( sys-cluster/slurm ) slurm? ( sys-cluster/slurm )
dev-libs/openssl dev-libs/openssl
@@ -34,7 +34,7 @@ RDEPEND="
sys-cluster/er sys-cluster/er
virtual/mpi virtual/mpi
" "
# comm-queue-thallium? ( thallium ) # comm_queue_thallium? ( thallium )
DEPEND="${RDEPEND}" DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/${P}-strip-cflags.patch" ) PATCHES=( "${FILESDIR}/${P}-strip-cflags.patch" )
@@ -54,9 +54,9 @@ src_configure() {
use slurm && resman="SLURM" use slurm && resman="SLURM"
local queue local queue
use comm-queue-ipc && queue="ipc_queue" use comm_queue_ipc && queue="ipc_queue"
use comm-queue-socket && queue="socket_queue" use comm_queue_socket && queue="socket_queue"
# use comm-queue-thallium && queue="thallium_queue" # use comm_queue_thallium && queue="thallium_queue"
local mycmakeargs=( local mycmakeargs=(
-DCMAKE_INSTALL_LIBDIR="$(get_libdir)" -DCMAKE_INSTALL_LIBDIR="$(get_libdir)"