🔒 Repository is read-only – file editing is disabled.

PaganDE/smithay-0.7.0/compile_wlcs.sh main

15 linii Raw ← Powrót
123456789101112131415
#!/bin/sh

WLCS_SHA=12234affdc0a4cc104fbaf8a502efc5f822b973b

if [ -f "./wlcs/wlcs" ] && [ "$(cd wlcs; git rev-parse HEAD)" = "${WLCS_SHA}" ] ; then
    echo "Using cached WLCS."
else
    echo "Compiling WLCS."
    git clone https://github.com/MirServer/wlcs.git
    cd wlcs || exit
    # checkout a specific revision
    git reset --hard "${WLCS_SHA}"
    cmake -DWLCS_BUILD_ASAN=False -DWLCS_BUILD_TSAN=False -DWLCS_BUILD_UBSAN=False -DCMAKE_EXPORT_COMPILE_COMMANDS=1 .
    make
fi