smithay/compile_wlcs.sh

14 lines
361 B
Bash
Raw Normal View History

2021-07-31 16:56:18 +00: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
git reset --hard dcacf09b60f1c5caf103a58046c547df6bb0b85b
cmake -DWLCS_BUILD_ASAN=False -DWLCS_BUILD_TSAN=False -DWLCS_BUILD_UBSAN=False .
make
fi