server-skynet-source-3rd-je.../scripts/freebsd/before_script.sh
Alex Lapenkou fdb6c10162 Add FreeBSD to TravisCI
Implement the generation of Travis jobs for FreeBSD. The generated jobs
replicate the existing CirrusCI config.
2022-03-29 11:58:27 -07:00

11 lines
387 B
Bash

#!/bin/tcsh
autoconf
# We don't perfectly track freebsd stdlib.h definitions. This is fine when
# we count as a system header, but breaks otherwise, like during these
# tests.
./configure --with-jemalloc-prefix=ci_ ${COMPILER_FLAGS:+ CC="$CC $COMPILER_FLAGS" CXX="$CXX $COMPILER_FLAGS"} $CONFIGURE_FLAGS
JE_NCPUS=`sysctl -n kern.smp.cpus`
gmake -j${JE_NCPUS}
gmake -j${JE_NCPUS} tests