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: 8aff7152a0 ("aco: make IDSet sparse")
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23047>
(cherry picked from commit df1d1ccb37)
This commit is contained in:
Erik Faye-Lund 2023-05-16 10:05:03 +02:00 committed by Eric Engestrom
parent a8f93f86d5
commit d984d8a2e2
2 changed files with 2 additions and 1 deletions

View file

@ -2092,7 +2092,7 @@
"description": "aco: use c++17",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "8aff7152a0f9848083a522ed5e352d8ac1469fc2"
},

View file

@ -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