fix cmake configure
Some checks failed
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Failing after 45s

This commit is contained in:
tqcq 2023-12-06 11:19:02 +08:00
parent e0c190adf6
commit 643f9903f9

View File

@ -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 . --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 --build build --target all -- -j `nproc`
export PATH=${{ github.workspace }}/qemu-install/bin:$PATH