smithay/compile_wlcs.sh

14 lines
361 B
Bash
Raw Normal View History

2021-07-31 18:56:18 +02:00
#!/bin/sh
if [ -f "./wlcs/wlcs" ]; then
echo "Using cached WLCS."
else
echo "Compiling WLCS."
git clone https://github.com/MirServer/wlcs.git
cd wlcs
# checkout a specific revision
2022-02-07 18:51:50 +01:00
git reset --hard dbee179e91a140d0725e15ba60ea12f6c89d0904
2021-07-31 18:56:18 +02:00
cmake -DWLCS_BUILD_ASAN=False -DWLCS_BUILD_TSAN=False -DWLCS_BUILD_UBSAN=False .
make
fi