-
-
Notifications
You must be signed in to change notification settings - Fork 104
Description
Hello, can't build go-llama.cpp, i got next error:
`I llama.cpp build info:
I UNAME_S: Linux
I UNAME_P: x86_64
I UNAME_M: x86_64
I CFLAGS: -I./llama.cpp -I. -O3 -DNDEBUG -std=c11 -fPIC -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-unused-function -pthread -march=native -mtune=native
I CXXFLAGS: -I./llama.cpp -I. -I./llama.cpp/common -I./common -O3 -DNDEBUG -std=c++11 -fPIC -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -pthread
I CGO_LDFLAGS:
I LDFLAGS:
I BUILD_TYPE:
I CMAKE_ARGS:
I EXTRA_TARGETS:
I CC: cc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
I CXX: g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
cd llama.cpp && patch -p1 < ../patches/1902-cuda.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file common/common.cpp
Hunk #1 FAILED at 1268 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file common/common.cpp.rej
(Stripping trailing CRs from patch; use --binary to disable.)
patching file common/common.h
Hunk #1 FAILED at 209 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file common/common.h.rej
make: *** [prepare] Error 1`
it worked in docker (images:2yongbum/centos7-cmake-go:latest)