Skip to content

Patch ninja exe path to whatever is in test runner env, and foolproof cmake timestamps#1149

Open
bob80905 wants to merge 1 commit intollvm:mainfrom
bob80905:fix-test-job-regen
Open

Patch ninja exe path to whatever is in test runner env, and foolproof cmake timestamps#1149
bob80905 wants to merge 1 commit intollvm:mainfrom
bob80905:fix-test-job-regen

Conversation

@bob80905
Copy link
Copy Markdown
Contributor

@bob80905 bob80905 commented May 4, 2026

We are still encountering errors when configuring cmake with ninja, as ninja cannot be found:
https://github.com/llvm/offload-test-suite/actions/runs/25338698984/job/74291993540#step:13:155
Though the path is correct on the build machine's environment, it no longer holds in the test machine's (a different machine's) environment.
We need to rewrite the path to ninja on the test machine side so that ninja can be found, so we can guarantee that cmake can configure correctly.
Additionally, we can force the timestamps to be ~24 hours in the future, to completely disallow the possibility of cmake thinking it should regenerate outputs.

Fixes #1150

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.

Split build test feature cannot find ninja.exe on test runner machine

2 participants