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

Setup scripts improvements (no more Java 8) #15334

Merged
merged 7 commits into from
Jul 17, 2020
Merged

Setup scripts improvements (no more Java 8) #15334

merged 7 commits into from
Jul 17, 2020

Conversation

julianoes
Copy link
Contributor

This updates the setup scripts quite a bit, mostly because we no longer require Java 8 (since PX4/jMAVSim#119). For the rest of the change, check the commits please.

@julianoes julianoes requested review from MaEtUgR and TSC21 July 15, 2020 09:03
Tools/setup/OSX.sh Outdated Show resolved Hide resolved
Copy link
Member

@MaEtUgR MaEtUgR left a comment

Choose a reason for hiding this comment

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

Tested arch changes, work fine 👍
Do you require more testing on a fresh Ubuntu install?

Tools/setup/arch.sh Outdated Show resolved Hide resolved
@hamishwillee
Copy link
Contributor

Looks good to me, except the macos build failed due to missing ccache. And of course I don't have merge rights.

@julianoes
Copy link
Contributor Author

except the macos build failed due to missing ccache

What? It should not fail without ccache. ccache is completely optional.

@hamishwillee
Copy link
Contributor

Don't shoot the messenger - shoot CI

@julianoes
Copy link
Contributor Author

@hamishwillee sorry, let me check :)

@julianoes
Copy link
Contributor Author

@hamishwillee it will come here: PX4/homebrew-px4#58

- Spaces -> tabs.
- Remove "brew install python" because it's already a dependency of the
  px4-dev tap.
- Remove "brew install ccache" as we can also add it to the px4-dev tap.
- Don't try to update pip installation, it works fine as is.
- Install pip dependencies as user, no need for system-wide install.
Ubuntu was already unsupported, now that 20.04 is out, however, the
change was not reflected yet in this script.
However, Java 11 or 14 depending on the Ubuntu version are just fine.
It's called macOS for a while now, and no longer OSX.
@julianoes
Copy link
Contributor Author

I'd say let's merge this.

@dagar dagar merged commit 9723b26 into master Jul 17, 2020
@dagar dagar deleted the pr-improve-setup branch July 17, 2020 18:58
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.

4 participants