diff options
author | Linus Groh <mail@linusgroh.de> | 2022-10-25 20:28:09 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-10-25 23:15:51 +0100 |
commit | bc2ebcadc0eb695605051c9d362c3f5dc184c63c (patch) | |
tree | d3579761351733ffb77a011687e262d245683ab1 /Meta/serenity.sh | |
parent | 28bc3a76d916383c980b534c58b148c542ee4189 (diff) | |
download | serenity-bc2ebcadc0eb695605051c9d362c3f5dc184c63c.zip |
Everywhere: Require version >= 12 for GCC host compiler
So far we've gotten away with using GCC 11 for Lagom and to compile the
toolchain, but via #15795 we discovered a compiler bug that has been
fixed in the latest version but would error the build with CI's GCC 11.
Time for an upgrade :^)
We already use ubuntu-22.04 images in most places, so this is pretty
straightforward. The only exception is Idan's self-hosted runner, which
uses Ubuntu Focal. LibJS should build fine with GCC 11, still.
Diffstat (limited to 'Meta/serenity.sh')
-rwxr-xr-x | Meta/serenity.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Meta/serenity.sh b/Meta/serenity.sh index ed171e55b2..63ce4cbfcd 100755 --- a/Meta/serenity.sh +++ b/Meta/serenity.sh @@ -192,7 +192,7 @@ pick_host_compiler() { return fi - find_newest_compiler egcc gcc gcc-11 gcc-12 /usr/local/bin/gcc-11 /opt/homebrew/bin/gcc-11 + find_newest_compiler egcc gcc gcc-12 /usr/local/bin/gcc-12 /opt/homebrew/bin/gcc-12 if is_supported_compiler "$HOST_COMPILER"; then export CC="${HOST_COMPILER}" export CXX="${HOST_COMPILER/gcc/g++}" @@ -206,7 +206,7 @@ pick_host_compiler() { return fi - die "Please make sure that GCC version 11, Clang version 13, or higher is installed." + die "Please make sure that GCC version 12, Clang version 13, or higher is installed." } cmd_with_target() { |