From 9193ea2248e6265d2e649e60e246491d414d254a Mon Sep 17 00:00:00 2001 From: David Goldblatt Date: Thu, 25 Feb 2021 10:17:44 -0800 Subject: [PATCH] Cirrus: fix build. Remaining on 12.1 has started to break with an m4 error. Upgrading fixes things. Mangle public symbols to work around a public definition error. --- .cirrus.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index d01954f1..30fe830b 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -5,7 +5,7 @@ env: task: freebsd_instance: matrix: - image: freebsd-12-1-release-amd64 + image: freebsd-12-2-release-amd64 install_script: - sed -i.bak -e 's,pkg+http://pkg.FreeBSD.org/\${ABI}/quarterly,pkg+http://pkg.FreeBSD.org/\${ABI}/latest,' /etc/pkg/FreeBSD.conf - pkg upgrade -y @@ -13,7 +13,10 @@ task: script: - autoconf #- ./configure ${COMPILER_FLAGS:+ CC="$CC $COMPILER_FLAGS" CXX="$CXX $COMPILER_FLAGS" } $CONFIGURE_FLAGS - - ./configure + # 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_ - export JFLAG=`sysctl -n kern.smp.cpus` - gmake -j${JFLAG} - gmake -j${JFLAG} tests