From 6f423036462af3f0863de5f8b617c2f5cc1fd278 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 20 Dec 2018 09:54:17 -0800 Subject: [PATCH] meson/iris: Use current coding style Just a few minor style things. Reviewed-by: Jordan Justen --- src/gallium/drivers/iris/meson.build | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/gallium/drivers/iris/meson.build b/src/gallium/drivers/iris/meson.build index de18de0eb26..7454105c232 100644 --- a/src/gallium/drivers/iris/meson.build +++ b/src/gallium/drivers/iris/meson.build @@ -1,4 +1,4 @@ -# Copyright © 2017 Intel Corporation +# Copyright © 2017-2019 Intel Corporation # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -48,15 +48,16 @@ files_libiris = files( iris_gen_libs = [] foreach v : ['80', '90', '100', '110'] - _lib = static_library( + iris_gen_libs += static_library( 'libiris_gen@0@'.format(v), ['iris_blorp.c', 'iris_state.c', gen_xml_pack], include_directories : [inc_common, inc_intel, inc_nir], - c_args : [c_vis_args, no_override_init_args, c_sse2_args, - '-DGEN_VERSIONx10=@0@'.format(v)], + c_args : [ + c_vis_args, no_override_init_args, c_sse2_args, + '-DGEN_VERSIONx10=@0@'.format(v), + ], dependencies : [dep_libdrm, dep_valgrind], ) - iris_gen_libs += _lib endforeach libiris = static_library( @@ -71,8 +72,10 @@ libiris = static_library( c_args : [c_vis_args, c_sse2_args], cpp_args : [cpp_vis_args, c_sse2_args], dependencies : [dep_libdrm, dep_valgrind], - link_with : [iris_gen_libs, libintel_common, libintel_compiler, libintel_dev, - libisl, libblorp], + link_with : [ + iris_gen_libs, libintel_common, libintel_compiler, libintel_dev, libisl, + libblorp + ], ) driver_iris = declare_dependency( -- 2.30.2