Install this version:
emerge -a =dev-lisp/clozurecl-1.14
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-lisp/clozurecl-1.14
Or alternatively:
emerge --autounmask-write -a =dev-lisp/clozurecl-1.14
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs vcs-clean
MY_PN=ccl
MY_P=${MY_PN}-${PV}
DESCRIPTION="Common Lisp implementation, derived from Digitool's MCL product"
HOMEPAGE="https://ccl.clozure.com"
SRC_URI="
x86? ( https://github.com/Clozure/ccl/releases/download/v${PV}/${MY_P}-linuxx86.tar.gz )
amd64? ( https://github.com/Clozure/ccl/releases/download/v${PV}/${MY_P}-linuxx86.tar.gz )
arm? ( https://github.com/Clozure/ccl/releases/download/v${PV}/${MY_P}-linuxarm.tar.gz )
arm64? ( https://github.com/Clozure/ccl/releases/download/v${PV}/${MY_P}-linuxarm64.tar.gz )
x64-macos? ( https://github.com/Clozure/ccl/releases/download/v${PV}/${MY_P}-darwinx86.tar.gz )
arm64-macos? ( https://github.com/Clozure/ccl/releases/download/v${PV}/${MY_P}-darwinarm64.tar.gz )
doc? ( https://ccl.clozure.com/docs/ccl.html )"
S="${WORKDIR}"/${MY_PN}
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86 ~x64-macos"
# arm arm64 arm64-macos are not included because there is no dev-lisp/asdf there
IUSE="doc"
RDEPEND="dev-lisp/asdf:="
DEPEND="${RDEPEND}"
ENVD="${T}/50ccl"
src_prepare() {
default
cp "${EPREFIX}/usr/share/common-lisp/source/asdf/build/asdf.lisp" tools/ || die
}
src_configure() {
if use x64-macos; then
CCL_RUNTIME=dx86cl64; CCL_HEADERS=darwin-x86-headers64; CCL_KERNEL=darwinx8664
elif use arm64-macos; then
CCL_RUNTIME=darm64cl; CCL_HEADERS=darwin-arm64-headers; CCL_KERNEL=darwiarm64
elif use x86; then
CCL_RUNTIME=lx86cl; CCL_HEADERS=x86-headers; CCL_KERNEL=linuxx8632
elif use amd64; then
CCL_RUNTIME=lx86cl64; CCL_HEADERS=x86-headers64; CCL_KERNEL=linuxx8664
elif use arm; then
CCL_RUNTIME=armcl; CCL_HEADERS=arm-headers; CCL_KERNEL=linuxarm
elif use arm64; then
CCL_RUNTIME=arm64cl; CCL_HEADERS=arm64-headers; CCL_KERNEL=linuxarm64
fi
}
src_compile() {
emake -C lisp-kernel/${CCL_KERNEL} clean
emake -C lisp-kernel/${CCL_KERNEL} all CC="$(tc-getCC)"
unset CCL_DEFAULT_DIRECTORY
./${CCL_RUNTIME} -n -b -Q -e '(ccl:rebuild-ccl :full t)' -e '(ccl:quit)' || die "Compilation failed"
# remove non-owner write permissions on the full-image
chmod go-w ${CCL_RUNTIME}{,.image} || die
esvn_clean
}
src_install() {
local target_dir="/usr/$(get_libdir)/${PN}"
local prefix_dir="${EPREFIX}/${target_dir#/}"
mkdir -p "${D}/${prefix_dir#/}"
find . -type f -name '*fsl' -delete || die
rm -f lisp-kernel/${CCL_KERNEL}/*.o || die
cp -a compiler level-0 level-1 lib library lisp-kernel scripts \
tools xdump ${CCL_HEADERS} ${CCL_RUNTIME} ${CCL_RUNTIME}.image \
"${D}/${prefix_dir#/}" || die
echo "CCL_DEFAULT_DIRECTORY=${prefix_dir}" > "${ENVD}"
doenvd "${ENVD}"
dosym "${target_dir}/${CCL_RUNTIME}" /usr/bin/ccl
dodoc doc/release-notes.txt
if use doc ; then
dodoc "${DISTDIR}/ccl.html"
dodoc -r doc/manual
dodoc -r examples
fi
}
Manage flags for this package:
euse -i <flag> -p dev-lisp/clozurecl |
euse -E <flag> -p dev-lisp/clozurecl |
euse -D <flag> -p dev-lisp/clozurecl
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | ccl-1.14-darwinarm64.tar.gz | 20634834 bytes | https://github.com/Clozure/ccl/releases/download/v1.14/ccl-1.14-darwinarm64.tar.gz |
| DIST | ccl-1.14-darwinx86.tar.gz | 26066086 bytes | https://github.com/Clozure/ccl/releases/download/v1.14/ccl-1.14-darwinx86.tar.gz |
| DIST | ccl-1.14-linuxarm.tar.gz | 14324905 bytes | https://github.com/Clozure/ccl/releases/download/v1.14/ccl-1.14-linuxarm.tar.gz |
| DIST | ccl-1.14-linuxarm64.tar.gz | 13426095 bytes | https://github.com/Clozure/ccl/releases/download/v1.14/ccl-1.14-linuxarm64.tar.gz |
| DIST | ccl-1.14-linuxx86.tar.gz | 21912623 bytes | https://github.com/Clozure/ccl/releases/download/v1.14/ccl-1.14-linuxx86.tar.gz |
| DIST | ccl.html | 962023 bytes | https://ccl.clozure.com/docs/ccl.html |