smithay/compile_wlcs.sh

14 lines
369 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 || exit
2021-07-31 18:56:18 +02:00
# checkout a specific revision
2022-06-08 20:56:15 +02:00
git reset --hard 34e4804574324fa9f09fe85c19037bcc1444c465
2021-07-31 18:56:18 +02:00
cmake -DWLCS_BUILD_ASAN=False -DWLCS_BUILD_TSAN=False -DWLCS_BUILD_UBSAN=False .
make
fi