diff options
| author | Vladislav Shchapov <vladislav@shchapov.ru> | 2025-06-08 21:53:47 +0500 |
|---|---|---|
| committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2025-07-11 16:12:18 +0200 |
| commit | 3f88416223c11aad5cf2b3be570a68f65e81958e (patch) | |
| tree | 5698beabe2134a5421ba4ec65a4eb66b460b5f2e /.github | |
| parent | f7ea8cc7f9a7c8036e61ba89102f957fbe31b77e (diff) | |
| download | Project-Tick-3f88416223c11aad5cf2b3be570a68f65e81958e.tar.gz Project-Tick-3f88416223c11aad5cf2b3be570a68f65e81958e.zip | |
Add support for cross-compiling for LoongArch64
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/cmake.yml | 8 | ||||
| -rw-r--r-- | .github/workflows/configure.yml | 18 |
2 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 7a09b5bb61..e3c4d5e202 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -310,6 +310,14 @@ jobs: cmake-args: -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-riscv-clang.cmake packages: qemu-user crossbuild-essential-riscv64 + - name: Ubuntu GCC 14 LoongArch64 + os: ubuntu-latest + cmake-args: -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-loongarch64-gcc-14.cmake -DWITH_BENCHMARKS=ON + packages: qemu-user gcc-14-loongarch64-linux-gnu g++-14-loongarch64-linux-gnu libc-dev-loong64-cross + ldflags: -static + gcov-exec: loongarch64-linux-gnu-gcov-14 + codecov: ubuntu_gcc14_loongarch64 + - name: Ubuntu GCC SPARC64 os: ubuntu-latest cmake-args: -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-sparc64.cmake diff --git a/.github/workflows/configure.yml b/.github/workflows/configure.yml index b46aa1e3e8..2f3e9d7a0a 100644 --- a/.github/workflows/configure.yml +++ b/.github/workflows/configure.yml @@ -249,6 +249,24 @@ jobs: chost: riscv64-linux-gnu packages: qemu-user crossbuild-essential-riscv64 + - name: Ubuntu GCC 14 LoongArch64 + os: ubuntu-latest + compiler: loongarch64-linux-gnu-gcc-14 + configure-args: --warn --static + chost: loongarch64-linux-gnu + packages: qemu-user gcc-14-loongarch64-linux-gnu g++-14-loongarch64-linux-gnu libc-dev-loong64-cross + cflags: -static + ldflags: -static + + - name: Ubuntu GCC 14 LoongArch64 Compat No Opt + os: ubuntu-latest + compiler: loongarch64-linux-gnu-gcc-14 + configure-args: --warn --static --zlib-compat --without-optimizations --without-new-strategies + chost: loongarch64-linux-gnu + packages: qemu-user gcc-14-loongarch64-linux-gnu g++-14-loongarch64-linux-gnu libc-dev-loong64-cross + cflags: -static + ldflags: -static + steps: - name: Checkout repository uses: actions/checkout@v4 |
