Install this version:
emerge -a =dev-cpp/gcem-1.18.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-cpp/gcem-1.18.0
Or alternatively:
emerge --autounmask-write -a =dev-cpp/gcem-1.18.0
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="A C++ compile-time math library using generalized constant expressions"
HOMEPAGE="https://github.com/kthohr/gcem"
SRC_URI="https://github.com/kthohr/gcem/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
src_configure() {
local mycmakeargs=(
-DGCEM_BUILD_TESTS=$(usex test ON OFF)
)
cmake_src_configure
}
Manage flags for this package:
euse -i <flag> -p dev-cpp/gcem |
euse -E <flag> -p dev-cpp/gcem |
euse -D <flag> -p dev-cpp/gcem
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | gcem-1.18.0.gh.tar.gz | 57834 bytes | https://github.com/kthohr/gcem/archive/refs/tags/v1.18.0.tar.gz |