meson: Don't build intel shared components by default

It's a neat idea, and still useful in some cases, but the intel common
code is used by i965 and anvil only, this is a little clearer.

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Dylan Baker
2017-11-13 11:14:47 -08:00
parent 2bfd34c518
commit 49fa074726
4 changed files with 3 additions and 6 deletions

View File

@@ -33,5 +33,4 @@ libblorp = static_library(
[files_libblorp, nir_opcodes_h],
include_directories : [inc_common, inc_intel],
c_args : [c_vis_args, no_override_init_args],
build_by_default : false,
)

View File

@@ -41,5 +41,4 @@ libintel_common = static_library(
include_directories : [inc_common, inc_intel],
c_args : [c_vis_args, no_override_init_args],
dependencies : [dep_expat, dep_libdrm],
build_by_default : false,
)

View File

@@ -60,7 +60,6 @@ foreach g : [['40', isl_gen4_files], ['50', []], ['60', isl_gen6_files],
include_directories : [inc_common, inc_intel],
c_args : [c_vis_args, no_override_init_args,
'-DGEN_VERSIONx10=@0@'.format(_gen)],
build_by_default : false,
)
isl_gen_libs += _lib
endforeach
@@ -88,7 +87,6 @@ libisl = static_library(
include_directories : [inc_common, inc_intel, inc_drm_uapi],
link_with : isl_gen_libs,
c_args : [c_vis_args, no_override_init_args],
build_by_default : false,
)
if with_tests
@@ -98,7 +96,6 @@ if with_tests
dependencies : dep_m,
include_directories : [inc_common, inc_intel],
link_with : [libisl, libintel_common],
build_by_default : false,
)
test('isl_surf_get_image_offset', isl_surf_get_image_offset_test)

View File

@@ -55,7 +55,9 @@ subdir('amd')
if with_gallium_vc4
subdir('broadcom')
endif
subdir('intel')
if with_dri_i965 or with_intel_vk
subdir('intel')
endif
subdir('mesa')
subdir('loader')
subdir('glx')