commit c3159c7

hovercats  ·  2024-05-14 11:39:54 +0000 UTC
parent b828941
ccache: use samu
1 files changed,  +3, -3
+3, -3
 1@@ -3,15 +3,15 @@
 2 export DESTDIR="$1"
 3 export LDFLAGS="$LDFLAGS -static"
 4 
 5-cmake -B build \
 6+cmake -G Ninja -B build \
 7     -DCMAKE_INSTALL_PREFIX=/usr \
 8     -DCMAKE_BUILD_TYPE=Release \
 9     -DREDIS_STORAGE_BACKEND=OFF \
10     -DENABLE_TESTING=OFF \
11     -DZSTD_LIBRARY=/usr/lib/libzstd.a
12 
13-cmake --build   build
14-cmake --install build
15+samu -C build
16+samu -C build install
17 
18 mkdir -p "$1/usr/lib/ccache/bin"
19 host=$(cc -dumpmachine)