netbsd.bash raw

   1  CI_DESC="CI config for NetBSD"
   2  CI_DIR=build-netbsd
   3  export CXXFLAGS="-Werror -Wall -Wextra -Wpedantic -Wno-unused-parameter"
   4  # Hardcode GCC 14, since default GCC versions installed by NetBSD are older
   5  # and may not be compatible with libmultiprocess. GCC 14 was chosen because
   6  # it's the latest compiler available on all versions of NetBSD that we test.
   7  # Note that the GCC version specified here must match the version specified
   8  # in pkg_add in ci.yml.
   9  export CXX="/usr/pkg/gcc14/bin/g++"
  10  CMAKE_ARGS=(-G Ninja)
  11  BUILD_ARGS=(-k 0)
  12