fix old version cmake not support --build, replace by -B
Some checks failed
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Failing after 44s
Some checks failed
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Failing after 44s
This commit is contained in:
parent
643f9903f9
commit
9825253c6e
@ -78,7 +78,7 @@ jobs:
|
|||||||
cd ${{ github.workspace }}
|
cd ${{ github.workspace }}
|
||||||
yum clean all
|
yum clean all
|
||||||
yum install -y libarchive cmake make gcc gcc-c++ openssl-devel autoconf libtool pkg-config
|
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`
|
cmake --build build --target all -- -j `nproc`
|
||||||
|
|
||||||
export PATH=${{ github.workspace }}/qemu-install/bin:$PATH
|
export PATH=${{ github.workspace }}/qemu-install/bin:$PATH
|
||||||
|
Loading…
Reference in New Issue
Block a user