Browse Source

Cleanup of toolchains, more for different purposes

default_compile_flags
vector-of-bool 4 years ago
parent
commit
472b0274a8
5 changed files with 30 additions and 15 deletions
  1. +3
    -4
      Makefile
  2. +2
    -4
      tools/freebsd-gcc-9.jsonc
  3. +22
    -0
      tools/gcc-9-dev.jsonc
  4. +1
    -3
      tools/gcc-9-rel.jsonc
  5. +2
    -4
      tools/gcc-9-static-rel.jsonc

+ 3
- 4
Makefile View File

macos-ci: macos-ci:
python3 -u tools/ci.py \ python3 -u tools/ci.py \
-B download \ -B download \
-T tools/gcc-9.jsonc
-T tools/gcc-9-rel.jsonc
mv _build/dds _build/dds-macos-x64 mv _build/dds _build/dds-macos-x64


linux-ci: linux-ci:
python3 -u tools/ci.py \ python3 -u tools/ci.py \
-B download \ -B download \
-T tools/gcc-9-static.jsonc
-T tools/gcc-9-static-rel.jsonc
mv _build/dds _build/dds-linux-x64 mv _build/dds _build/dds-linux-x64


nix-ci: nix-ci:
python3 -u tools/ci.py \ python3 -u tools/ci.py \
-B download \ -B download \
-T tools/gcc-9.jsonc
-T tools/gcc-9-rel.jsonc


vagrant-freebsd-ci: vagrant-freebsd-ci:
vagrant up freebsd11 vagrant up freebsd11
python3.7 tools/ci.py \ python3.7 tools/ci.py \
-B download \ -B download \
-T tools/freebsd-gcc-9.jsonc \ -T tools/freebsd-gcc-9.jsonc \
-T2 tools/freebsd-gcc-9.next.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

+ 2
- 4
tools/freebsd-gcc-9.jsonc View File

], ],
"link_flags": [ "link_flags": [
"-static-libgcc", "-static-libgcc",
"-static-libstdc++",
"-static-libstdc++"
], ],
// "debug": true,
"optimize": true,
"compiler_launcher": "ccache"
"optimize": true
} }

+ 22
- 0
tools/gcc-9-dev.jsonc View File

{
"$schema": "../res/toolchain-schema.json",
"compiler_id": "gnu",
"c_compiler": "gcc-9",
"cxx_compiler": "g++-9",
"warning_flags": [
"-Werror",
],
"flags": [
"-fsanitize=address,undefined"
],
"cxx_flags": [
"-fconcepts",
"-std=c++2a",
],
"link_flags": [
"-fuse-ld=lld",
"-fsanitize=address,undefined"
],
"debug": true,
"compiler_launcher": "ccache"
}

tools/gcc-9.jsonc → tools/gcc-9-rel.jsonc View File

"-static-libgcc", "-static-libgcc",
"-static-libstdc++" "-static-libstdc++"
], ],
// "debug": true,
"optimize": true,
"compiler_launcher": "ccache"
"optimize": true
} }

tools/gcc-9-static.jsonc → tools/gcc-9-static-rel.jsonc View File

"-std=c++2a", "-std=c++2a",
], ],
"link_flags": [ "link_flags": [
"-static",
"-static"
], ],
// "debug": true,
"optimize": true,
"compiler_launcher": "ccache"
"optimize": true
} }

Loading…
Cancel
Save