chore: refresco desde el monorepo (pin tawasuyu.git v0.2.0)
1#!/bin/sh
2
3WLCS_SHA=12234affdc0a4cc104fbaf8a502efc5f822b973b
4
5if [ -f "./wlcs/wlcs" ] && [ "$(cd wlcs; git rev-parse HEAD)" = "${WLCS_SHA}" ] ; then
6 echo "Using cached WLCS."
7else
8 echo "Compiling WLCS."
9 git clone https://github.com/MirServer/wlcs.git
10 cd wlcs || exit
11 # checkout a specific revision
12 git reset --hard "${WLCS_SHA}"
13 cmake -DWLCS_BUILD_ASAN=False -DWLCS_BUILD_TSAN=False -DWLCS_BUILD_UBSAN=False -DCMAKE_EXPORT_COMPILE_COMMANDS=1 .
14 make
15fi