Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-Generated File Missing When Targeting LLVMCore, Causing Dredd Mutation Failure #3

Open
JonathanFoo0523 opened this issue Jul 8, 2024 · 1 comment · May be fixed by #12
Open

Comments

@JonathanFoo0523
Copy link
Collaborator

JonathanFoo0523 commented Jul 8, 2024

The attempt to have all auto-generated code in place for Dredd, as noted in README -

cmake --build "${BUILD_DIR}" --target LLVMCore

doesn’t generate llvm/Frontend/OpenMP/OMP.h.inc, and dredd failed to mutate llvm/lib/Transforms/IPO/OpenMPOpt.cpp as a result.

Instead, running

cmake --build "${BUILD_DIR}" --target all

fix this issue, but this requires a long build time.

We should find a way to filter out the necessary targets while still ensure all auto-generated code is in place.

@afd
Copy link
Member

afd commented Jul 8, 2024

Thanks. In the worst case, I think it's OK to require building with --target all, as this is a one-off thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants