blob: 305489da61592f7345cd89246496701cc2617cc3 [file] [log] [blame]
Ilya Shipitsin0b038952021-05-15 11:46:15 +05001#!/bin/sh
2
3set -eux
4
5curl -fsSL https://github.com/vtest/VTest/archive/master.tar.gz -o VTest.tar.gz
6mkdir ../vtest
7tar xvf VTest.tar.gz -C ../vtest --strip-components=1
8# Special flags due to: https://github.com/vtest/VTest/issues/12
Willy Tarreau67804302024-05-27 11:50:31 +02009
10# Note: do not use "make -C ../vtest", otherwise MAKEFLAGS contains "w"
11# and fails (see Options/Recursion in GNU Make doc, it contains the list
12# of options without the leading '-').
13# MFLAGS works on BSD but misses variable definitions on GNU Make.
14# Better just avoid the -C and do the cd ourselves then.
15
16cd ../vtest
Ilya Shipitsin0b038952021-05-15 11:46:15 +050017
Willy Tarreau67804302024-05-27 11:50:31 +020018make FLAGS="-O2 -s -Wall"