File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -92,12 +92,12 @@ jobs:
92
92
yum update -y
93
93
yum install git cmake gcc gcc-c++ make -y
94
94
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}
95
97
- name : Build
96
98
run : |
97
99
cd llama.cpp
98
100
mkdir build
99
101
cd build
100
- . /usr/local/Ascend/ascend-toolkit/set_env.sh
101
102
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}
103
103
cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DGGML_CANN=on -DSOC_TYPE=${{ matrix.device }} && cmake --build . -j $(nproc)
You can’t perform that action at this time.
0 commit comments