sys-cluster/parsec: disable some useflags used in the next release

Closes: https://bugs.gentoo.org/840710
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-05-04 01:10:28 +02:00
parent 91e7bc3da2
commit 30de3971db
2 changed files with 20 additions and 13 deletions

View File

@@ -6,8 +6,9 @@
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<bugs-to>https://bitbucket.org/icldistcomp/parsec/issues</bugs-to>
<bugs-to>https://github.com/ICLDisco/parsec/issues</bugs-to>
<remote-id type="bitbucket">icldistcomp/parsec</remote-id>
<remote-id type="github">ICLDisco/parsec</remote-id>
</upstream>
<longdescription lang="en">
PaRSEC is a generic framework for architecture aware scheduling and management of micro-tasks on distributed many-core heterogeneous architectures. Applications we consider can be expressed as a Direct Acyclic Graph of tasks with labeled edges designating data dependencies. PaRSEC assigns computation threads to the cores, overlaps communications and computations and uses a dynamic, fully-distributed scheduler based on architectural features such as NUMA nodes and algorithmic features such as data reuse.
@@ -21,9 +22,9 @@ The framework includes libraries, a runtime system, and development tools to hel
<!--<flag name="opencl">Enable GPU support using OpenCL kernels</flag>-->
<flag name="sched-deps-mask">Use a complete bitmask to track the dependencies, instead of a counter -- increase the debugging features, but limits to a maximum of 30 input dependencies</flag>
<flag name="parsec-debug-history">Keep a summarized history of critical events in memory that can be dumped in gdb when deadlock occur</flag>
<flag name="parsec-debug-mem-addr">Enable the memory access checker</flag>
<flag name="parsec-debug-mem-leak">Enable only the memory leak checker</flag>
<flag name="parsec-debug-mem-race">Enable the memory thread-race checker</flag>
<!--<flag name="parsec-debug-mem-addr">Enable the memory access checker</flag>-->
<!--<flag name="parsec-debug-mem-leak">Enable only the memory leak checker</flag>-->
<!--<flag name="parsec-debug-mem-race">Enable the memory thread-race checker</flag>-->
<flag name="parsec-debug-noisier">Enable chatterbox-like verbose debugging (may impact performance)</flag>
<flag name="parsec-debug-paranoid">Enable extra paranoid checks (may impact performance)</flag>
<flag name="parsec-dist-collectives">Use optimized asynchronous operations where collective communication pattern is detected</flag>

View File

@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
EAPI=7
DOCS_BUILDER="doxygen"
DOCS_DIR="docs/doxygen"
@@ -16,11 +16,13 @@ S="${WORKDIR}/icldistcomp-${PN}-d2ae4175f072"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
# next release
# parsec-debug-mem-addr
# parsec-debug-mem-leak
# parsec-debug-mem-race
IUSE_PARSEC_DEBUG="
parsec-debug-history
parsec-debug-mem-addr
parsec-debug-mem-leak
parsec-debug-mem-race
parsec-debug-noisier
parsec-debug-paranoid
"
@@ -65,9 +67,12 @@ BDEPEND="
RESTRICT="!test? ( test )"
REQUIRED_USE="
?? ( mpi sim )
?? ( parsec-debug-mem-addr parsec-debug-mem-leak parsec-debug-mem-race )
?? ( parsec-debug-noisier parsec-debug-history )
?? ( parsec-prof-dry-body parsec-prof-dry-dep parsec-prof-dry-run )
?? ( parsec-prof-btf parsec-prof-otf2 )
"
# next release
# ?? ( parsec-debug-mem-addr parsec-debug-mem-leak parsec-debug-mem-race )
pkg_setup() {
fortran-2_pkg_setup
@@ -78,6 +83,10 @@ src_configure() {
use parsec-prof-btf && trace="PaRSEC Binary Tracing Format"
use parsec-prof-otf2 && trace="OTF2"
# next release
# -DPARSEC_DEBUG_MEM_ADDR=$(usex parsec-debug-mem-addr)
# -DPARSEC_DEBUG_MEM_LEAK=$(usex parsec-debug-mem-leak)
# -DPARSEC_DEBUG_MEM_RACE=$(usex parsec-debug-mem-race)
local mycmakeargs=(
-DBUILD_SHARED_LIBS=ON
-DPARSEC_GPU_CUDA_ALLOC_PER_TILE=OFF
@@ -88,9 +97,6 @@ src_configure() {
-DBUILD_TOOLS=$(usex tools)
-DPARSEC_DEBUG=$(usex debug)
-DPARSEC_DEBUG_HISTORY=$(usex parsec-debug-history)
-DPARSEC_DEBUG_MEM_ADDR=$(usex parsec-debug-mem-addr)
-DPARSEC_DEBUG_MEM_LEAK=$(usex parsec-debug-mem-leak)
-DPARSEC_DEBUG_MEM_RACE=$(usex parsec-debug-mem-race)
-DPARSEC_DEBUG_NOISIER=$(usex parsec-debug-noisier)
-DPARSEC_DEBUG_PARANOID=$(usex parsec-debug-paranoid)
-DPARSEC_DIST_COLLECTIVES=$(usex parsec-dist-collectives)