Bug: No pre-config hook execution if reconfigure doesn't happen with meson setup
@ravi688 is already working on this.
Since Mar 30, 2025.
- Dominant language
- C++
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Problem
Project reconfigure can happen even without running meson setup. If build_master.json is out of date, then a new meson.build will be generated, thus project reconfigure would occur even if you run meson compile, in which case build_master wouldn't know that project reconfiguring is happening and wouldn't execute the preconfigure hook scripts.
Solution
Use Inter-Process-Communication like PIPE, Message Queus, or Sockets to establish a communication channel between build_master process and meson process. When meson starts the project reconfiguration due to any stimuli, it would send a message or a signal to the build_master process to allow that to execute its pre-configuration hook scripts, and after script completion, build_master process would send an ACK to the meson process to let it continue further in project reconfiguration.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.