Ilya Shipitsin | 0b03895 | 2021-05-15 11:46:15 +0500 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | set -eux |
| 4 | |
| 5 | curl -fsSL https://github.com/vtest/VTest/archive/master.tar.gz -o VTest.tar.gz |
| 6 | mkdir ../vtest |
| 7 | tar xvf VTest.tar.gz -C ../vtest --strip-components=1 |
| 8 | # Special flags due to: https://github.com/vtest/VTest/issues/12 |
Willy Tarreau | 6780430 | 2024-05-27 11:50:31 +0200 | [diff] [blame] | 9 | |
| 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 | |
| 16 | cd ../vtest |
Ilya Shipitsin | 0b03895 | 2021-05-15 11:46:15 +0500 | [diff] [blame] | 17 | |
Willy Tarreau | 6780430 | 2024-05-27 11:50:31 +0200 | [diff] [blame] | 18 | make FLAGS="-O2 -s -Wall" |