Matt McCormick
b7f8ddd484
Merge pull request #824 from thewtex/wasi-arm-host
...
Wasi arm host
2025-02-25 10:03:46 -05:00
Matt McCormick
d75b3333c0
ci: mark web-wasm and web-wasi-threads as multiarch
2025-02-24 11:21:00 -05:00
Matt McCormick
5887d4c55c
ci: upload multiarch artifacts
2025-02-22 17:27:44 -05:00
Matt McCormick
de6a4b0be3
dockcross-command.sh: support multi-arch tags
2025-02-21 15:51:36 -05:00
Matt McCormick
055c60ebab
dockcross-cmake-builder.sh: use multiarch image when available
2025-02-20 16:45:45 -05:00
Matt McCormick
7577ed208d
linux-arm64: disable openssl in CIo
...
Strage failure in the ARM host build:
```
/usr/xcc/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-gcc -Iinclude -pthread -Wall -O3 -DNDEBUG -c -o test/x509aux.o test/x509aux.c
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
"-oMakefile" apps/CA.pl.in > "apps/CA.pl"
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
"-oMakefile" apps/tsget.in > "apps/tsget.pl"
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
"-oMakefile" tools/c_rehash.in > "tools/c_rehash"
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
"-oMakefile" util/shlib_wrap.sh.in > "util/shlib_wrap.sh"
./dockcross-linux-arm64: line 249: 615634 Killed $OCI_EXE run $TTY_ARGS --name $CONTAINER_NAME -v "$HOST_PWD":/work $HOST_VOLUMES "${USER_IDS[@]}" $FINAL_ARGS $FINAL_IMAGE "$@"
```
2025-02-19 13:44:54 -05:00
Matt McCormick
27edf0f8a9
ci: improve multiarch base load
2025-02-18 17:18:11 -05:00
Matt McCormick
1afd48ee6a
ci: switch from android-arm64 to linux-arm64 for multi-arch
2025-02-18 17:13:27 -05:00
Matt McCormick
9dea22ab64
ci: use explicit deploy-multi-arch-images needs:
...
dynamic job references not supported.
2025-02-18 17:13:25 -05:00
Matt McCormick
85496b648d
ci: login to DockerHub via official Action
2025-02-17 16:09:00 -05:00
Matt McCormick
8d3f1362c2
ci: use more unique deploy job name, add steps:
2025-02-17 15:54:49 -05:00
Matt McCormick
af6a85faf1
Merge branch 'master' into wasi-arm-host
2025-02-17 15:35:53 -05:00
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
0ee58e2d4d
Merge pull request #866 from thewtex/build-image
...
ci: use versioned build image
2025-02-12 10:22:25 -05:00
Matt McCormick
456e7e0494
ci: use versioned build image
...
Make CI more reproducible and prevent non-explicit changes from breaking
builds.
2025-02-11 13:43:49 -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
2b491aeb9a
ci: build multiarch images
2025-01-23 21:02:58 -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
1d459d9fbc
ci: build multiarch base with ubuntu-22.04-arm
...
macos-15 (arm) still requires emulation and is too slow.
2025-01-17 14:54:47 -05:00
Matt McCormick
7bf589c088
Merge pull request #862 from thewtex/master
...
web-wasi-threads: use target wasm32-wasi-threads in sysroot wrapper
2025-01-08 13:02:22 -05:00
Matt McCormick
f5b3739d8d
web-wasi-threads: use target wasm32-wasi-threads in sysroot wrapper
...
And add -pthread flag.
2025-01-07 15:56:54 -05:00
Matt McCormick
aac97dfb18
web-wasi-threads: use target wasm32-wasi-threads in sysroot wrapper
...
And add -pthread flag.
2025-01-07 11:19:22 -05:00
Matt McCormick
a9ee159efb
Merge pull request #861 from thewtex/wasmtime-flags
...
wasi: fix threads option specification for wasmtime
2025-01-07 09:22:38 -05:00
Matt McCormick
54a4417c3d
wasi: fix threads option specification for wasmtime
...
In recent wasmtime, `-S` flags need to come after `run`.
Also add `-W threads=y` following the wasmtime test suite,
- fc3c868b13/tests/all/cli_tests.rs (L580-L581)
Also explicity enable the `cli` feature because this is used for CMake
try_run.
2025-01-06 22:38:55 -05:00
Matt McCormick
96e8620255
multiarch: pass HOST_ARCH build-arg
2025-01-06 16:13:59 -05:00
Matt McCormick
86044ff4b3
linux-arm64: FROM base:latest-${HOST_ARCH}
2025-01-06 16:12:13 -05:00
Matt McCormick
741af4cb06
web-wasi: FROM base:latest-${HOST_ARCH}
2025-01-06 15:53:16 -05:00
Matt McCormick
10b1c1d579
wasi: fix threads option specification for wasmtime
...
In recent wasmtime, `-S` flags need to come after `run`.
Also add `-W threads=y` following the wasmtime test suite,
- fc3c868b13/tests/all/cli_tests.rs (L580-L581)
Also explicity enable the `cli` feature because this is used for CMake
try_run.
2025-01-06 15:21:00 -05:00
Matt McCormick
306612b685
ci: define base-multiarch job
...
And remove buildx emulated multiarch build.
2024-12-30 00:19:48 -05:00
Matt McCormick
7631cba894
linux-arm64: build as multiarch image
2024-12-29 19:57:58 -05:00
Matt McCormick
180160da50
linux-arm64: use new ENV syntax
2024-12-29 19:57:20 -05:00
Matt McCormick
8cdda7ec64
web-wasm: add .push-$(HOST_ARCH), .manifest, .push targets
2024-12-29 19:46:32 -05:00
Matt McCormick
c1cf751a31
web-wasm: use = for ENV Dockerfile commands
2024-12-29 19:39:10 -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
d0e5a437dd
ci: bump runner to ubuntu-24.04
2024-12-26 07:57:27 -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
Matt McCormick
b459265243
ci: setup qemu, buildx for standard image builds
2024-12-26 07:56:09 -05:00
Matt McCormick
7a62133ff7
web-wasi: enable arm_host
2024-12-26 07:56:09 -05:00
Matt McCormick
858a3d8755
ci: add arm_host to arch_name matrix option
...
Define whether we will also build for an ARM64 host.
"yes" - yes
"no" - explicitly do not build
"" - have not tried yet
2024-12-26 07:56:09 -05:00
Matt McCormick
103d6485e6
Merge pull request #860 from thewtex/emscripten-bump
...
web-wasm: bump emscripten to 3.1.74
2024-12-26 07:49:43 -05:00
Matt McCormick
5dc9be4d3b
web-wasm: bump emscripten to 3.1.74
2024-12-23 20:48:28 -05:00