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

@@ -41,19 +41,19 @@ docs-sync-server:
macos-ci:
python3 -u tools/ci.py \
-B download \
-T tools/gcc-9.jsonc
-T tools/gcc-9-rel.jsonc
mv _build/dds _build/dds-macos-x64

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

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

vagrant-freebsd-ci:
vagrant up freebsd11
@@ -63,7 +63,6 @@ vagrant-freebsd-ci:
python3.7 tools/ci.py \
-B download \
-T tools/freebsd-gcc-9.jsonc \
-T2 tools/freebsd-gcc-9.next.jsonc \
'
vagrant scp freebsd11:/vagrant/_build/dds _build/dds-freebsd-x64
vagrant halt

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

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

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

@@ -0,0 +1,22 @@
{
"$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

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

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

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

Loading…
Cancel
Save