BSD Ports

ports-mgmt/sccache-overlay 0.2.15_50 FreeBSD

Ports overlay for sccache

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
9c878207a1
License
APACHE20
Categories
ports-mgmt
Package size
1943.9 KiB, 5563.9 KiB installed

Description

Ports overlay for sccache

Sccache is a compiler cache but unlike ccache it comes with Rust support. This package provides a standalone version of sccache that can work in Poudriere jails with glue for hooking it up to the ports framework by simply activating an overlay.

In the other systems

The newest version among them is 0.2.15, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDports-mgmt/sccache-overlay0.2.15_50 newestnone known-[email protected]2026-10-14
HardenedBSDports-mgmt/sccache-overlay0.2.15_49 newestno data-[email protected]-
GhostBSDports-mgmt/sccache-overlay0.2.15_49 newestno data-[email protected]-

Install

Binary package:

pkg install sccache-overlay

From the ports tree:

cd /usr/ports/ports-mgmt/sccache-overlay/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	sccache-overlay>0:ports-mgmt/sccache-overlay

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.2.15_490.2.15_50-0.2.15_380.2.15_50
FreeBSD:14:quarterly0.2.15_490.2.15_49n/a0.2.15_370.2.15_49
FreeBSD:15:latest0.2.15_500.2.15_50n/a0.2.15_380.2.15_38
FreeBSD:15:quarterly0.2.15_490.2.15_49n/an/an/a
FreeBSD:16:latest0.2.15_490.2.15_50n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependency graph

Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 12

No port depends on this one.

Configuration

No options to configure.

USES
cargo ssl:build
Service scripts
none

Message after installing

Local setup
===========

Add this to /etc/make.conf

SCCACHE_DIR=	${HOME}/.sccache
OVERLAYS+=	/usr/local/share/sccache/overlay

During the build a sccache server is started, bound to
${SCCACHE_UNIX_LISTEN} (default /tmp/sccache-overlay.socket).
Idle timeout has been disabled to make builds more reliable. To
cleanly shut down the server after the build use

$ make sccache-stop

Poudriere setup
===============

This requires a Poudriere version that supports overlays like
poudriere-devel.

Make the overlay available to Poudriere

$ poudriere ports -c -p sccache -m null -M /usr/local/share/sccache/overlay

Make sure to enable Poudriere's ccache support. This overlay
piggybacks on it to have a location to write to. Poudriere mounts
CCACHE_DIR inside the builder jails and SCCACHE_DIR defaults to
${CCACHE_DIR}/sccache.

Use it

$ poudriere bulk -O sccache ...

Additional configuration
========================

For additional configuration options please refer to
/usr/local/share/sccache/overlay/Mk/bsd.overlay.mk

The overlay can be disabled at any time by defining NO_SCCACHE.

Files

distinfo 382
FileSizeSHA256
rust/crates/addr2line-0.14.1.crate31201a55f82cfe485775d02112886f4169bde0c5894d75e79ead7eafe7e40a25e45f7
rust/crates/adler-0.2.3.crate12168ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e
rust/crates/aho-corasick-0.7.15.crate1130717404febffaa47dac81aa44dba71523c9d069b1bdc50a77db41195149e17f68e5
rust/crates/ansi_term-0.11.0.crate17087ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b
rust/crates/anyhow-1.0.37.crate29280ee67c11feeac938fae061b232e38e0b6d94f97a9df10e6271319325ac4c56a86
rust/crates/ar-0.8.0.crate14795450575f58f7bee32816abbff470cbc47797397c2a81e0eaced4b98436daf52e1
rust/crates/arrayref-0.3.6.crate10035a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544
rust/crates/arrayvec-0.5.2.crate2783823b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b
rust/crates/ascii-0.8.7.crate2377397be891acc47ca214468e09425d02cef3af2c94d0d82081cd02061f996802f14
rust/crates/assert_cmd-1.0.2.crate250373dc1679af9a1ab4bea16f228b05d18f8363f8327b1fa8db00d2760cfafc6b61e
rust/crates/async-channel-1.5.1.crate1238659740d83946db6a5af71ae25ddf9562c2b176b2ca42cf99a455f09f4a220d6b9
rust/crates/async-executor-1.4.0.crate15661eb877970c7b440ead138f6321a3b5395d6061183af779340b65e20c0fede9146
rust/crates/async-global-executor-1.4.3.crate937073079b49cd26b8fd5a15f68fc7707fc78698dc2a3d61430f2a7a9430230dfa04
rust/crates/async-io-1.3.1.crate313009315f8f07556761c3e48fec2e6b276004acf426e6dc068b2c2251854d65ee0fd
rust/crates/async-mutex-1.4.0.crate10223479db852db25d9dbf6204e6cb6253698f175c15726470f78af0d918e99d6156e
rust/crates/async-std-1.8.0.crate2302068f9f84f1280a2b436a2c77c2582602732b6c2f4321d5494d6e799e6c367859a8
rust/crates/async-task-4.0.3.crate28770e91831deabf0d6d7ec49552e489aed63b7456a7a3c46cff62adad428110b0af0
rust/crates/async-trait-0.1.42.crate249908d3a45e77e34375a7923b1e8febb049bb011f064714a8e17a1a616fef01da13d
rust/crates/atomic-waker-1.0.0.crate11771065374052e7df7ee4047b1160cca5e1467a12351a40b3da123c870ba0b8eda2a
rust/crates/atty-0.2.14.crate5470d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8

Commit history 4

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
9c892d2601 Mikael Urankar lang/rust: Bump revisions after 1.97.1
PR: 296645
0c8576e938 Alexander Leidinger ports-mgmt/sccache-overlay: increase prio to fix cargo at configure time
- increases the priority for the start-server to fix a race with "250:cargo-configure" (fixes a configure time error for py-granian and others) - add a start-safeguard (helps when running "poudriere testpost -i" during debugging) to not start it multiple times PR: 296177 Maintainer timeout: 2 weeks Fixes: 292835