summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@nathanm.com>2025-04-08 10:15:49 -0700
committerHans Kristian Rosbach <hk-github@circlestorm.org>2025-04-10 10:00:59 +0200
commit4ff59d49273c6c7ed97cc71cf9f408abe74f9bcd (patch)
treefdd101cf5f1654e342369de2a5c9dc0d8ed29a46 /.github
parent07578f9c18ae9f349e80bbf8f449a4914bed3eec (diff)
downloadProject-Tick-4ff59d49273c6c7ed97cc71cf9f408abe74f9bcd.tar.gz
Project-Tick-4ff59d49273c6c7ed97cc71cf9f408abe74f9bcd.zip
Fix PPC64LE CI run when targeting power8.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cmake.yml11
1 files changed, 7 insertions, 4 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index 92c45ceb1d..f031c8f321 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -274,11 +274,14 @@ jobs:
packages: qemu-user clang binutils-powerpc64-linux-gnu libgcc-11-dev-ppc64-cross libc-dev-ppc64-cross libstdc++-11-dev-ppc64-cross
- name: Ubuntu GCC PPC64LE
- # qemu appears to be broken in newer versions of Ubuntu (see issue 1378)
os: ubuntu-latest
- cmake-args: -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-powerpc64le.cmake
- packages: qemu qemu-user gcc-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu libc-dev-ppc64el-cross
+ # gtest illegal instruction (related? https://bugs.launchpad.net/qemu/+bug/1781281)
+ cmake-args: -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-powerpc64le.cmake -DWITH_GTEST=OFF
+ packages: qemu-user crossbuild-essential-ppc64el
gcov-exec: powerpc64le-linux-gnu-gcov
+ # mcpu required to test power8 with qemu-ppc64le -cpu power8 (see issue 1378)
+ cflags: -mcpu=power8
+ cxxflags: -mcpu=power8
codecov: ubuntu_gcc_ppc64le
- name: Ubuntu GCC PPC64LE No VSX
@@ -313,7 +316,6 @@ jobs:
packages: qemu-user crossbuild-essential-riscv64
- name: Ubuntu GCC SPARC64
- # qemu appears to be broken in newer versions of Ubuntu (see issue 1378)
os: ubuntu-latest
cmake-args: -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-sparc64.cmake
packages: qemu qemu-user gcc-sparc64-linux-gnu g++-sparc64-linux-gnu libc-dev-sparc64-cross
@@ -716,6 +718,7 @@ jobs:
CC: ${{ matrix.compiler }}
CXX: ${{ matrix.cxx-compiler }}
CFLAGS: ${{ matrix.cflags }}
+ CXXFLAGS: ${{ matrix.cxxflags }}
LDFLAGS: ${{ matrix.ldflags }}
CI: true