mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 02:57:44 +00:00
Ports: Add ccache port to make compiling on Serenity more fun :^)
This commit is contained in:
parent
12c352dfc9
commit
d8110e3bac
2 changed files with 21 additions and 0 deletions
20
Ports/ccache/package.sh
Executable file
20
Ports/ccache/package.sh
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=ccache
|
||||
version=4.5.1
|
||||
useconfigure=true
|
||||
files="https://github.com/ccache/ccache/releases/download/v${version}/ccache-${version}.tar.gz ccache-$version.tar.gz f0d3cff5d555d6868f14a7d05696f0370074e475304fd5aa152b98f892364981"
|
||||
auth_type=sha256
|
||||
depends=("zstd")
|
||||
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-DCMAKE_BUILD_TYPE=Release" "-DREDIS_STORAGE_BACKEND=OFF" "-GNinja")
|
||||
|
||||
configure() {
|
||||
run cmake "${configopts[@]}" .
|
||||
}
|
||||
|
||||
build() {
|
||||
run ninja
|
||||
}
|
||||
|
||||
install() {
|
||||
run ninja install
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue