Install this version:
emerge -a =sys-devel/llvm-cbe-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sys-devel/llvm-cbe-9999
Or alternatively:
emerge --autounmask-write -a =sys-devel/llvm-cbe-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
LLVM_COMPAT=( {18..21} )
inherit cmake git-r3 llvm-r2
DESCRIPTION="resurrected LLVM C Backend, with improvements"
HOMEPAGE="https://github.com/JuliaHubOSS/llvm-cbe"
EGIT_REPO_URI="https://github.com/JuliaHubOSS/llvm-cbe.git"
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA BSD public-domain rc"
SLOT="0"
REQUIRED_USE="${LLVM_REQUIRED_USE}"
DEPEND="
$(llvm_gen_dep '
llvm-core/clang:${LLVM_SLOT}=
llvm-core/llvm:${LLVM_SLOT}=
')
"
BDEPEND="${DEPEND}"
RDEPEND="${DEPEND}"
RESTRICT="test"
src_install() {
cmake_src_install
dobin "${BUILD_DIR}/tools/llvm-cbe/llvm-cbe"
}
$(llvm_gen_dep ' llvm-core/clang:${LLVM_SLOT}= llvm-core/llvm:${LLVM_SLOT}= ')
$(llvm_gen_dep ' llvm-core/clang:${LLVM_SLOT}= llvm-core/llvm:${LLVM_SLOT}= ')
$(llvm_gen_dep ' llvm-core/clang:${LLVM_SLOT}= llvm-core/llvm:${LLVM_SLOT}= ')