summaryrefslogtreecommitdiff
path: root/deps/jemalloc/scripts/freebsd/before_script.sh
blob: 29406f6fbbdf2ab5f4499dc1ce0e92d8d86273dd (plain)
1
2
3
4
5
6
7
8
9
10
#!/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