Commit Graph
100 Commits
Author SHA1 Message Date
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 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
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
Matt McCormick 13d3b718b8 Merge pull request #843 from pschichtel/feature/mxe-upgrade
Upgrade MXE to todays latest commit
2024-07-28 23:26:14 -04:00
Matt McCormick 3995c0cf44 Merge pull request #842 from pschichtel/bugfix/qemu-download-urls
Correct the qemu download URLs
2024-07-26 19:31:52 -04:00
Matt McCormick f7b6d06a53 Merge pull request #836 from ftapajos/master
linux-armv7a: bump gcc to 12.3.0 and kernel headers to 6.1.35
2024-07-23 10:10:10 -04:00
Matt McCormick 0dade71fa2 Merge pull request #837 from jspanchu/bump-emscripten
web-wasm: bump emscripten to 3.1.60
2024-05-28 13:23:48 -04:00
Matt McCormick 88c04a4ba6 Merge pull request #831 from thewtex/wasi-sdk-22
web-wasi: bump to wasi-sdk 22
2024-04-18 11:26:32 -04:00
Matt McCormick d292408a32 web-wasi: bump to wasi-sdk 22 2024-04-16 10:56:40 -04:00
Matt McCormick 20a1bd6ae4 Merge pull request #827 from VirtualTim/patch-1
Fix incorrect example in CONTRIBUTING.md
2024-04-14 23:26:57 -04:00
Matt McCormick 72a6a72d80 docs: base image is Bookworm 2024-04-04 06:18:43 -04:00
Matt McCormick 2c6c0a52fb Merge pull request #822 from thewtex/wasi-threads
Wasi threads
2024-04-04 05:56:56 -04: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 8106a3b245 Merge pull request #823 from thewtex/emscripten-3-1-56
web-wasm: bump emscripten to 3.1.56
2024-04-03 15:16:54 -04:00
Matt McCormick 488369f3d7 web-wasm: bump emscripten to 3.1.56 2024-04-02 13:54:02 -04:00
Matt McCormick f52fb3821a wasm: bump binaryen, wabt to latest 2024-04-02 13:12:10 -04:00
Matt McCormick a8e3072e4f web-wasi: bump to SDK 21 2024-04-02 10:50:17 -04:00
Matt McCormick e40a33d02b Merge pull request #821 from thewtex/oci-exe-buildx-arm64
Enable specification of build tool with OCI_EXE, building images for arm64 hosts
2024-03-30 14:36:39 -04:00
Matt McCormick 00e75583b2 ci: build the base image for both arm64 and amd64 2024-03-25 22:53:11 -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
Matt McCormick 9e57d2bd8f manylinux_2_28: update almalinux-release package
Addresses:

   > [ 2/18] RUN   set -x &&   yum -y install     gpg     python3-devel     zlib-devel     gettext     openssh-clients     wget     nasm     zip   &&   yum clean all:
  265
  6.220  GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
  266
  6.220 Public key for platform-python-devel-3.6.8-56.el8_9.3.alma.1.x86_64.rpm is not installed. Failing package is: platform-python-devel-3.6.8-56.el8_9.3.alma.1.x86_64
  267
  6.220  GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
  268
  6.220 Public key for platform-python-3.6.8-56.el8_9.3.alma.1.x86_64.rpm is not installed. Failing package is: platform-python-3.6.8-56.el8_9.3.alma.1.x86_64
  269
  6.220  GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
  270
  6.221 Public key for python3-libs-3.6.8-56.el8_9.3.alma.1.x86_64.rpm is not installed. Failing package is: python3-libs-3.6.8-56.el8_9.3.alma.1.x86_64
  271
  6.221  GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
  272
  6.221 The downloaded packages were saved in cache until the next successful transaction.
  273
  6.221 You can remove cached packages by executing 'yum clean packages'.
  274
  6.230 Error: GPG check FAILED
2024-03-04 12:22:45 +01:00
Matt McCormick 137dda204d ci: increase base cache retention to 3 days 2024-03-04 12:22:45 +01:00
Matt McCormick 3ac4aed3aa ci: use docker import-export instead of load-save
To avoid:

  open /var/lib/docker/tmp/docker-import-2294564057/repositories: no such file or directory

observed in itk-wasm.
2024-03-04 12:22:45 +01:00
Matt McCormick 50baccd0fa ci: bump upload-artifact and download-artifact to v4 2024-03-04 12:22:45 +01:00
Matt McCormick 9476e910d9 Merge pull request #806 from tresf/armv5-fix
Fix linux-armv5 typo
2023-11-09 16:47:41 -05:00
Matt McCormick f93e2f73bf Merge pull request #805 from tresf/riscv-typos
Fix RISCV typos
2023-11-09 16:47:11 -05:00
Matt McCormick b049ee21f8 Merge pull request #787 from zougloub/cJ-defaults
makefile: use default variables, so one can add extra images
2023-08-04 21:03:39 -04:00
Matt McCormick 136b76169c Merge pull request #785 from thewtex/emscripten-3.1.41
web-wasm: Bump emscripten to 3.1.41
2023-06-22 09:13:18 -04:00
Matt McCormick 7312d8fa92 Merge pull request #784 from thewtex/wask-sdk-20
web-wasi: bump to wasi-sdk 20
2023-06-22 09:13:08 -04:00
Matt McCormick f6ca4b9e9d web-wasm: Bump emscripten to 3.1.41 2023-06-21 23:24:07 -04:00
Matt McCormick c1216736d5 web-wasi: bump to wasi-sdk 20 2023-06-21 23:18:48 -04:00
Matt McCormick 484f06a04b Merge pull request #777 from jspanchu/master
web-wasm: Bump emscripten to 3.1.35
2023-04-06 16:33:45 -04:00
Matt McCormick 8fdfcc3f51 Merge pull request #771 from bensuperpc/fix-webasm
Fix build failed with wabt on web-wasm image
2023-03-24 16:08:44 -04:00
Matt McCormick 162287deb5 Merge pull request #769 from thewtex/manylinux-2-28
manylinux2014-aarch64: Bump to GCC 10
2023-02-22 14:24:50 -05:00
Matt McCormick eabd29df73 manylinux2014-aarch64: Bump to GCC 10
This is the version used in the manylinux2014_aarch image documented at https://github.com/pypa/manylinux.
2023-02-21 16:17:28 -05:00
Matt McCormick 2dd9a1cb1c Merge pull request #768 from thewtex/wasi-mount-work
web-wasi: mount /work in emulator for access to working directory
2023-02-15 05:40:36 -05:00
Matt McCormick ae03014632 web-wasi: mount /work in emulator for access to working directory
Ensure there is access to the source tree for try_run's.
2023-02-12 22:38:02 -05:00
Matt McCormick a61e35f543 Merge pull request #766 from mgu/fix-manylinux2014-aarch64
Fix manylinux2014-aarch64 image building
2023-02-01 14:34:14 -08:00
Matt McCormick 378e8375e0 Merge pull request #752 from pbosetti/local
Removed platform specification in dockcross.sh
2023-02-01 14:32:43 -08:00
Matt McCormick 670f7f7c5c Merge pull request #763 from thewtex/wasi-sdk-19
Wasi sdk 19
2023-01-16 07:49:06 -05:00
Matt McCormick 98aebd0c7c web-wasi: Remove CMakeSystemSpecificInformation.cmake
This was ported from the Emscripten configuration, is no longer used
there, and causes issues with newer versions of CMake.
2023-01-14 17:29:29 -05:00
Matt McCormick e6e1825b32 web-wasi: Bump to wask-sdk-19 2023-01-14 17:28:31 -05:00
Matt McCormick bae4a0a9cb Merge pull request #759 from thewtex/ssh-keys
base: Remove ssh keys
2023-01-03 09:54:21 -05:00
Matt McCormick 9387e59230 Merge pull request #755 from thewtex/wasi-sdk-17
web-wasi: Bump to WASI-SDK 17
2022-12-29 20:08:03 -05:00
Matt McCormick a4a94fcec8 base: Remove ssh keys
These get installed via the openssh-server package, which is pulled in
as a dependency. Remove them before completing the layer to avoid
inadvertent usage in these public docker images.
2022-12-29 20:04:09 -05:00
Matt McCormick e9059f1daf Merge pull request #757 from thewtex/emscripten-bump
web-wasm: Bump emscripten to 3.1.28
2022-12-28 13:24:51 -05:00
Matt McCormick e0dcb396b6 web-wasi: Bump to WASI-SDK 17
The binary linux SDK in version 17 requires a newer glibc than we have
available, so we have to use our own patched clang. This follows the
approach in:

  https://github.com/WebAssembly/wasi-sdk/pull/271
2022-12-28 11:02:13 -05:00
Matt McCormick 7a4b4c636a Merge pull request #756 from thewtex/wasm-tools-bump
wasm tools bump
2022-12-28 11:01:19 -05:00
Matt McCormick 4a9fcb68f6 web-wasm: Bump emscripten to 3.1.28 2022-12-27 22:36:49 -05:00
Matt McCormick 72300a694f common.webassembly: Bump WAVM to 2022-05-14 2022-12-27 22:26:26 -05:00
Matt McCormick c9ab787bdc common.webassembly: Bump wabt to 1.0.32, 2022-12-27 main 2022-12-27 22:24:45 -05:00
Matt McCormick bd2dc69d7d common.webassembly: Bump binaryen to 2022-12-17
Also need --recursive for gtest.
2022-12-27 22:21:08 -05:00
Matt McCormick fd49c088eb manylinux: Use tagged upstream images
Force explicit changes to upstream container content.
2022-12-01 17:27:28 +01:00
Matt McCormick 21fdaf8b9e manylinux_2_28-x64: Update for gcc-toolset-12
Closes #746
2022-12-01 17:27:28 +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 McCormickandJean-Christophe Fillion-Robin 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
Matt McCormick 0f402e0c75 dockcross-script: Specify --platform flag
All images built for a linux/amd64 host.

Addresses warning when running an Apple M1:

  WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
2022-07-01 18:13:58 -04:00
Matt McCormick 45e145163c web-wasm: Bump emscripten to 3.1.13 2022-06-09 20:50:27 -04:00
Matt McCormick adb85d69c6 ci: Make cache download optional
Avoid errors on fresh builds.
2022-06-09 15:49:37 -04:00
Matt McCormick 021dfe8dd6 web-wasi: Bump to WASI-SDK 16 2022-06-08 21:54:30 -04:00
Matt McCormick af7a72f944 wasm: Add libxkbcommon0 dependency for wasmer
xref: https://github.com/singlestore-labs/python-wasi/issues/3 https://github.com/wasmerio/wasmer/issues/2810
2022-03-07 19:26:32 -05:00
Matt McCormick e8efedfa68 web-wasm: Bump Emscripten to 3.1.5 2022-02-23 10:48:57 +01:00
Matt McCormick 62c63cbb6a web-wasi: Add Emscripten CMake modifications 2022-02-22 23:14:30 -05:00
Matt McCormick 2dcae35fd8 Merge pull request #655 from thewtex/wasi-emulator-path
web-wasi: Update emulator path
2022-01-28 10:09:37 -05:00
Matt McCormick ce9c068c84 web-wasi: Update emulator path
This was changed in the web-wasm/web-wasi common tooling additions and
refactoring.
2022-01-27 17:39:46 -05:00
Matt McCormick 36a9a877e9 web-wasm: Bump Emscripten to 3.1.1 2022-01-25 11:13:17 +01:00
Matt McCormick 77775208bf Merge pull request #647 from thewtex/get-pip-distutils
manylinux: Work around get-pip.py download of distutils
2022-01-03 21:11:16 -05:00
Matt McCormick dd1c80e0fb manylinux: Work around get-pip.py download of distutils
Re: https://github.com/pypa/setuptools/issues/2993
2022-01-03 12:37:52 -05:00
Matt McCormick 0f40916efc Merge pull request #646 from dockcross/emscripten-3.1.0
web-wasm: Bump Emscripten to 3.1.0
2022-01-02 18:45:28 -05:00
Matt McCormick 04090c683a web-wasm: Bump Emscripten to 3.1.0 2022-01-01 22:08:43 -05: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
Matt McCormick f096312a46 Merge pull request #640 from thewtex/wasi-sdk-14
wasi sdk 14
2021-11-25 21:43:42 -05:00
Matt McCormick 94b0730c49 web-wasm: Update Emscripten to 3.0.0 2021-11-25 09:02:41 -05:00
Matt McCormick bca37cd589 web-wasi: Update wasi-sdk to 14.0 2021-11-25 08:52:58 -05:00
Matt McCormick 0aa303003f web-wasm: Bump Emscripten to 2.0.34 2021-11-07 18:08:36 -05:00
Matt McCormick 310496590c Merge pull request #635 from bensuperpc/update_readme2 2021-11-04 08:18:01 -04:00
Matt McCormick da9b0a0afd Merge pull request #633 from sabelka/add-osslsigncode 2021-11-04 08:17:19 -04:00
Matt McCormick c2b200951d Merge pull request #636 from thewtex/wasmtime 2021-11-04 08:16:22 -04:00
Matt McCormick ed2c1eb321 web-wasi: Use wasmtime instead of wasmer for the cross-compiling emulator
wasmtime is the official reference implementation and wasmer has
permission issues without sudo.
2021-11-03 19:28:11 -04:00
Matt McCormick ea4d106ed8 Merge pull request #632 from thewtex/sudo-wrapper-bash
imagefiles: gosu sudo wrapper requires bash
2021-11-02 21:14:37 -04:00
Matt McCormick 9098b1a478 imagefiles: gosu sudo wrapper requires bash
Addresses:

  /usr/local/bin/sudo: 5: 2: not found

that occurs during sudo execution.
2021-10-31 21:31:40 -04:00
Matt McCormick cb7421fc79 Merge pull request #631 from bensuperpc/add_tbb
Add tbb
2021-10-26 09:40:43 -04:00
Matt McCormick e607d1252b Merge pull request #630 from bensuperpc/update_windows_image 2021-10-20 14:11:23 -04:00
Matt McCormick 2b6cd4ae1d Merge pull request #620 from thewtex/wasi-cmake-platform
web-wasi: Patch CMake with WASI platform
2021-10-14 20:52:56 -04:00
Matt McCormick 1ec42ecb43 Merge pull request #619 from bensuperpc/update_scripts 2021-10-14 13:54:55 -04:00
Matt McCormick ef0ff63ed9 web-wasi: Initialize WASI_SDK_PATH for wasi-sdk.cmake, set UNIX 2021-10-13 23:47:29 -04:00
Matt McCormick 93b23ec997 web-wasi: Patch CMake with WASI platform
WASI.cmake taken from the wasi-sdk repository.

To address the build time warning:

  System is unknown to cmake, create:
  Platform/WASI to use this system, please post your config file on
  discourse.cmake.org so it can be added to cmake
2021-10-13 15:41:28 -04:00
Matt McCormick 17a2266499 Merge pull request #616 from sabelka/nsis-installer
add nsis installer for windows images
2021-10-12 14:00:08 -04:00
Matt McCormick 122a1586ef Merge pull request #615 from sabelka/fix-tmp-wine
clean up temporary files left over from wine
2021-10-12 13:59:40 -04:00
Matt McCormick a315bdcef9 Merge pull request #614 from thewtex/add-web-wasi
web-wasi: Initial addition
2021-10-11 08:38:56 -04:00
Matt McCormick b1bfb861d8 web-wasi: Initial addition 2021-10-10 16:36:29 -04:00
Matt McCormick 54ac79315e Merge pull request #609 from thewtex/emscripten-2.0.31
web-wasm: Bump Emscripten to 2.0.31
2021-10-07 21:41:15 -04:00
Matt McCormick 6b2ff5eb34 Merge branch 'master' into emscripten-2.0.31 2021-10-06 23:58:43 -04:00