diff options
author | Marek Olšák <[email protected]> | 2018-04-01 20:49:35 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-04-05 15:34:58 -0400 |
commit | f55d1f806e6b6c33af559de166d08ec8fa3ebe90 (patch) | |
tree | 317e7e153baaa309f458504e2680619d83993dd1 /src/gallium/drivers/radeonsi | |
parent | 38faac43e32d58ce7b42d35e11146208f2c7b4e5 (diff) |
radeonsi: try to fix meson
This is not fully tested. Meson can't link LLVM even though automake can.
PATH=/usr/llvm/x86_64-linux-gnu/bin:$PATH meson build/ -Dgallium-va=false \
-Dplatforms=x11,drm -Dgallium-drivers=radeonsi -Ddri-drivers= \
-Dgallium-omx=disabled -Dgallium-xvmc=false -Dgles1=false \
-Dtexture-float=true -Dvulkan-drivers=
src/gallium/auxiliary/libgallium.a(gallivm_lp_bld_misc.cpp.o):
(.data.rel.ro._ZTI26DelegatingJITMemoryManager[_ZTI26DelegatingJITMemoryManager]+0x10):
undefined reference to `typeinfo for llvm::RTDyldMemoryManager'
Acked-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/meson.build | 39 |
1 files changed, 33 insertions, 6 deletions
diff --git a/src/gallium/drivers/radeonsi/meson.build b/src/gallium/drivers/radeonsi/meson.build index 9a62d143088..f817d591fbe 100644 --- a/src/gallium/drivers/radeonsi/meson.build +++ b/src/gallium/drivers/radeonsi/meson.build @@ -22,6 +22,8 @@ files_libradeonsi = files( 'cik_sdma.c', 'driinfo_radeonsi.h', 'si_blit.c', + 'si_buffer.c', + 'si_build_pm4.h', 'si_clear.c', 'si_compute.c', 'si_compute.h', @@ -29,15 +31,19 @@ files_libradeonsi = files( 'si_debug.c', 'si_descriptors.c', 'si_dma.c', + 'si_dma_cs.c', 'si_fence.c', 'si_get.c', - 'si_hw_context.c', + 'si_gfx_cs.c', + 'si_gpu_load.c', + 'si_perfcounter.c', 'si_pipe.c', 'si_pipe.h', 'si_pm4.c', 'si_pm4.h', - 'si_perfcounter.c', 'si_public.h', + 'si_query.c', + 'si_query.h', 'si_shader.c', 'si_shader.h', 'si_shader_internal.h', @@ -46,15 +52,36 @@ files_libradeonsi = files( 'si_shader_tgsi_mem.c', 'si_shader_tgsi_setup.c', 'si_state.c', + 'si_state.h', 'si_state_binning.c', 'si_state_draw.c', 'si_state_msaa.c', 'si_state_shaders.c', 'si_state_streamout.c', 'si_state_viewport.c', - 'si_state.h', 'si_test_dma.c', + 'si_texture.c', 'si_uvd.c', + '../radeon/r600_perfcounter.c', + '../radeon/r600_pipe_common.h', + '../radeon/radeon_uvd.c', + '../radeon/radeon_uvd.h', + '../radeon/radeon_vcn_enc_1_2.c', + '../radeon/radeon_vcn_enc.c', + '../radeon/radeon_vcn_enc.h', + '../radeon/radeon_vcn_dec.c', + '../radeon/radeon_vcn_dec.h', + '../radeon/radeon_uvd_enc_1_1.c', + '../radeon/radeon_uvd_enc.c', + '../radeon/radeon_uvd_enc.h', + '../radeon/radeon_vce_40_2_2.c', + '../radeon/radeon_vce_50.c', + '../radeon/radeon_vce_52.c', + '../radeon/radeon_vce.c', + '../radeon/radeon_vce.h', + '../radeon/radeon_video.c', + '../radeon/radeon_video.h', + '../radeon/radeon_winsys.h', ) si_driinfo_h = custom_target( @@ -75,16 +102,16 @@ libradeonsi = static_library( inc_src, inc_include, inc_gallium, inc_gallium_aux, inc_amd_common, inc_gallium_drivers, ], - c_args : [c_vis_args], + c_args : ['-Wstrict-overflow=0', c_vis_args], cpp_args : [cpp_vis_args], - dependencies : [dep_llvm, dep_libdrm_radeon, idep_nir_headers], + dependencies : [dep_llvm, dep_clock, dep_libdrm_radeon, idep_nir_headers], ) driver_radeonsi = declare_dependency( compile_args : '-DGALLIUM_RADEONSI', sources : si_driinfo_h, link_with : [ - libradeonsi, libradeon, libradeonwinsys, libamdgpuwinsys, libamd_common, + libradeonsi, libradeonwinsys, libamdgpuwinsys, libamd_common, ], dependencies : idep_nir, ) |