Skip to content

Commit 7eb2f27

Browse files
committed
chore(sci-biology/cmdock): update to dev-util/perfdata-0.12
1 parent d9957ea commit 7eb2f27

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sci-biology/cmdock/cmdock-0.2.0-r10.ebuild

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ RESTRICT="perfdata-sample-gen? ( strip ) !test? ( test )"
4242
RDEPEND="
4343
perfdata-sample-gen? (
4444
app-alternatives/sh
45-
=dev-util/perfdata-0.7*
45+
=dev-util/perfdata-0.12*
4646
)
4747
"
4848
DEPEND="
@@ -239,7 +239,9 @@ EOF
239239
use perfdata-sample-gen && cat <<EOF
240240
. '/etc/profile.env' # make sure llvm tools are in PATH
241241
export PERFDATA_PROFILE_DIR="${PERFDATA_PROFILE_DIR_BOINC}"
242-
exec perfdata --format prof --binary "${CMDOCK_EXE}" --binary "${CMDOCK_LIB}" "${CMDOCK_EXE}" "\${@}"
242+
243+
# all hot paths are in libcmdock.so so sampling from cmdock also would be a waste of time
244+
exec perfdata --format prof --binary "${CMDOCK_LIB}" "${CMDOCK_EXE}" "\${@}"
243245
EOF
244246

245247
! use perfdata-sample-gen &&

0 commit comments

Comments
 (0)