Commit Graph

1663 Commits

Author SHA1 Message Date
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
Joakim Plate
bcc2e1c2a5 Add CROSS_ROOT env variable on windows
The cross root variable is useful when there is need to install additional libs in a child dockerfile, so ensure it is set in the windows
variants.
2025-03-24 14:55:54 +01:00
Jonas Vautherin
4bd0eec07e Merge pull request #877 from dockcross/fix-cmake-prefix-path
Add CMAKE_PREFIX_PATH to CMAKE_FIND_ROOT_PATH
2025-03-11 01:11:42 +01:00
Jonas Vautherin
5836581678 Merge pull request #876 from dockcross/podman-fix-perl-build
Untar perl with --no-same-owner
2025-03-11 01:10:44 +01:00
Jonas Vautherin
83766c341d Add CMAKE_PREFIX_PATH to CMAKE_FIND_ROOT_PATH 2025-03-09 01:43:04 +01:00
Jonas Vautherin
663c6da5bf Untar perl with --no-same-owner 2025-03-08 16:25:12 +01: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
Vadim Ponomarev
7edeef6bc2 Support building rust binaries for aarch64-linux-musl 2025-03-06 00:41:31 +03: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
Hans Johnson
b25c978187 ENH: Update to latest fully passing release
quay.io/pypa/manylinux_2_28_x86_64:2025-02-15-d68c3fb

The release 2025-02-15-d68c3fb is the latest release
that has no security failures identified.
2025-03-04 14:45:38 -06:00
Hans Johnson
2235db7afb BUG: Update openssl 1.1.1w building with c99 conformance
```
test/v3ext.c:201:24: error: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration]
  201 |         if (!TEST_true(memcmp(ip1->data, ip2->data, ip1->length) <= 0))
      |                        ^~~~~~
test/testutil.h:360:66: note: in definition of macro 'TEST_true'
  360 | # define TEST_true(a)         test_true(__FILE__, __LINE__, #a, (a) != 0)
      |                                                                  ^
test/v3ext.c:18:1: note: include '<string.h>' or provide a declaration of 'memcmp'
   17 | #include "testutil.h"
  +++ |+#include <string.h>
   18 |
```
2025-03-04 14:43:18 -06:00
Hans Johnson
1678be2d0d ENH: Update to latest fully passing release
The release 2025-02-23-361da4c is the latest release
that has no security failures identified.
2025-03-04 12:07:38 -06:00
Hans Johnson
16e96d1b07 BUG: Install missing library libatomic
```txt
411.0 /tmp/tmp.9qZYWcxd6F/rustup-init: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
411.0 /tmp/tmp.9qZYWcxd6F/rustup-init: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
------
Dockerfile:97
--------------------
  96 |
  97 | >>> RUN \
  98 | >>>   X86_FLAG=$([ "$DEFAULT_DOCKCROSS_IMAGE" = "dockcross/manylinux2014-x86" ] && echo "-32" || echo "") && \
  99 | >>>   /buildscripts/build-and-install-openssl.sh $X86_FLAG && \
 100 | >>>   /buildscripts/build-and-install-openssh.sh && \
 101 | >>>   /buildscripts/build-and-install-curl.sh && \
 102 | >>>   /buildscripts/build-and-install-git.sh && \
 103 | >>>   /buildscripts/build-and-install-cmake.sh $X86_FLAG && \
 104 | >>>   /buildscripts/build-and-install-rustup.sh && \
 105 | >>>   /buildscripts/install-liquidprompt-binary.sh && \
 106 | >>>   PYTHON=$([ -e /opt/python/cp38-cp38/bin/python ] && echo "/opt/python/cp38-cp38/bin/python" || echo "python3") && \
 107 | >>>   /buildscripts/install-python-packages.sh -python ${PYTHON} && \
 108 | >>>   /buildscripts/build-and-install-ninja.sh -python ${PYTHON} && \
 109 | >>>   /buildscripts/build-and-install-flatcc.sh && \
 110 | >>>   rm -rf /buildscripts
 111 |
--------------------
ERROR: failed to solve: process "/bin/sh -c X86_FLAG=$([ \"$DEFAULT_DOCKCROSS_IMAGE\" = \"dockcross/manylinux2014-x86\" ] && echo \"-32\" || echo \"\") &&   /buildscripts/build-and-install-openssl.sh $X86_FLAG &&   /buildscripts/build-and-install-openssh.sh &&   /buildscripts/build-and-install-curl.sh &&   /buildscripts/build-and-install-git.sh &&   /buildscripts/build-and-install-cmake.sh $X86_FLAG &&   /buildscripts/build-and-install-rustup.sh &&   /buildscripts/install-liquidprompt-binary.sh &&   PYTHON=$([ -e /opt/python/cp38-cp38/bin/python ] && echo \"/opt/python/cp38-cp38/bin/python\" || echo \"python3\") &&   /buildscripts/install-python-packages.sh -python ${PYTHON} &&   /buildscripts/build-and-install-ninja.sh -python ${PYTHON} &&   /buildscripts/build-and-install-flatcc.sh &&   rm -rf /buildscripts" did not complete successfully: exit code: 1
```
2025-03-04 12:06:05 -06:00
Hans Johnson
7317e5bf2a ENH: Adding initial manylinux_2_34-x64 support. 2025-03-04 06:36:05 -06:00
Hans Johnson
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
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
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
Hans Johnson
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
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
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
Nicolas Boichat
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
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
Jonas Vautherin
a41e71ea67 Update README to mention Rust support 2025-02-25 23:21:11 +01:00
Jonas Vautherin
283f79eacf Add rust support to android-x86_64 2025-02-25 23:21:10 +01:00
Jonas Vautherin
4a4babf7fa Add rust support to android-x86 2025-02-25 23:21:10 +01:00
Jonas Vautherin
e6619f6a22 Add rust support to android-arm 2025-02-25 23:21:09 +01:00
Jonas Vautherin
d91bdd6564 Add rust support to android-arm64 2025-02-25 23:21:07 +01:00
Jonas Vautherin
133cdd4bf5 Install rustup in common.docker 2025-02-25 23:21:05 +01:00
Jaswant Panchumarti
2592f3a90f web-wasm: bump emscripten to 4.0.3 2025-02-25 10:49:40 -05:00
Nicolas Boichat
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
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