BSD Ports

Vulnerable: version 0.17.0 is affected by 1 known vulnerability. See below.

devel/sccache 0.17.0 NetBSD

Shared compilation cache

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
7c393e5c2a
License
apache-2.0
Categories
devel
Package size
5012.4 KiB, 15935.6 KiB installed

Description

sccache is a ccache-like compiler caching tool. It is used as a compiler wrapper and avoids compilation when possible, storing cached results either on local disk or in one of several cloud storage backends.

sccache includes support for caching the compilation of C/C++ code, Rust, as well as NVIDIA's CUDA using nvcc, and clang.

sccache also provides icecream-style distributed compilation (automatic packaging of local toolchains) for all supported compilers (including Rust). The distributed compilation system includes several security features that icecream lacks such as authentication, transport layer encryption, and sandboxed compiler execution on build servers. See the distributed quickstart guide for more information.

In the other systems

SystemPortVersion
NetBSDdevel/sccache0.17.0
FreeBSDdevel/sccache0.10.0_11,1
OpenBSDdevel/sccache0.18.0
HardenedBSDdevel/sccache0.10.0_10,1
GhostBSDdevel/sccache0.10.0_10,1

Install

Binary package:

pkgin install sccache

From pkgsrc:

cd /usr/pkgsrc/devel/sccache && make install clean

Packages

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

RepositoryVersion
NetBSD 10.1 x86_640.17.0
NetBSD 10.1 aarch640.15.0
SmartOS / illumos x86_640.18.0
macOS 15 arm640.18.0

Dependencies

No port depends on this one.

Known vulnerabilities 1

Commit history 2

DateCommitCreditsLog message
7c393e5c2a adam sccache: updated to 0.18.0
sccache 0.18.0 is a broad correctness and coverage release: a lot of compiler flags that used to force a cache miss are now understood, several cache-key and multi-level storage bugs are fixed, and the Azure backend gained passwordless authentication. Highlights: Cache-key correctness: the assembler gcc/clang would actually invoke is now part of the cache key, so two toolchains with different binutils can no longer hand each other the wrong object file. SCCACHE_BASEDIRS now also strips base directories from the compiler arguments, so flags like -ffile-prefix-map=/home/user/project=. stop tying an entry to one checkout. MSVC/clang flag coverage: support for /openmp:llvm, the /fsanitize*, /fsanitize-coverage* …
e3517c4ef0 adam sccache: updated to 0.17.0
sccache 0.17.0 is a significant release: it introduces a new client-side architecture.