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

Build script does not rebuild when the LLVM prefix has been corrected from an invalid path to a valid one #14

Open
WolverinDEV opened this issue Dec 2, 2024 · 0 comments

Comments

@WolverinDEV
Copy link

WolverinDEV commented Dec 2, 2024

Hey ho,
the build script does not rebuild when the LLVM prefix has been corrected from an invalid path to a valid one.
This is because cargo:rerun-if-env-changed will only be emitted when the LLVM_CONFIG_PATH is set.

If LLVM_CONFIG_PATHis not set, the build script returns early.


println!("cargo:rerun-if-env-changed={}", &*llvm_sys::ENV_LLVM_PREFIX);

WolverinDEV added a commit to WolverinDEV/llvm-plugin-rs that referenced this issue Dec 2, 2024
…has been corrected from an invalid path to a valid one
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

No branches or pull requests

1 participant