diff options
| author | Colin <colin@uninsane.org> | 2025-03-08 23:47:01 +0000 |
|---|---|---|
| committer | Colin <colin@uninsane.org> | 2025-03-09 00:07:55 +0000 |
| commit | 6bf3337ff59ff2e388658729fcd1de83bf3d4e60 (patch) | |
| tree | 9bee7daaf8b0ac7db747d42235c2d3e0a8d3bc93 /pkgs/development/python-modules/python-openstackclient | |
| parent | 2d9e4457f8e83120c9fdf6f1707ed0bc603e5ac9 (diff) | |
mesa: fix cross compilation
starting with 25.0.0, mesa no longer builds CLC executables when cross compiling:
it finds the `mesa-clc` & others we explicitly provide it, decides
there's no reason to build new versions of those components, and
so cross-compiled mesa no longer produces any `cross_tools` output.
excerpted from upstream src/compiler/clc/meson.build:
```meson
if get_option('mesa-clc') != 'system' and (with_gallium_asahi or \
with_asahi_vk or \
with_intel_vk or \
with_gallium_iris or \
get_option('install-mesa-clc'))
prog_mesa_clc = executable(
'mesa_clc',
['mesa_clc.c'],
include_directories : [inc_include, inc_src],
c_args : [pre_args, no_override_init_args],
link_args : [ld_args_build_id],
dependencies : [idep_mesaclc, dep_llvm, dep_spirv_tools, idep_getopt],
# If we can run host binaries directly, just build mesa_clc for the host.
# Most commonly this happens when doing a cross compile from an x86_64 build
# machine to an x86 host
native : not meson.can_run_host_binaries(),
install : get_option('install-mesa-clc'),
)
endif
```
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
0 files changed, 0 insertions, 0 deletions
