-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
adding meson-build to the linux VM provisioning script #12224
Conversation
actually it is better to use the meson supplied by VCPKG on linux and macos since the version in the system package manager is probably outdated by a lot and meson is more or less a moving target currently. |
@Neumann-A I don't follow. meson doesn't seem to be on the x64-linux CI servers at all. That's what this PR is addressing. |
@marzer: The trick is to make |
considering that mesonbuild/meson#7190 is still not merged we may be forced to manually patch meson from within VCPKG. |
example ubuntu
|
Exactly - outdated versions. |
@marzer latest pip3 install meson |
@voskrese ...I know? That's what's being installed by this PR. |
@marzer |
please also update: vcpkg/scripts/cmake/vcpkg_find_acquire_program.cmake Lines 230 to 244 in 2ad4074
|
@voskrese: |
vcpkg/scripts/cmake/vcpkg_find_acquire_program.cmake Lines 230 to 244 in 2ad4074
|
@BillyONeal: The question is do you want to update the VM or do you want to have |
@voskrese: Maybe we should just make |
Just making find_acquire_program do the right thing would be preferable because there's less stuff for users to do.
That's fixing our test machines to use the same version but I think @voskrese's comment is that we want the same version used on everyone's machine, so vcpkg should acquire this thing itself if possible. |
Right, well I updated Edit: Oh, wait, it seems that |
I see, I'm not super familiar myself. Tagging 'requires:discussion' so other maintainers see. |
I've also just realized I need to add |
@marzer We should use the copy of ninja that Vcpkg already acquires in bootstrap if possible. After some discussion we think this PR is OK: we still would prefer to see a better solution in |
Alrighty, so should I remove
After reading the script a bit I'm starting to understand what's wrong with the current approach, given that (new, pip-installed) |
Please update also: |
also: - updated meson version in `vcpkg_find_acquire_program` to 0.54.3 - added a `PIP3_PACKAGE_NAME` option to the `vcpkg_find_acquire_program` help message generator - updated `ports/tool-meson/CONTROL` version to 0.54.3
A number of minor things relating to the use of the meson build system:
vcpkg_find_acquire_program
suggesting that linux users useapt
to install meson, instead ofpip3
vcpkg_find_acquire_program
meson version to 0.54.3ports/tool-meson/CONTROL
version to 0.54.3What does your PR fix?
Doesn't fix, but contributes to, the resolution of #10786. A quick search of the issues for
meson
suggests that it would be useful for a number of others, too.Which triplets are supported/not supported? Have you updated the CI baseline?
I don't think this question is relevant to my change, since I'm not submitting a port.
Does your PR follow the maintainer guide?
I believe so.