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

[Cpp] - Only exit vcpkg install early on Buster ARM64 #810

Conversation

tarebyte
Copy link
Contributor

@tarebyte tarebyte commented Oct 17, 2023

I ran into an issue where all ARM64 OS builds are blocked even if they ship with CMake > 3.15 This appears to be a regression from #588.

Looking through the packages I think that the only OS that doesn't ship with the right CMake is Debian Buster.

This pull request updates the conditional to add back in the denylist so that other new operating systems can install vcpkg.

I've also updated the script logic so that VCPKG_FORCE_SYSTEM_BINARIES is set when using arm64. If there is a better way to do this please let me know!

Thanks!

@tarebyte tarebyte force-pushed the tarebyte/remove-arm64-conditional branch from 2af0a34 to 0fbf2ce Compare October 17, 2023 02:17
@tarebyte tarebyte changed the title [Cpp] - Remove early exit for ARM64 OS for Ubuntu [Cpp] - Only exit vcpkg early on Buster ARM64 Oct 17, 2023
@tarebyte tarebyte marked this pull request as ready for review October 17, 2023 02:23
@tarebyte tarebyte requested a review from a team as a code owner October 17, 2023 02:23
@tarebyte
Copy link
Contributor Author

@microsoft-github-policy-service agree

@tarebyte tarebyte changed the title [Cpp] - Only exit vcpkg early on Buster ARM64 [Cpp] - Only exit vcpkg install early on Buster ARM64 Oct 17, 2023
@tarebyte tarebyte marked this pull request as draft October 17, 2023 02:44
@tarebyte tarebyte force-pushed the tarebyte/remove-arm64-conditional branch from 0fbf2ce to 292088f Compare October 17, 2023 02:48
@tarebyte tarebyte marked this pull request as ready for review October 17, 2023 04:00
Copy link
Member

@samruddhikhandale samruddhikhandale left a comment

Choose a reason for hiding this comment

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

Thank you for taking the time to contribute this PR, left some clarifying questions!

src/cpp/.devcontainer/base-scripts/install-vcpkg.sh Outdated Show resolved Hide resolved
@thsmdt
Copy link

thsmdt commented Apr 28, 2024

Hey @tarebyte -- are you still working on this? :)

I am currently running into this regression as well, where I am missing vcpkg in the arm-images, and was wondering if someone was already contributing a fix when I found your PR.

As far as I understand the modifications concerning VCPKG_FORCE_SYSTEM_BINARIES are optional. Would it be okay for you to remove them for now and as @samruddhikhandale recommended have a separate issue for it?

@tarebyte
Copy link
Contributor Author

I wasn't working on it 😄

But I removed the VCPKG_FORCE_SYSTEM_BINARIES changes to try and get this PR over the finish line.

Copy link
Member

@samruddhikhandale samruddhikhandale left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks!

@samruddhikhandale samruddhikhandale merged commit beb6f57 into devcontainers:main May 1, 2024
2 checks passed
@tarebyte tarebyte deleted the tarebyte/remove-arm64-conditional branch May 2, 2024 01:52
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.

3 participants