]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
github-workflow: do not build for PPC
authorHannes Reinecke <hare@suse.de>
Wed, 11 Aug 2021 08:38:43 +0000 (10:38 +0200)
committerKeith Busch <kbusch@kernel.org>
Wed, 11 Aug 2021 17:43:05 +0000 (11:43 -0600)
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 <hare@suse.de>
.github/workflows/c-cpp.yml

index 447ffce4679d5f9b241fa0dc791a9f59ed83e31b..1aa4a774b59e5aa3583567e442736c0afabf8b7b 100644 (file)
@@ -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