#!/bin/bash
echo "This build will fail when trying to compile llvm bitcode"
PATH=/usr/pgsql-11/bin:$PATH make all install

echo
PATH=/usr/pgsql-11/bin:$PATH make -s clean

echo "This build will succeed"
PATH=/usr/pgsql-11/bin:$PATH make with_llvm=no all install
