Skip to content

Commit c35b68a

Browse files
authored
Update llamacpp.yaml
1 parent 53c8a83 commit c35b68a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/llamacpp.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ jobs:
9292
yum update -y
9393
yum install git cmake gcc gcc-c++ make -y
9494
git clone https://github.com/ggerganov/llama.cpp.git
95+
. /usr/local/Ascend/ascend-toolkit/set_env.sh
96+
export LD_LIBRARY_PATH=/usr/local/Ascend/ascend-toolkit/latest/lib64:/usr/local/Ascend/ascend-toolkit/latest/x86_64-linux/devlib/:${LD_LIBRARY_PATH}
9597
- name: Build
9698
run: |
9799
cd llama.cpp
98100
mkdir build
99101
cd build
100-
. /usr/local/Ascend/ascend-toolkit/set_env.sh
101102
echo $LD_LIBRARY_PATH
102-
export LD_LIBRARY_PATH=/usr/local/Ascend/ascend-toolkit/latest/lib64:/usr/local/Ascend/ascend-toolkit/latest/x86_64-linux/devlib/:${LD_LIBRARY_PATH}
103103
cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DGGML_CANN=on -DSOC_TYPE=${{ matrix.device }} && cmake --build . -j $(nproc)

0 commit comments

Comments
 (0)