From 9825253c6eb42c3d1f5ff2813e7be11c06594fc4 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Wed, 6 Dec 2023 11:20:39 +0800 Subject: [PATCH] fix old version cmake not support --build, replace by -B --- .gitea/workflows/linux-hisiv500-gcc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/linux-hisiv500-gcc.yaml b/.gitea/workflows/linux-hisiv500-gcc.yaml index cfda2ff..69f14e0 100644 --- a/.gitea/workflows/linux-hisiv500-gcc.yaml +++ b/.gitea/workflows/linux-hisiv500-gcc.yaml @@ -78,7 +78,7 @@ jobs: cd ${{ github.workspace }} yum clean all yum install -y libarchive cmake make gcc gcc-c++ openssl-devel autoconf libtool pkg-config - cmake . --build build -DCMAKE_TOOLCHAIN_FILE=toolchains/hisiv500.toolchain.cmake -DULIB_BUILD_TESTS=ON -DCMAKE_CROSSCOMPILING_EMULATOR="qemu-arm;-L;/opt/hisi-linux/x86-arm/arm-hisiv500-linux/" + cmake . -Bbuild -DCMAKE_TOOLCHAIN_FILE=toolchains/hisiv500.toolchain.cmake -DULIB_BUILD_TESTS=ON -DCMAKE_CROSSCOMPILING_EMULATOR="qemu-arm;-L;/opt/hisi-linux/x86-arm/arm-hisiv500-linux/" cmake --build build --target all -- -j `nproc` export PATH=${{ github.workspace }}/qemu-install/bin:$PATH