You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
postgres/ci_scripts/make-build.sh

17 lines
359 B

#!/bin/bash
export TDE_MODE=1
SCRIPT_DIR="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
INSTALL_DIR="$SCRIPT_DIR/../../pginst"
cd "$SCRIPT_DIR/../"
if [ "$1" = "debugoptimized" ]; then
export CFLAGS="-O2"
export CXXFLAGS="-O2"
fi
./configure --enable-debug --enable-cassert --enable-tap-tests --prefix=$INSTALL_DIR
make install-world -j