Skip to content

Fix race condition with generated header under parallel builds - #1578

Merged
kylophone merged 1 commit into
Netflix:masterfrom
StormBytePP:meson_race_condition
Aug 12, 2026
Merged

kylophone merged 1 commit into
Netflix:masterfrom
StormBytePP:meson_race_condition

Conversation

@StormBytePP

Copy link
Copy Markdown
Contributor

When building with high parallelism, compilation of files that include
vcs_version.h could start before the header was generated by vcs_tag(),
causing intermittent "No such file or directory" errors.

Make the dependency on the generated target explicit so that the correct
build order is always enforced.

Closes #1541

…ding

Signed-off-by: David C. Manuelda <StormByte@gmail.com>
@StormBytePP
StormBytePP force-pushed the meson_race_condition branch from c642ac2 to decd063 Compare August 11, 2026 20:09
@kylophone
kylophone merged commit e80d6c5 into Netflix:master Aug 12, 2026
11 checks passed
@kylophone

Copy link
Copy Markdown
Collaborator

Thank you! Merged.

@StormBytePP
StormBytePP deleted the meson_race_condition branch August 12, 2026 20:56
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
libvmaf 3.2.1

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.<details>
  <summary>release notes</summary>
  <pre>Small release with a fix for #1587.

## What's Changed
* doc/vmaf_v1: update Netflix techblog url by @kylophone in Netflix/vmaf#1545
* build(deps): bump actions/checkout from 6 to 7 by @dependabot[bot] in Netflix/vmaf#1546
* build(deps): bump actions/cache from 4 to 6 by @dependabot[bot] in Netflix/vmaf#1550
* libvmaf/thread_pool: fix thread pool queue depth to restore backpressure by @kylophone in Netflix/vmaf#1557
* libvmaf/feature: enable speed_chroma/speed_temporal without enable_float by @kylophone in Netflix/vmaf#1558
* .github/ci: fix release asset name collision across build matrix by @kylophone in Netflix/vmaf#1559
* libvmaf/speed_chroma: remove bilinear prescale index/weight computation from per-pixel loop by @kylophone in Netflix/vmaf#1565
* build(deps): bump actions/setup-python from 6 to 7 by @dependabot[bot] in Netflix/vmaf#1569
* cuda: fix row stride in calculate_motion_score_kernel_16bpc (wrong scores for >8-bit input) by @BardieJoensen in Netflix/vmaf#1552
* Fix race condition with generated header under parallel builds by @StormBytePP in Netflix/vmaf#1578
* Add ARM NEON implementation for 8-bit integer motion feature by @kjg0724 in Netflix/vmaf#1570
* AVX512: Drop -mavx512vbmi from generic AVX-512 compile flags by @StormBytePP in Netflix/vmaf#1577
* Add support for Intel CET (SHSTK) by @StormBytePP in Netflix/vmaf#1575

## New Contributors
* @BardieJoensen made their first contribution in Netflix/vmaf#1552
* @kjg0724 made their first contribution in Netflix/vmaf#1570

**Full Changelog**: https://github.com/Netflix/vmaf/compare/v3.2.0...v3.2.1</pre>
  <p>View the full release notes at <a href="https://github.com/Netflix/vmaf/releases/tag/v3.2.1">https://github.com/Netflix/vmaf/releases/tag/v3.2.1</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!20180
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build fails due to race condition: vcs_version.h: No such file or directory during parallel ninja build

2 participants