mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-30 13:44:06 +08:00
vc4: Add missing libvc4_neon build dependencies
Duplicates the libvc4 dependencies. Fixes:ebcb4c2156
("meson: Enable VC4's NEON assembly support.") Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> Co-authored-by: David Heidelberg <david@ixit.cz> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30819> (cherry picked from commitfda6f8638a
)
This commit is contained in:
parent
1868e7244c
commit
0732c284e1
@ -134,7 +134,7 @@
|
||||
"description": "vc4: Add missing libvc4_neon build dependencies",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "ebcb4c2156e9c0900fce6ee9ce6e3bd7894f7953",
|
||||
"notes": null
|
||||
|
@ -83,6 +83,11 @@ files_libvc4 = files(
|
||||
|
||||
vc4_c_args = []
|
||||
|
||||
vc4_deps = [
|
||||
dep_simpenrose, dep_libdrm, dep_valgrind,
|
||||
idep_nir_headers, idep_mesautil,
|
||||
]
|
||||
|
||||
libvc4_neon = []
|
||||
if host_machine.cpu_family() == 'arm'
|
||||
libvc4_neon = static_library(
|
||||
@ -92,6 +97,7 @@ if host_machine.cpu_family() == 'arm'
|
||||
inc_src, inc_include, inc_gallium, inc_gallium_aux, inc_broadcom
|
||||
],
|
||||
c_args : '-mfpu=neon',
|
||||
dependencies : vc4_deps,
|
||||
)
|
||||
vc4_c_args += '-DUSE_ARM_ASM'
|
||||
endif
|
||||
@ -110,10 +116,7 @@ libvc4 = static_library(
|
||||
link_with: libvc4_neon,
|
||||
c_args : [vc4_c_args],
|
||||
gnu_symbol_visibility : 'hidden',
|
||||
dependencies : [
|
||||
dep_simpenrose, dep_libdrm, dep_valgrind,
|
||||
idep_nir_headers, idep_mesautil,
|
||||
],
|
||||
dependencies : vc4_deps,
|
||||
build_by_default : false,
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user