pvr: Gate offline compiler build behind -Dtools=imagination
This matches the behavior of e.g. panfrost's bifrost_compiler target. Signed-off-by: Matt Coster <matt.coster@imgtec.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15284>
This commit is contained in:
parent
3b6ceea3e6
commit
97c4ce44e9
|
@ -84,6 +84,7 @@ if with_tools.contains('all')
|
|||
'nouveau',
|
||||
'xvmc',
|
||||
'asahi',
|
||||
'imagination',
|
||||
]
|
||||
endif
|
||||
|
||||
|
|
|
@ -423,7 +423,7 @@ option(
|
|||
'tools',
|
||||
type : 'array',
|
||||
value : [],
|
||||
choices : ['drm-shim', 'etnaviv', 'freedreno', 'glsl', 'intel', 'intel-ui', 'nir', 'nouveau', 'xvmc', 'lima', 'panfrost', 'asahi', 'all', 'dlclose-skip'],
|
||||
choices : ['drm-shim', 'etnaviv', 'freedreno', 'glsl', 'intel', 'intel-ui', 'nir', 'nouveau', 'xvmc', 'lima', 'panfrost', 'asahi', 'imagination', 'all', 'dlclose-skip'],
|
||||
description : 'List of tools to build. (Note: `intel-ui` selects `intel`)',
|
||||
)
|
||||
option(
|
||||
|
|
|
@ -19,6 +19,8 @@
|
|||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
# SOFTWARE.
|
||||
|
||||
with_imagination_tools = with_tools.contains('imagination')
|
||||
|
||||
libpowervr_rogue_files = files(
|
||||
'nir/rogue_nir_constreg.c',
|
||||
'nir/rogue_nir_lower_io.c',
|
||||
|
@ -73,5 +75,6 @@ rogue_compiler = executable(
|
|||
inc_gallium_aux,
|
||||
inc_compiler,
|
||||
],
|
||||
install : false,
|
||||
build_by_default : with_imagination_tools,
|
||||
install : with_imagination_tools,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue