fix add ninja for qemu build
Some checks failed
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Failing after 2m9s

This commit is contained in:
tqcq 2023-12-06 11:38:04 +08:00
parent 566a2a5fd3
commit 466ff894ad

View File

@ -58,6 +58,7 @@ jobs:
cd ${{ github.workspace }}
yum clean all
yum install -y libarchive cmake make gcc gcc-c++ openssl-devel autoconf libtool pkg-config python3
dnf -y --enablerepo=PowerTools install ninja-build
cd qemu
./configure --target-list=arm-linux-user --prefix=$GITHUB_WORKSPACE/qemu-install
make -j `nproc`
@ -79,7 +80,6 @@ jobs:
cd ${{ github.workspace }}
yum clean all
yum install -y libarchive cmake make gcc gcc-c++ openssl-devel autoconf libtool pkg-config
dnf -y --enablerepo=PowerTools install ninja-build
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`