Skip to content

Commit

Permalink
Update FreeBSD build to use gcc-10
Browse files Browse the repository at this point in the history
  • Loading branch information
vector-of-bool committed Sep 5, 2020
1 parent ab16e71 commit 77325d3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ vagrant-freebsd-ci:
cd /vagrant && \
python3.7 tools/ci.py \
-B download \
-T tools/freebsd-gcc-9.jsonc \
-T tools/freebsd-gcc-10.jsonc \
'
vagrant scp freebsd11:/vagrant/_build/dds _build/dds-freebsd-x64
vagrant halt
Expand All @@ -72,4 +72,4 @@ site: docs
mkdir -p _site/
cp site/index.html _site/
cp -r _build/docs _site/
echo "Site generated at _site/"
echo "Site generated at _site/"
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Vagrant.configure("2") do |config|
freebsd11.vm.box = 'generic/freebsd11'
freebsd11.vm.provision 'shell', inline: <<-SHELL
set -eu
for package in python37 py37-pip ccache gcc9 gcc8 git; do
for package in python37 py37-pip ccache gcc10 gcc9 gcc8 git; do
echo "Installing $package"
pkg install -qy $package
done
Expand Down
9 changes: 3 additions & 6 deletions tools/freebsd-gcc-9.jsonc → tools/freebsd-gcc-10.jsonc
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
"$schema": "../res/toolchain-schema.json",
"compiler_id": "gnu",
"c_compiler": "gcc9",
"cxx_compiler": "g++9",
"c_compiler": "gcc10",
"cxx_compiler": "g++10",
"cxx_version": "c++20",
"warning_flags": [
"-Werror",
],
"cxx_flags": [
"-fconcepts",
"-std=c++2a",
],
"link_flags": [
"-static-libgcc",
"-static-libstdc++"
Expand Down

0 comments on commit 77325d3

Please sign in to comment.