From 962f4f7bffca2691033458a6d01906e9bd68dc1f Mon Sep 17 00:00:00 2001 From: Martin Leitner-Ankerl Date: Tue, 3 Dec 2024 18:36:38 +0100 Subject: [PATCH] add c++23 build --- scripts/build.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/build.py b/scripts/build.py index 3b14985..15a79b8 100755 --- a/scripts/build.py +++ b/scripts/build.py @@ -7,6 +7,9 @@ cmd_and_dir = [ # needs honggfuzz installed + ['env', 'CXX_LD=mold', 'CXX=ccache clang++', 'meson', 'setup', '--buildtype', 'debug', '-Dcpp_std=c++23', 'builddir/clang_cpp23_debug'], + ['env', 'CXX_LD=mold', 'CXX=ccache g++', 'meson', 'setup', '--buildtype', 'debug', '-Dcpp_std=c++23', 'builddir/gcc_cpp23_debug'], + ['env', 'CXX_LD=mold', 'CXX=ccache clang++', 'meson', 'setup', '--buildtype', 'debug', '-Dcpp_std=c++17', 'builddir/clang_cpp17_debug'], ['env', 'CXX_LD=mold', 'CXX=ccache clang++', 'meson', 'setup', '--buildtype', 'release', '-Dcpp_std=c++17', 'builddir/clang_cpp17_release'], ['env', 'CXX_LD=mold', 'CXX=ccache g++', 'meson', 'setup', '--buildtype', 'release', '-Dcpp_std=c++17', 'builddir/gcc_cpp17_release'],