diff options
author | 源文雨 <41315874+fumiama@users.noreply.github.com> | 2023-04-22 02:27:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-21 21:27:06 +0300 |
commit | 018f2279f5fe3ef743bd8254b23ea8f0efae7e73 (patch) | |
tree | 87f6ab851b5ff828400e4046cc92bde85eab8fa2 /convert.py | |
parent | 9411288271ab548216902a029f42a0a38ebcedb7 (diff) |
cmake : link threads publicly to ggml (#1042)
* fix: ld link test-tokenizer-0 error
```
cmake3 --build . --config Release
[ 5%] Built target ggml
[ 16%] Built target llama
[ 22%] Linking CXX executable ../bin/test-tokenizer-0
../libllama.a(ggml.c.o):在函数‘ggml_graph_compute’中:
ggml.c:(.text+0xf2db):对‘pthread_create’未定义的引用
ggml.c:(.text+0xf9d4):对‘pthread_join’未定义的引用
collect2: error: ld returned 1 exit status
gmake[2]: *** [bin/test-tokenizer-0] 错误 1
gmake[1]: *** [tests/CMakeFiles/test-tokenizer-0.dir/all] 错误 2
gmake: *** [all] 错误 2
```
* Update CMakeLists.txt
* Update CMakeLists.txt
* Update CMakeLists.txt
Diffstat (limited to 'convert.py')
0 files changed, 0 insertions, 0 deletions