File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -1466,28 +1466,25 @@ jobs:
14661466 cann : ['openeuler-python3.10-cann8.0.rc3.beta1']
14671467 build : ['Release']
14681468 device : ['ascend910b3']
1469-
1469+ container :
1470+ image : ascendai/cann:${{ matrix.cann }}
14701471 steps :
14711472 - name : Clone
14721473 id : checkout
14731474 uses : actions/checkout@v4
14741475
1475- - name : Dependencies & Build
1476- uses : uraimo/run-on-arch-action@v2
1477- with :
1478- arch : aarch64
1479- distro : ubuntu22.04
1480- base_image : --platform=linux/arm64 ascendai/cann:${{ matrix.cann }}
1481- run : |
1476+ - name : Dependencies
1477+ run : |
14821478 yum update -y
14831479 yum install git cmake gcc gcc-c++ make -y
1484- export LD_LIBRARY_PATH=/usr/local/Ascend/ascend-toolkit/latest/lib64:/usr/local/Ascend/ascend-toolkit/latest/aarch64 -linux/devlib/:${LD_LIBRARY_PATH}
1480+ export LD_LIBRARY_PATH=/usr/local/Ascend/ascend-toolkit/latest/lib64:/usr/local/Ascend/ascend-toolkit/latest/x86_64 -linux/devlib/:${LD_LIBRARY_PATH}
14851481
1482+ - name : Build
1483+ run : |
14861484 mkdir build
14871485 cd build
14881486 cmake .. \
14891487 -DCMAKE_BUILD_TYPE=${{ matrix.build }}\
14901488 -DGGML_CANN=on\
1491- -DGGML_NATIVE=OFF\
14921489 -DSOC_TYPE=${{ matrix.device }}
1493- cmake --build .
1490+ cmake --build . -j $(nproc)
You can’t perform that action at this time.
0 commit comments