-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Disable snapshots when cross compiling #13948
Comments
I've been looking into this to support the Conda packages (conda-forge/deno-feedstock#68), and have successfully cross-built Deno for Linux aarch64 (the Conda CI is currently failing, but I have working local builds). The things I see needing to be done (or nice to have) here:
Relatedly: one of the challenges is on the things behind |
A further hitch has arisen: with Deno 1.39.0, snapshotting is more deeply baked into Deno's working, so the patches I currently have to work without snapshotting cause |
Lines 32 to 46 in cdbf902
which means its currently not possible to compile Deno CLI without snapshots. Discussed this offline and will be working towards aarch64 linux builds with snapshots. |
Thanks — looking forward to official aarch64 builds! It would be useful for packagers, however, to support building the Deno CLI without snapshots — packaging environments often require cross-builds. The conda-forge CI infrastructure, for example, only supports native builds for x86-64 (I co-maintain the package there). |
Official aarch64 linux builds are available. Closing |
When cross-compiling, snapshots are built for the host architecture instead of the target. There is no easy workaround for this.
Unblocks our CI to produce the following targets:
aarch64-android-linux
aarch64-unknown-linux-gnu
The text was updated successfully, but these errors were encountered: