mesonbuild / mesonbuild/meson

Detect CCache for cross compilation even if it's not explicit in cross-file

Open
#7,147 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
6.6k
Forks
1.9k
Avg merge
2d 6h
Merged PRs (30d)
33

Description

I'm doing some cross-compilation and I found out Meson does not find ccache when cross compiling.

[Here](https://github.com/mesonbuild/meson/issues/1392) it's said Ccache should be explicitly added in the cross-compilation file, but I think it shouldn't. Meson should first read the cross file, then search for ccache as usual.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the cross-compilation case described in the issue and inspect how Meson reads the cross file before searching for ccache. Done means ccache is detected during cross compilation without being explicitly listed in the cross file, with coverage for that behavior if the relevant tests are found.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.