fix add ninja for qemu build
Some checks failed
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Failing after 2m9s
Some checks failed
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Failing after 2m9s
This commit is contained in:
parent
566a2a5fd3
commit
466ff894ad
@ -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`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user