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

rebuild if the OPENSSL_DIR has changed #10290

Closed
wants to merge 1 commit into from

Conversation

reaperhulk
Copy link
Member

This probably needs to be done in other crates too? And what if OPENSSL_DIR isn't set?

@reaperhulk reaperhulk linked an issue Jan 29, 2024 that may be closed by this pull request
@@ -25,6 +25,9 @@ fn main() {
let out_dir = env::var("OUT_DIR").unwrap();
// FIXME: maybe pyo3-build-config should provide a way to do this?
let python = env::var("PYO3_PYTHON").unwrap_or_else(|_| "python3".to_string());
if let Ok(dir) = env::var("OPENSSL_DIR") {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably just be in rust-openssl right? Is there a reason it shouldn't?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope! Up there would make the most sense, especially since it finds OPENSSL_DIR if the env isn't set anyway.

@reaperhulk
Copy link
Member Author

@reaperhulk reaperhulk closed this Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Automatically Invalidate CI cache when upgrading OpenSSL
2 participants