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
You need the `-y` (aka `--assume-yes`) flag when running apt in a script otherwise the thing hangs forever waiting for interactive confirmation for some larger downloads.
Netwide assembler is a small package, but when require it is hard to avoid it (e.g. https://github.com/google/tensorstore/issues/65#issuecomment-1324368082).
$ apt show nasm
Package: nasm
Version: 2.15.05-1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Anibal Monsalve Salazar <anibal@debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3,345 kB
Depends: dpkg (>= 1.15.4) | install-info, libc6 (>= 2.14)
Homepage: http://www.nasm.us/
Download-Size: 375 kB
APT-Manual-Installed: yes
APT-Sources: http://us.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
Description: General-purpose x86 assembler
Netwide Assembler. NASM will currently output flat-form binary files,
a.out, COFF and ELF Unix object files, and Microsoft 16-bit DOS and
Win32 object files.
.
Also included is NDISASM, a prototype x86 binary-file disassembler
which uses the same instruction table as NASM.
.
NASM is released under the GNU Lesser General Public License (LGPL).
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`).
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>
This commit fixes the following error introduced by adb85d69c (ci: Make
cache download optional):
Unexpected input(s) 'required', valid inputs are ['name', 'path']
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