Browse Source

Update FreeBSD build to use gcc-10

default_compile_flags
vector-of-bool 4 years ago
parent
commit
77325d3064
3 changed files with 6 additions and 9 deletions
  1. +2
    -2
      Makefile
  2. +1
    -1
      Vagrantfile
  3. +3
    -6
      tools/freebsd-gcc-10.jsonc

+ 2
- 2
Makefile View File

cd /vagrant && \ cd /vagrant && \
python3.7 tools/ci.py \ python3.7 tools/ci.py \
-B download \ -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 scp freebsd11:/vagrant/_build/dds _build/dds-freebsd-x64
vagrant halt vagrant halt
mkdir -p _site/ mkdir -p _site/
cp site/index.html _site/ cp site/index.html _site/
cp -r _build/docs _site/ cp -r _build/docs _site/
echo "Site generated at _site/"
echo "Site generated at _site/"

+ 1
- 1
Vagrantfile View File

freebsd11.vm.box = 'generic/freebsd11' freebsd11.vm.box = 'generic/freebsd11'
freebsd11.vm.provision 'shell', inline: <<-SHELL freebsd11.vm.provision 'shell', inline: <<-SHELL
set -eu 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" echo "Installing $package"
pkg install -qy $package pkg install -qy $package
done done

tools/freebsd-gcc-9.jsonc → tools/freebsd-gcc-10.jsonc View File

{ {
"$schema": "../res/toolchain-schema.json", "$schema": "../res/toolchain-schema.json",
"compiler_id": "gnu", "compiler_id": "gnu",
"c_compiler": "gcc9",
"cxx_compiler": "g++9",
"c_compiler": "gcc10",
"cxx_compiler": "g++10",
"cxx_version": "c++20",
"warning_flags": [ "warning_flags": [
"-Werror", "-Werror",
], ],
"cxx_flags": [
"-fconcepts",
"-std=c++2a",
],
"link_flags": [ "link_flags": [
"-static-libgcc", "-static-libgcc",
"-static-libstdc++" "-static-libstdc++"

Loading…
Cancel
Save