Install this version:
emerge -a =sci-electronics/systemc-3.0.2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sci-electronics/systemc-3.0.2
Or alternatively:
emerge --autounmask-write -a =sci-electronics/systemc-3.0.2
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools toolchain-funcs
DESCRIPTION="A C++ based modeling platform for VLSI and system-level co-design"
HOMEPAGE="
https://systemc.org
https://github.com/accellera-official/systemc
"
if [[ "${PV}" == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/accellera-official/${PN}.git"
inherit git-r3
else
SRC_URI="https://github.com/accellera-official/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
fi
LICENSE="Apache-2.0"
SLOT="0"
IUSE="debug doc examples static-libs"
REQUIRED_USE="examples? ( doc )"
PATCHES=(
"${FILESDIR}"/${PN}-2.3.4-arch-pthreads-fallback.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
econf CXX="$(tc-getCXX)" \
$(use_enable debug) \
$(use_enable static-libs static) \
--with-unix-layout
}
src_install() {
default
if use doc; then
if use examples; then
docompress -x /usr/share/doc/"${PF}"/examples
else
rm -r "${ED}"/usr/share/doc/"${PF}"/examples || die
fi
else
rm -r "${ED}"/usr/share/doc/"${PF}" || die
fi
if ! use static-libs; then
find "${ED}" -name "*.la" -delete || die
fi
}
Manage flags for this package:
euse -i <flag> -p sci-electronics/systemc |
euse -E <flag> -p sci-electronics/systemc |
euse -D <flag> -p sci-electronics/systemc
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | systemc-3.0.2.tar.gz | 4573759 bytes | https://github.com/accellera-official/systemc/archive/3.0.2.tar.gz |