Commit Graph
100 Commits
Author SHA1 Message Date
Matthew McCormick 3ada9c5df8 ci: fix multi-host deploy import image name
remove -$(HOST_NAME) from the image name. It is on the tag.
2025-06-07 22:10:21 -04:00
Matt McCormick 1bebfd7300 linux-arm-musl: use mirror of musl.cc sources for reliability 2025-06-07 17:15:41 -04:00
Matt McCormick ce8865c0af linux-arm: use https for musl.cc downloads 2025-06-06 15:33:29 -04:00
Matt McCormick d823872763 Makefile: address HOST_ARCH specification syntax
For:

```
Makefile:297: target '-e' given more than once in the same rule
35
Makefile:305: warning: overriding recipe for target 'base-shell'
36
Makefile:298: warning: ignoring old recipe for target 'base-shell'
37
Makefile:305: warning: overriding recipe for target 'uname'
38
Makefile:298: warning: ignoring old recipe for target 'uname'
39
Makefile:305: warning: overriding recipe for target '-m'
40
Makefile:298: warning: ignoring old recipe for target '-m'
41
Makefile:305: warning: overriding recipe for target '|'
42
Makefile:298: warning: ignoring old recipe for target '|'
43
Makefile:305: warning: overriding recipe for target 'sed'
44
Makefile:298: warning: ignoring old recipe for target 'sed'
45
Makefile:305: warning: overriding recipe for target '-e'
46
Makefile:298: warning: ignoring old recipe for target '-e'
47
Makefile:305: warning: overriding recipe for target ''s/x86_64/amd64/''
48
Makefile:298: warning: ignoring old recipe for target ''s/x86_64/amd64/''
```
2025-05-26 17:45:25 -04:00
Matt McCormick 72c453f7c1 manylinux: bump python script version from 3.8 to 3.11 2025-05-22 14:27:42 -04:00
Matt McCormick 1cfb3b1459 Merge pull request #881 from thewtex/ci-deploy-multiarch
Ci deploy multiarch
2025-05-22 14:26:47 -04:00
Matthew McCormick a10699233d ci: mock HOST_ARCH for image tagging and push during deployment
We want to apply the versioned tag.
2025-05-21 17:49:04 -04:00
Matthew McCormick 9668cbac87 ci: specify tag when loading images for deployment
If not specified, the default is `<none>` instead of the expected
latest-$(HOST_ARCH).
2025-05-21 17:39:54 -04:00
Matt McCormick a3b42cd215 Merge pull request #878 from elupus/patch-1
Add CROSS_ROOT env variable on windows
2025-03-24 15:49:47 -04:00
Matt McCormick 86f7a8625c Merge pull request #875 from VxDxK/rust-in-aarch64-linux-musl
Add Rust support to linux-arm64-musl
2025-03-06 07:10:02 -05:00
Matt McCormick b73eaf9a77 Merge pull request #872 from thewtex/deploy-multi-arch
ci: fix multiarch deploy path
2025-03-05 21:13:02 -05:00
Matt McCormick 91a1cfe30b ci: fix multiarch deploy path
Use the directory, similar to `base`.
2025-03-05 12:41:36 -05:00
Matt McCormick 762ed4a396 Merge pull request #863 from hjmjohnson/master
ENH: Adding initial manylinux_2_34-x64 support.
2025-03-05 12:40:57 -05:00
Matt McCormick e66c1880ec Merge pull request #864 from hjmjohnson/fix-new-docker-ENV-syntax
Fix new docker env syntax
2025-03-03 16:15:42 -05:00
Matt McCormick c76accc121 Merge pull request #871 from drinkcat/crosstool-no-progress-bar
*/crosstool-ng.config: Set CT_LOG_PROGRESS_BAR to no
2025-02-28 16:47:15 -05:00
Matt McCormick 37e2800939 Merge pull request #869 from drinkcat/cmake_find_root_fix
*/Toolchain.cmake: Set CMAKE_FIND_ROOT_PATH_LIBRARY/INCLUDE to ONLY
2025-02-27 13:45:24 -05:00
Matt McCormick 9e8e187280 Merge pull request #867 from dockcross/android-add-rust
Install rustup globally and add Rust support to Android images
2025-02-27 13:45:00 -05:00
Matt McCormick a08b4afce0 Merge pull request #868 from jspanchu/bump-emscripten-4.0.3
web-wasm: bump emscripten to 4.0.3
2025-02-27 13:44:18 -05:00
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,

- https://github.com/bytecodealliance/wasmtime/blob/fc3c868b13bccf5d7ed26de4cfd1a2dc4c689360/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,

- https://github.com/bytecodealliance/wasmtime/blob/fc3c868b13bccf5d7ed26de4cfd1a2dc4c689360/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 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
Matt McCormick e913a7f1d6 Merge pull request #754 from dockcross/dependabot/github_actions/actions/stale-7
Bump actions/stale from 6 to 7
2022-12-21 22:26:09 -05:00
Matt McCormick 6afd127234 Merge pull request #751 from pbosetti/local
Support for building images locally
2022-12-16 16:35:53 -05:00
Matt McCormick 102ebcce4a Merge pull request #738 from thewtex/set-version-arg
Set VERSION build arg to image tag
2022-11-08 08:26:36 -05:00
Matt McCormick 71d07f3991 Merge pull request #729 from sabelka/cmake-install
cmake: don't add toolchain file when installing
2022-10-31 13:04:28 -04:00
Matt McCormick 439367ce19 Merge pull request #727 from dockcross/dependabot/github_actions/actions/stale-6
Bump actions/stale from 5 to 6
2022-10-31 13:02:38 -04:00
Matt McCormick d45d925ee6 Merge pull request #710 from thewtex/mac-m1
dockcross-script: Specify --platform flag
2022-07-02 12:29:51 -04:00
Matt McCormick 4be1879bd5 Merge pull request #707 from chent11/fix_newlib_bug
fix the newlib configuration bug
2022-07-02 12:29:28 -04:00
Matt McCormick 49941dadca Merge pull request #676 from chent11/bare-armv7emhf-nano_newlib
Add bare-armv7emhf-nano_newlib
2022-06-20 13:55:00 -04:00
Matt McCormick 21326cc851 Merge pull request #693 from bensuperpc/update_scripts_2
Update scripts and software
2022-06-11 21:08:17 -04:00
Matt McCormick 7bda588f9f Merge pull request #690 from pbosetti/master
Added LTS version to linux-armv7a, issue #678
2022-06-09 22:21:43 -04:00
Matt McCormick c4a63113e5 Merge pull request #703 from thewtex/download-artifact-no-required
ci: Make cache download optional
2022-06-09 22:09:21 -04:00
Matt McCormick 6b7a4a45e9 Merge pull request #697 from bensuperpc/update_crosstool-ng
Update crosstool-ng 1.25 RC to 1.25 on images
2022-06-08 18:16:53 -07:00
Matt McCormick 5924c2d580 Merge pull request #677 from le91688/bump-flatcc-d90ed18
bump flatcc to fix issue building flatcc runtime on GCC 11
2022-04-03 14:44:59 -04:00
Matt McCormick e74c3c3259 Merge pull request #675 from le91688/bump-flatcc-version
Bump flatcc version
2022-03-28 21:02:37 -04:00
Matt McCormick 9764a2ece1 Merge pull request #667 from le91688/add-flatcc
add flatcc to Dockcross base image
2022-03-08 09:34:19 -05:00
Matt McCormick 39dee53dec Merge pull request #669 from dockcross/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-03-08 09:32:49 -05:00
Matt McCormick 6b9e105839 Merge pull request #670 from thewtex/wasmer-dep
wasm: Add libxkbcommon0 dependency for wasmer
2022-03-08 09:32:19 -05:00
Matt McCormick bfdbf768fc Merge pull request #666 from thewtex/wasi-cmake
web-wasi: Add Emscripten CMake modifications
2022-02-23 22:40:40 -05:00
Matt McCormick 40555d6f32 Merge pull request #337 from JonasVautherin/334-cmake-find-root-path-mode
Update Toolchain.cmake to use BOTH for CMAKE_FIND_ROOT_PATH_MODES
2019-07-18 09:56:39 -05:00
Matt McCormick 668da9eb04 Merge pull request #341 from thewtex/mxe-link
doc: Add link to MXE website
2019-07-17 16:06:50 -05:00
Matt McCormick b3be15533e Merge pull request #321 from HubertJFarnsworth/feature/add-automake-and-libtool-to-armv7a
updated armv7a to enable libtool and automake
2019-04-24 13:13:16 -04:00
Matt McCormick bda0c3d7ff Merge pull request #320 from HubertJFarnsworth/move-debian-distro-from-jessie-to-stretch
Updated debian distro from jessie to stretch
2019-04-22 21:39:23 -04:00
Matt McCormick 7ff84badf9 Merge pull request #312 from er1c/script-fix
Add missing space in shell if [ ... ]
2019-03-10 14:21:52 -04:00
Matt McCormick 05059cff57 Merge pull request #308 from thewtex/argv7a-readme
Armv7a readme
2019-03-06 08:34:08 -05:00
Matt McCormick d32aba1ba7 Merge pull request #309 from thewtex/msys
Msys
2019-03-06 00:03:38 -05:00
Matt McCormick 043e993fd9 Merge pull request #307 from mixaz/master
added image for ARMv7-A
2019-03-05 11:44:39 -05:00
Matt McCormick b5a13fa4d2 Merge pull request #305 from sfo/linking_option
Windows-Images with dynamic linking
2019-03-02 15:58:36 -05:00
Matt McCormick 227d07ffde Merge pull request #306 from dockcross/update-manylinux-images-with-python3.8
manylinux: Trigger rebuild using updated manylinux images having Python 3.8
2019-03-02 15:58:07 -05:00
Matt McCormick 298f75a608 Merge pull request #304 from sfo/mxe-bump
windows: Bump MXE to 2018-02-27 master
2019-02-28 19:59:11 -05:00