183 Commits

Author SHA1 Message Date
Matt McCormick
f473b99340 ci: multi-arch deploy
Upload artifacts for the multi-arch images, then download, load them,
and deploy them along with multi-arch manifests after both finished
building.
2025-02-17 15:25:17 -05:00
Matt McCormick
07ac7479b5 Makefile: add .push target for STANDARD and NON_STANDARD images
The same <image-name>.push target that MULTIARCH_IMAGES uses can be used
for these images.
2025-01-24 16:50:59 -05:00
Matt McCormick
c0efd5bf10 web-wasi-emulated-threads: initial addition
Todos:

- Add to CI if possible (builds LLVM/Clang)
- Add to README
2025-01-23 11:30:53 -05:00
Matt McCormick
96e8620255 multiarch: pass HOST_ARCH build-arg 2025-01-06 16:13:59 -05:00
Matt McCormick
7631cba894 linux-arm64: build as multiarch image 2024-12-29 19:57:58 -05:00
Matt McCormick
8cdda7ec64 web-wasm: add .push-$(HOST_ARCH), .manifest, .push targets 2024-12-29 19:46:32 -05:00
Matt McCormick
d3dc3ed8e8 web-wasm: support arm64 builds 2024-12-29 19:36:29 -05:00
Matt McCormick
599f950297 web-wasi-threads: add .push, .manifest targets 2024-12-29 19:14:15 -05:00
Matt McCormick
6bf03cc540 web-wasi-threads: FROM uses HOST_ARCH 2024-12-29 19:10:17 -05:00
Matt McCormick
8cda4cf962 web-wasi-threads: add .test, .push-$(HOST_ARCH) targets 2024-12-29 18:59:52 -05:00
Matt McCormick
5082131705 web-wasi: add web-wasi.push targets
Pushes the complete manifest using the v2s2 format, which is required for proper architecture display in container registries.

The --format v2s2 flag ensures compatibility with Docker Hub and other container registries. The --all flag ensures that both architecture variants are pushed along with the manifest.
2024-12-29 17:59:37 -05:00
Matt McCormick
5370aa6fe9 web-wasi: add web-wasi.manifest command
The docker executable currently has some of these `manifest`
subcommands, but not all, and they are marked experimental, so use
buildah.
2024-12-29 17:54:08 -05:00
Matt McCormick
72e51cae18 Add web-wasi.push-amd64, web-wasi.push-arm64 targets 2024-12-29 17:38:54 -05:00
Matt McCormick
96d423101c web-wasi: add multiarch .test target 2024-12-29 17:25:34 -05:00
Matt McCormick
88f3aa6c31 web-wasi: build as MULTIARCH_IMAGE 2024-12-29 16:50:20 -05:00
Matt McCormick
d9696e44b7 add base-$(HOST_ARCH) and base-$(HOST_ARCH).test image targets
These can be invoked via

  make base-amd64
  make base-amd64.test
  make base-arm64
  make base-arm64.test

targets.

Generates architecture specific flags.
2024-12-29 16:32:55 -05:00
Matt McCormick
285ba494bf Makefile: separate BUILD_DOCKER from TEST_DOCKER
Enabling building with buildah, which only builds, and testing with
podman.
2024-12-26 07:56:09 -05:00
Fancy2209
ad25ffbf7f
Update Makefile 2024-11-06 13:55:57 -01:00
Paulo Medeiros
9560d75124 Add PPC and PPC64 2024-10-30 17:52:47 -01:00
Phillip Schichtel
27d1ed241a
manylinux2014 aarch64 depends on x64
so actually depend on the target that builds it
2024-07-26 00:44:46 +02:00
Matt McCormick
d4e7c0aff2 web-wasi-threads: initial addition
This is a different toolchain following how wasi-sdk defines the
platform triple and how builds are configured -- everything should be
built with the flags defined in the toolchain file.

We build from web-wasi:latest, and that is built first.
2024-04-03 15:19:02 -04:00
Matt McCormick
0ee05c1f5a Makefile: apply BUILD_CMD to standard images 2024-03-25 22:33:07 -04:00
Matt McCormick
9f4fe90923 Makefile: apply BUILD_CMD to the base image 2024-03-25 22:31:12 -04:00
Matt McCormick
50120593a3 Makefile: define BUILD_CMD and apply to web-wasm
Note, when setting, QEMU needs to be installed in the Linux kernel with
something like:

  $ docker run --privileged --rm tonistiigi/binfmt --install all

Per: https://github.com/docker/buildx
2024-03-25 22:28:04 -04:00
Matt McCormick
ba27b1fc51 WIP: Support multi-platform amd64, arm64 host images 2024-03-25 22:11:11 -04:00
Matt McCormick
55d275535c Makefile: support OCI_EXE environmental variable
Allow setting podman for image builds.
2024-03-25 21:42:18 -04:00
5dc592b786
Add linux-ppc64le-lts
Add linux-ppc64le-lts

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2023-09-21 23:56:23 +02:00
Mateusz Pietryga
8af0f10578
Fix CMAKE_SYSTEM_NAME variable in windows-arm* toolchains to correctly indicate target platform - update test build 2023-08-06 19:14:26 +02:00
Jérôme Carretero
034401dc9f makefile: use default variables, so one can add extra images 2023-07-07 19:58:13 -04:00
René Helmke
021e3dd6e6 root Makefile: add linux-mips-uclibc to STANDARD_IMAGES and GEN_IMAGES 2023-04-21 23:15:26 +02:00
Paolo Bosetti
0d31400b97 Support for building images locally 2022-12-16 16:07:56 +01:00
PJ Reid
73559c95b0 Add linux-i686
Adds a true 32bit (i686) standalone toolchain
based off the ubuntu 16.04 32bit toolchain
2022-11-14 14:58:24 +01:00
Matt McCormick
ac8bbe2b90 Set VERSION build arg to image tag
This impacts the DEFAULT_DOCKCROSS_IMAGE in common.label-and-env which
determines the default image version used by the dockcross script. We
want the same tagged version of the image to be used its generated dockcross script (not `latest`).
2022-11-07 21:02:19 -05:00
Matt McCormick
ada2c8dad6 Add manylinux_2_28-x64 and retire manylinux_2_24-x64
Replaces manylinux_2_24 (which has been deprecated).

Based on AlmaLinux (RedHat-based) and GCC 11.

Co-authored-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
2022-07-06 22:51:46 -04:00
Jean-Christophe Fillion-Robin
dd849908aa Add manylinux_2_24-x64 image 2022-07-06 22:51:46 -04:00
Jean-Christophe Fillion-Robin
e76f24e120 Anticipate update renaming common.manylinux to common.manylinux2014 2022-07-06 22:51:46 -04:00
Chen Tao
0ea32fc1ed Add bare-armv7emhf-nano_newlib 2022-06-14 20:41:25 +09:00
Paolo Bosetti
b16da6c60e
Merge branch 'master' into master 2022-05-16 16:50:04 +02:00
Paolo Bosetti
23eb2e024a Added LTS version to linux-armv7a, issue #678 2022-05-16 16:45:38 +02:00
159e3f9b7b
Merge branch 'master' into add-mips-lts 2022-05-16 00:08:13 +02:00
6839433b97 Add mips-lts image
Add mips-lts image

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2022-04-24 22:50:06 +02:00
36a63a7ac3 Add mipsel-lts image (with multilib)
Add mipsel-lts image (with multilib)

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2022-04-22 15:18:28 +02:00
Teodor-Bogdan Barbieru
38320c6115 removed leftover name from Makefile 2022-02-01 17:12:30 +02:00
Teodor-Bogdan Barbieru
f46149c5d8 feat: Support for linux-armv5-uclibc
- used in most linux home routers
2022-02-01 17:03:56 +02:00
Matt McCormick
6f3a3aad49 web-wasm,web-wasi: Add build tools
- Binaryen
- wabt
- WASI runtimes: wasmtime, wasmer, wavm, wasm3
2022-01-01 21:40:22 -05:00
b48a46c0e5 Add linux-armv7-lts image
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-10-15 21:10:39 +02:00
Matt McCormick
b1bfb861d8 web-wasi: Initial addition 2021-10-10 16:36:29 -04:00
fbb0d01a4d Add linux-arm64-lts image
Add linux-arm64-lts image:
Add GCC 8.5.0 and GLibc 2.27 (for ubuntu 18.04)'
2021-09-20 12:55:18 +02:00
db51f29778
Merge pull request #562 from odidev/manylinux2014-aarch64
Add manylinux2014-aarch64 with gcc=9.3
2021-08-23 14:11:29 +02:00
odidev
52f21639b2 Add manylinux2014-aarch64 with gcc=9.3 2021-08-23 07:22:21 +00:00