Module: Mesa Branch: main Commit: d54c8a47c677c39e8616d44896c17c36f72089f6 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d54c8a47c677c39e8616d44896c17c36f72089f6
Author: Erik Faye-Lund <[email protected]> Date: Wed Jan 25 15:53:18 2023 +0100 meson: avoid using deprecated build_root() method The meson.build_root() method has been deprecated, so let's switch to meson.project_build_root(), which usually means the same thing. The case where it doesn't do the same thing is if Mesa is a subproject to some other project, but in that case I believe we want the build root of Mesa, not of the parent project anyway. Reviewed-by: Eric Engestrom <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20907> --- src/amd/compiler/tests/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/compiler/tests/meson.build b/src/amd/compiler/tests/meson.build index 5764b8ac1bd..d52c2ab3450 100644 --- a/src/amd/compiler/tests/meson.build +++ b/src/amd/compiler/tests/meson.build @@ -52,7 +52,7 @@ test( 'aco_tests', [aco_tests_files, gen_spirv_files], cpp_args : ['-DACO_TEST_SOURCE_DIR="@0@"'.format(meson.current_source_dir()), - '-DACO_TEST_BUILD_ROOT="@0@"'.format(meson.build_root()), + '-DACO_TEST_BUILD_ROOT="@0@"'.format(meson.project_build_root()), '-DACO_TEST_PYTHON_BIN="@0@"'.format(prog_python.full_path())] + cpp_args_aco, include_directories : [
