1597 Commits

Author SHA1 Message Date
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
Matt McCormick
fbb53a3786
Merge pull request #859 from thewtex/wasi-sdk-25
wasi sdk 25
2024-12-23 20:21:36 -05:00
Matt McCormick
a5a1cc9287 common: bump binaryen, wabt to latest
Also fix ENV deprecated syntax.
2024-12-23 07:28:11 -05:00
Matt McCormick
e2bc513d3f web-wasi: bump to wasi-sdk 25.0
Update for their migration to the CMake build system and use of binary
sdk artifacts.
2024-12-23 07:28:11 -05:00
Matt McCormick
43b2dd1550
Merge pull request #857 from thewtex/email-update
doc: update Matt McCormick email
2024-11-10 09:46:19 -05:00
Matt McCormick
54ee1fddbc doc: update Matt McCormick email 2024-11-08 17:11:12 -05:00
Matt McCormick
86a1cca977
Merge pull request #856 from Fancy2209/BigEndianPPCs
Add PPC Container
2024-11-08 17:08:08 -05:00
Fancy2209
2dd09b2d3f
[no ci] Update README.md 2024-11-08 08:31:13 -01:00
Fancy2209
2fbd0af24a
[no ci] Update README.md 2024-11-08 08:28:08 -01:00
Fancy2209
ad25ffbf7f
Update Makefile 2024-11-06 13:55:57 -01:00
Fancy2209
81c74ac1f0
Update main.yml 2024-11-06 13:55:03 -01:00
Fancy2209
5d2ddaa26d
Delete linux-ppc64 directory 2024-11-06 13:54:12 -01:00
Fancy2209
bef5f26ead
Actions have more cores now 2024-11-05 12:13:58 -01:00
Fancy2209
03adcfcd84
Disable Stockfish for PPC and Llama for PPC64 2024-11-05 12:09:13 -01:00
Fancy2209
40e5e7517f
Fix Ci, Fix PPC64, Add Fancy2209 to Maintainer label 2024-10-31 09:33:02 -01:00
Fancy2209
0bed4bf8e7
Fix Ci and PPC64 ct-ng config 2024-10-31 09:29:08 -01:00
Paulo Medeiros
2e70d66615 Fix PPC64 Toolchain.cmake 2024-10-30 17:58:35 -01:00
Paulo Medeiros
9560d75124 Add PPC and PPC64 2024-10-30 17:52:47 -01:00
2e07fc0772
Merge pull request #855 from ftapajos/update-binutils
linux-armv7a: update binutils to 2.40
2024-10-20 18:25:57 +02:00
Flávio Tapajós
aad63e3a41
linux-armv7a: update binutils to 2.40 2024-10-17 09:01:56 -03:00
Matt McCormick
60fa1b0e0b
Merge pull request #848 from bensuperpc/crosstool-ng_1.26_linux-ppc64le
Crosstool ng 1.26 linux ppc64le
2024-08-12 08:49:59 -04:00
2b500e4150 Add llama.cpp for linux-ppc64le
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-08-11 10:09:57 +02:00
018c591202 Merge branch 'master' into crosstool-ng_1.26_linux-ppc64le 2024-08-11 10:06:33 +02:00
Jonas Vautherin
3603d82802
Merge pull request #847 from thewtex/emscripten-3-1-64
Update emscripten to 3.1.64 and cmake_minimum_required to 3.16
2024-08-09 06:23:21 +02:00
Matt McCormick
8231b1f6d0 test: bump cmake_minimum_required to 3.16
To address:

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

Bump to a later version available in relatively recent Linux
distributions.
2024-08-08 13:39:08 -04:00
Matt McCormick
9751032bf7 web-wasm: bump emscripten to 3.1.64 2024-08-08 13:00:19 -04:00
7910242a3c Disable fortran for linux-ppc64le: headers issues
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-08-08 15:43:12 +02:00