summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-07-11 22:53:38 +0100
committerMarek Szuba <marecki@gentoo.org>2021-07-11 23:02:19 +0100
commit8868c2c69c29e6e05b16301bb1698dac673679ff (patch)
tree7e5afc705d5a2bdcee7719af453b477db8b1f243 /dev-util/google-perftools
parentdev-util/google-perftools: update comment on assembly compatibility list (diff)
downloadgentoo-8868c2c69c29e6e05b16301bb1698dac673679ff.tar.gz
gentoo-8868c2c69c29e6e05b16301bb1698dac673679ff.tar.bz2
gentoo-8868c2c69c29e6e05b16301bb1698dac673679ff.zip
dev-util/google-perftools: keyword 2.9.1 for ~riscv
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-util/google-perftools')
-rw-r--r--dev-util/google-perftools/google-perftools-2.9.1.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-util/google-perftools/google-perftools-2.9.1.ebuild b/dev-util/google-perftools/google-perftools-2.9.1.ebuild
index 413257a7ebee..896b51dfd9c8 100644
--- a/dev-util/google-perftools/google-perftools-2.9.1.ebuild
+++ b/dev-util/google-perftools/google-perftools-2.9.1.ebuild
@@ -17,13 +17,18 @@ SLOT="0/4"
# linux amd64/arm/arm64/ppc/ppc64/riscv/x86
# OSX ppc/amd64
# AIX ppc/ppc64
-KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
IUSE="largepages largepages64k +debug minimal optimisememory test static-libs"
RESTRICT="!test? ( test )"
-DEPEND="!ppc64? ( sys-libs/libunwind )"
+# TODO: remove the riscv special case once either libunwind has begun supporting this arch
+# or this package allows using llvm-libunwind for other arches
+DEPEND="!ppc64? (
+ riscv? ( sys-libs/llvm-libunwind )
+ !riscv? ( sys-libs/libunwind )
+)"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"