summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Faye-Lund <erik.faye-lund@collabora.com>2023-05-16 10:05:03 +0200
committerMarge Bot <emma+marge@anholt.net>2023-05-16 21:41:16 +0000
commitdf1d1ccb37c42698a3188d10b431cb4e284a100c (patch)
tree17f00c2d52b26c08ab6bf7636fc7374fc33589a7
parent04699cc3aa1c3037b4b6d15f88e5157d31adda1a (diff)
downloadmesa-df1d1ccb37c42698a3188d10b431cb4e284a100c.tar.gz
aco: use c++17
std::map::try_emplace requires C++17, so we need to make sure we're compiling with C++17 enabled. Fixes: 8aff7152a0f ("aco: make IDSet sparse") Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23047>
-rw-r--r--src/amd/compiler/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/compiler/meson.build b/src/amd/compiler/meson.build
index 8016495dac9..b5b92f11d5e 100644
--- a/src/amd/compiler/meson.build
+++ b/src/amd/compiler/meson.build
@@ -96,6 +96,7 @@ _libaco = static_library(
gnu_symbol_visibility : 'hidden',
build_by_default : true,
cpp_args : [cpp_args_aco, cpp_msvc_compat_args],
+ override_options: ['cpp_std=c++17'],
)
# Also link with aco