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

Don't archive preexisting archives if commandline is too long #1140

Merged
merged 2 commits into from
Jan 15, 2021

Conversation

facchinm
Copy link
Member

Fixes https://github.com/arduino-libraries/ArduinoIoTCloud/runs/1693000682?check_suite_focus=true#step:7:277
Once merged arduino-libraries/ArduinoIoTCloud#222 can be reverted

@ubidefeo @per1234 @cmaglie

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • What kind of change does this PR introduce?

This patch fixes a corner case when the commandline is too long and the "archiver" kicks in.
Since archiving an archive is not really supported, we leave it as-is and just append to the list of existing archives to be linked

  • What is the current behavior?

Compilation on ArduinoIoTCloud + ESP8266/ESP32 fails due to the huge amount of dependencies that make the commandline be over 30000 characters, WiFi.a gets added to objs.a, failing at link phase.

  • What is the new behavior?

Everything compiles fine 🙂

  • Other information:

See how to contribute

Copy link
Member

@cmaglie cmaglie left a comment

Choose a reason for hiding this comment

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

👍 👍

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.

2 participants