Commit Graph

1644 Commits

Author SHA1 Message Date
08ddf8271b ENH: Update manylinux_2_28-x64 to latest version
manylinux_2_28-x64 now supports the gcc 14 toolchain.
2025-03-04 06:36:05 -06:00
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
ec5e88f98c Merge pull request #865 from bensuperpc/update-crosstool-ng-127
Update Crosstool-ng 1.26.0 to 1.27.0 on linux-arm64 (keep same GCC, glibc etc...)
Update OpenSSL from 1.1.1o to 1.1.1w
Update Ninja from 1.11.1 to 1.12.1
Update git from 2.42.0 to 2.48.1
Update Liquidpromt from 1.11 to 1.12 and add to env ARG
2025-03-02 20:18:18 +01:00
49d9ab4342 COMP: Remove docker build warning
- LegacyKeyValueFormat: "ENV key=value" should be used
  instead of legacy "ENV key value" format (line 42)

"""
The new format for declaring environment variables in Dockerfiles is ENV
key=value. This format, where the key and value are separated by an
equals sign (=), is the recommended approach. The older format, ENV key
value (with a space as a separator), is deprecated.
""" -- google search
2025-03-02 09:28:39 -06:00
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
e6a0e331e3 Update perl 2025-02-28 19:28:28 +01:00
5020eb46ee Update liquidprompt 2025-02-28 19:28:28 +01:00
10102e86eb Update crosstool-ng to 1.27.0 2025-02-28 19:28:28 +01:00
32dad0f923 Update git, cmake, ninja and openssl 2025-02-28 19:28:13 +01:00
925499ed12 */crosstool-ng.config: Set CT_LOG_PROGRESS_BAR to no
The crosstool progress bar completely saturates the CI logs, while
providing little added value.
2025-02-28 10:45:27 +01:00
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
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
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
a41e71ea67 Update README to mention Rust support 2025-02-25 23:21:11 +01:00
283f79eacf Add rust support to android-x86_64 2025-02-25 23:21:10 +01:00
4a4babf7fa Add rust support to android-x86 2025-02-25 23:21:10 +01:00
e6619f6a22 Add rust support to android-arm 2025-02-25 23:21:09 +01:00
d91bdd6564 Add rust support to android-arm64 2025-02-25 23:21:07 +01:00
133cdd4bf5 Install rustup in common.docker 2025-02-25 23:21:05 +01:00
2592f3a90f web-wasm: bump emscripten to 4.0.3 2025-02-25 10:49:40 -05:00
69c4db9338 */Toolchain.cmake: Set CMAKE_FIND_ROOT_PATH_LIBRARY/INCLUDE to ONLY
For some reason, the default setting in all Toolchain.cmake
is:
```
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)
```

For cross-compilation, CMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER
makes sense (we only want to find executables in host system root),
but CMAKE_FIND_ROOT_PATH_MODE_LIBRARY/INCLUDE should be set
to ONLY, otherwise cmake may find libraries in host system root,
and try to link with incompatible libraries (instead of
cross-compilation sysroot).

Fixes #431.
2025-02-25 16:14:39 +01:00
b7f8ddd484 Merge pull request #824 from thewtex/wasi-arm-host
Wasi arm host
2025-02-25 10:03:46 -05:00
d75b3333c0 ci: mark web-wasm and web-wasi-threads as multiarch 2025-02-24 11:21:00 -05:00
5887d4c55c ci: upload multiarch artifacts 2025-02-22 17:27:44 -05:00
de6a4b0be3 dockcross-command.sh: support multi-arch tags 2025-02-21 15:51:36 -05:00
055c60ebab dockcross-cmake-builder.sh: use multiarch image when available 2025-02-20 16:45:45 -05:00
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
27edf0f8a9 ci: improve multiarch base load 2025-02-18 17:18:11 -05:00
1afd48ee6a ci: switch from android-arm64 to linux-arm64 for multi-arch 2025-02-18 17:13:27 -05:00
9dea22ab64 ci: use explicit deploy-multi-arch-images needs:
dynamic job references not supported.
2025-02-18 17:13:25 -05:00
85496b648d ci: login to DockerHub via official Action 2025-02-17 16:09:00 -05:00
8d3f1362c2 ci: use more unique deploy job name, add steps: 2025-02-17 15:54:49 -05:00
af6a85faf1 Merge branch 'master' into wasi-arm-host 2025-02-17 15:35:53 -05:00
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
0ee58e2d4d Merge pull request #866 from thewtex/build-image
ci: use versioned build image
2025-02-12 10:22:25 -05:00
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
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
2b491aeb9a ci: build multiarch images 2025-01-23 21:02:58 -05:00
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
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
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
f5b3739d8d web-wasi-threads: use target wasm32-wasi-threads in sysroot wrapper
And add -pthread flag.
2025-01-07 15:56:54 -05:00
aac97dfb18 web-wasi-threads: use target wasm32-wasi-threads in sysroot wrapper
And add -pthread flag.
2025-01-07 11:19:22 -05:00
a9ee159efb Merge pull request #861 from thewtex/wasmtime-flags
wasi: fix threads option specification for wasmtime
2025-01-07 09:22:38 -05:00
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
96e8620255 multiarch: pass HOST_ARCH build-arg 2025-01-06 16:13:59 -05:00
86044ff4b3 linux-arm64: FROM base:latest-${HOST_ARCH} 2025-01-06 16:12:13 -05:00
741af4cb06 web-wasi: FROM base:latest-${HOST_ARCH} 2025-01-06 15:53:16 -05:00
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
306612b685 ci: define base-multiarch job
And remove buildx emulated multiarch build.
2024-12-30 00:19:48 -05:00