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

[vcpkg-bootstrap.sh] Enable finding gcc 9 #6417

Merged
merged 1 commit into from
May 13, 2019

Conversation

ras0219-msft
Copy link
Contributor

Should fix #6411 @acgetchell

@ras0219-msft ras0219-msft added the info:internal This PR or Issue was filed by the vcpkg team. label May 13, 2019
@MVoz
Copy link
Contributor

MVoz commented May 13, 2019

why produce versions? in * unix it is easier to configure

example

sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 30
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 50
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 60
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 80

sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 30

sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++ 30

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60

did not watch, there MacOS, is not familiar with this OS

@acgetchell
Copy link

In an environment like Travis-CI with sudo: false then sudo update-alternatives doesn't work.

@MVoz
Copy link
Contributor

MVoz commented May 13, 2019

in * UNIX, the sudo command is administrative privileges

update-alternatives
https://wiki.debian.org/DebianAlternatives

@ras0219-msft ras0219-msft merged commit 8a6c7f3 into microsoft:master May 13, 2019
@ras0219-msft
Copy link
Contributor Author

I'm not able to think of a good way to use "*" in this case -- if you have a more concrete idea I'd be happy to see a PR!

@MVoz
Copy link
Contributor

MVoz commented May 13, 2019

It seems to me that the user should do this on his own machine, just like installing MSVC
once in settings

and here to register in the DOC how to configure

But that's my personal opinion ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info:internal This PR or Issue was filed by the vcpkg team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

./vcpkg broken on macOS 10.14.4
3 participants