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

Add docker image w/ both Android SDK and an x64 crossroot #901

Merged
merged 4 commits into from
Jul 10, 2023

Conversation

directhex
Copy link
Member

(for AllSubsets jobs)

@directhex
Copy link
Member Author

Sigh. How do I get the intra-dependency to show up?

@jkoritzinsky
Copy link
Member

You need to depend on the -local versions of the base images and add local tags for the base images in the manifest if they aren't there already.

@directhex
Copy link
Member Author

write /var/lib/docker/tmp/GetImageBlob1305137427: no space left on device I think it's time to hit the tequila

@directhex
Copy link
Member Author

This seems OK now? (thanks @lbussell)

Can I get a re-review @jkoritzinsky?

@directhex directhex merged commit af78485 into dotnet:main Jul 10, 2023
100 checks passed
directhex added a commit to directhex/dotnet-buildtools-prereqs-docker that referenced this pull request Aug 18, 2023
This is required in some cases - e.g. compiling node.js for ARM64/Alpine,
and the ever-broken ARM64 runtime perf lane (where we need headers for
ARM64 available alongside linkable libraries for AMD64, depending on
the build phase).

As is, we've achieved the same result largely by accident in the
pre-Mariner build images, where we have enough x64 in the host OS to link
successfully, and the ARM64 files in the crossroot.

The precedent on this is dotnet#901
which fixed our Android cross-compiler builds, by offering both Android
and $HOST in the same system

If at some point in the future we move from building on x64 to building
on ARM64, we will need the equivalent images for that.
directhex added a commit that referenced this pull request Aug 21, 2023
This is required in some cases - e.g. compiling node.js for ARM64/Alpine, and the ever-broken ARM64 runtime perf lane (where we need headers for ARM64 available alongside linkable libraries for AMD64, depending on the build phase).

As is, we've achieved the same result largely by accident in the pre-Mariner build images, where we have enough x64 in the host OS to link successfully, and the ARM64 files in the crossroot.

The precedent on this is #901 which fixed our Android cross-compiler builds, by offering both Android and $HOST in the same system

If at some point in the future we move from building on x64 to building on ARM64, we will need the equivalent images for that.

Co-authored-by: Matt Thalman <mthalman@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants