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

Not rebuilding esp-idf and esp-idf-sys if using IDF_PATH, and changing esp-idf #134

Open
axos88 opened this issue Sep 20, 2022 · 3 comments

Comments

@axos88
Copy link
Contributor

axos88 commented Sep 20, 2022

workaround is to use cargo clean -p esp-idf-sys, but that will rebuild the entire esp-idf for every build.

@axos88 axos88 changed the title Not rebuilding esp-idf and esp-idf-sys if using IDF_PATH, and changing the path Not rebuilding esp-idf and esp-idf-sys if using IDF_PATH, and changing esp-idf Sep 20, 2022
@axos88
Copy link
Contributor Author

axos88 commented Sep 26, 2022

Repro:

  • check out esp-idf in a separate directory
  • add ESP_IDF=
  • cargo build
  • change something in esp-idf
  • cargo build

Expect to rebuild esp-idf-sys (and esp-idf), but that does not happen.

@ivmarkov
Copy link
Collaborator

This is a rare use case and I don't think there is an easy fix, so it will probably stay open for a while. #135 and #137 are more important.

@axos88
Copy link
Contributor Author

axos88 commented Oct 1, 2022

No worries. At least it's now documented :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants