projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04699cc
)
aco: use c++17
author
Erik Faye-Lund
<erik.faye-lund@collabora.com>
Tue, 16 May 2023 08:05:03 +0000
(10:05 +0200)
committer
Marge Bot
<emma+marge@anholt.net>
Tue, 16 May 2023 21:41:16 +0000
(21:41 +0000)
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>
src/amd/compiler/meson.build
patch
|
blob
|
history
diff --git
a/src/amd/compiler/meson.build
b/src/amd/compiler/meson.build
index
8016495
..
b5b92f1
100644
(file)
--- 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