mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
panfrost: don't always build bifrost_compiler
src/panfrost/shared is shared with lima driver, build bifrost_compiler for lima driver is meaningless and get link error when only lima driver is enabled. So only build bifrost_compiler when configued with: meson -Dtools=panfrost Fixes:ec2a59cd7a"panfrost: Move non-Gallium files outside of Gallium" Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Signed-off-by: Qiang Yu <yuq825@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4960> (cherry picked from commit07b0fbea92)
This commit is contained in:
parent
1e3e805b0c
commit
096e06c56a
3 changed files with 3 additions and 3 deletions
|
|
@ -193,7 +193,7 @@
|
|||
"description": "panfrost: don't always build bifrost_compiler",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "ec2a59cd7aa42652645e76e29a72335370c80e50"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -332,7 +332,7 @@ option(
|
|||
'tools',
|
||||
type : 'array',
|
||||
value : [],
|
||||
choices : ['drm-shim', 'etnaviv', 'freedreno', 'glsl', 'intel', 'intel-ui', 'nir', 'nouveau', 'xvmc', 'lima', 'all'],
|
||||
choices : ['drm-shim', 'etnaviv', 'freedreno', 'glsl', 'intel', 'intel-ui', 'nir', 'nouveau', 'xvmc', 'lima', 'panfrost', 'all'],
|
||||
description : 'List of tools to build. (Note: `intel-ui` selects `intel`)',
|
||||
)
|
||||
option(
|
||||
|
|
|
|||
|
|
@ -66,5 +66,5 @@ bifrost_compiler = executable(
|
|||
libpanfrost_encoder,
|
||||
libpanfrost_midgard, # references disassemble_midgard...
|
||||
],
|
||||
build_by_default : true
|
||||
build_by_default : with_tools.contains('panfrost')
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue