|
20 | 20 | git clone https://github.com/postgres/postgres.git pg |
21 | 21 | cd pg |
22 | 22 | git checkout master |
23 | | - ./configure --prefix=`pwd`/tmp_install |
| 23 | + ./configure --prefix=`pwd`/tmp_install CFLAGS="-O3" |
24 | 24 | git clone https://github.com/postgrespro/aqo.git contrib/aqo |
25 | 25 | git -C contrib/aqo checkout $GITHUB_REF |
26 | 26 | patch -p1 --no-backup-if-mismatch < contrib/aqo/aqo_master.patch |
27 | 27 | make -j4 > /dev/null && make -j4 -C contrib > /dev/null |
28 | 28 | env CLIENTS=50 THREADS=50 make -C contrib/aqo check |
| 29 | +
|
| 30 | + echo "Use AQO with debug code included" |
| 31 | + git clean -fdx |
| 32 | + git -C contrib/aqo clean -fdx |
| 33 | + ./configure --prefix=`pwd`/tmp_install CFLAGS="-DAQO_DEBUG_PRINT -O0" |
| 34 | + make -j4 > /dev/null && make -j4 -C contrib > /dev/null |
| 35 | + env CLIENTS=50 THREADS=50 make -C contrib/aqo check |