From: Hannes Reinecke Date: Wed, 11 Aug 2021 08:38:43 +0000 (+0200) Subject: github-workflow: do not build for PPC X-Git-Tag: v2.0-rc0~109 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=10ad3035fdfd02013cfbbbf72e0a0bd608908722;p=users%2Fsagi%2Fnvme-cli.git github-workflow: do not build for PPC For some reason the library is build for PowerPC in addition to the standard target, but that will make the CI unhappy as libnvme will build and execute the 'configurator' program during building. Which clearly will fail, as libnvme doesn't distinguish between a host and target compiler. So kill this step as it's of doubtful value anyway. Signed-off-by: Hannes Reinecke --- diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 447ffce4..1aa4a774 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -16,5 +16,5 @@ jobs: - name: Checkout libnvme run: git submodule update --init - name: make - run: sudo apt-get install gcc-10-powerpc* libjson-c-dev && make clean && make && make clean && make LD=powerpc64le-linux-gnu-ld CC=powerpc64le-linux-gnu-gcc-10 CFLAGS='-O2 -g -Wall -Wformat-security -Werror -m64 -mcpu=power8 -mtune=power8 -I -I/usr/powerpc64-linux-gnu/include/' + run: sudo apt-get install libjson-c-dev && make clean && make && make clean