mirror of
https://github.com/Smithay/smithay.git
synced 2024-09-28 03:21:14 +02:00
13 lines
369 B
Bash
Executable file
13 lines
369 B
Bash
Executable file
#!/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
|
|
# checkout a specific revision
|
|
git reset --hard 34e4804574324fa9f09fe85c19037bcc1444c465
|
|
cmake -DWLCS_BUILD_ASAN=False -DWLCS_BUILD_TSAN=False -DWLCS_BUILD_UBSAN=False .
|
|
make
|
|
fi
|