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:
@@ -33,5 +33,4 @@ libblorp = static_library(
|
|||||||
[files_libblorp, nir_opcodes_h],
|
[files_libblorp, nir_opcodes_h],
|
||||||
include_directories : [inc_common, inc_intel],
|
include_directories : [inc_common, inc_intel],
|
||||||
c_args : [c_vis_args, no_override_init_args],
|
c_args : [c_vis_args, no_override_init_args],
|
||||||
build_by_default : false,
|
|
||||||
)
|
)
|
||||||
|
@@ -41,5 +41,4 @@ libintel_common = static_library(
|
|||||||
include_directories : [inc_common, inc_intel],
|
include_directories : [inc_common, inc_intel],
|
||||||
c_args : [c_vis_args, no_override_init_args],
|
c_args : [c_vis_args, no_override_init_args],
|
||||||
dependencies : [dep_expat, dep_libdrm],
|
dependencies : [dep_expat, dep_libdrm],
|
||||||
build_by_default : false,
|
|
||||||
)
|
)
|
||||||
|
@@ -60,7 +60,6 @@ foreach g : [['40', isl_gen4_files], ['50', []], ['60', isl_gen6_files],
|
|||||||
include_directories : [inc_common, inc_intel],
|
include_directories : [inc_common, inc_intel],
|
||||||
c_args : [c_vis_args, no_override_init_args,
|
c_args : [c_vis_args, no_override_init_args,
|
||||||
'-DGEN_VERSIONx10=@0@'.format(_gen)],
|
'-DGEN_VERSIONx10=@0@'.format(_gen)],
|
||||||
build_by_default : false,
|
|
||||||
)
|
)
|
||||||
isl_gen_libs += _lib
|
isl_gen_libs += _lib
|
||||||
endforeach
|
endforeach
|
||||||
@@ -88,7 +87,6 @@ libisl = static_library(
|
|||||||
include_directories : [inc_common, inc_intel, inc_drm_uapi],
|
include_directories : [inc_common, inc_intel, inc_drm_uapi],
|
||||||
link_with : isl_gen_libs,
|
link_with : isl_gen_libs,
|
||||||
c_args : [c_vis_args, no_override_init_args],
|
c_args : [c_vis_args, no_override_init_args],
|
||||||
build_by_default : false,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if with_tests
|
if with_tests
|
||||||
@@ -98,7 +96,6 @@ if with_tests
|
|||||||
dependencies : dep_m,
|
dependencies : dep_m,
|
||||||
include_directories : [inc_common, inc_intel],
|
include_directories : [inc_common, inc_intel],
|
||||||
link_with : [libisl, libintel_common],
|
link_with : [libisl, libintel_common],
|
||||||
build_by_default : false,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
test('isl_surf_get_image_offset', isl_surf_get_image_offset_test)
|
test('isl_surf_get_image_offset', isl_surf_get_image_offset_test)
|
||||||
|
@@ -55,7 +55,9 @@ subdir('amd')
|
|||||||
if with_gallium_vc4
|
if with_gallium_vc4
|
||||||
subdir('broadcom')
|
subdir('broadcom')
|
||||||
endif
|
endif
|
||||||
subdir('intel')
|
if with_dri_i965 or with_intel_vk
|
||||||
|
subdir('intel')
|
||||||
|
endif
|
||||||
subdir('mesa')
|
subdir('mesa')
|
||||||
subdir('loader')
|
subdir('loader')
|
||||||
subdir('glx')
|
subdir('glx')
|
||||||
|
Reference in New Issue
Block a user