Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

Build for multiple architectures #18

Closed
wants to merge 1 commit into from
Closed

Build for multiple architectures #18

wants to merge 1 commit into from

Conversation

mofeing
Copy link

@mofeing mofeing commented Jan 24, 2023

I'm having problems running the julia-devcontainer in Apple M-series.

vscode@80cf02809eed /w/Extrae.jl (master)> julia
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
fish: Job 1, 'julia' terminated by signal SIGSEGV (Address boundary error)

The problem is that julia-devcontainer image is only built for x86_64.

vscode@80cf02809eed /w/Extrae.jl (master)> file $(which julia)
/usr/local/julia/bin/julia: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.4.0, with debug_info, not stripped

This PR add support for multi-platform image building (currently x86_64 and aarch64).

Enabled platforms:
- linux/amd64
- linux/arm64
@eitsupi
Copy link
Contributor

eitsupi commented Jan 24, 2023

Execution of this workflow will not succeed. Have you tried a multi-platform build on your local computer?
You cannot keep a multiplatformed image on your computer and push it later.

https://github.com/JuliaLang/devcontainer-features is recommended.
We are discussing deprecating this repository in the future.
microsoft/vscode-dev-containers#1114 (comment)

@mofeing
Copy link
Author

mofeing commented Jan 25, 2023

The devcontainer-feature looks like the solution. Thanks @eitsupi.

@mofeing mofeing closed this Jan 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants