File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 66# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
77#
88# Binaries for programs and plugins
9+ chdb-go
910* .exe
1011* .exe~
1112* .dll
1213* .so
1314* .dylib
15+ libchdb.tar.gz
1416
1517# Test binary, built with `go test -c`
1618* .test
Original file line number Diff line number Diff line change 11.PHONY : update_libchdb all test clean
22
33update_libchdb :
4- # ./update_libchdb.sh
4+ ./update_libchdb.sh
5+
6+ install : update_libchdb
57 @echo " All the tests an main.go will search libchdb.so in the Current Working Directory"
68 @echo " We perfer to put libchdb.so in /usr/local/lib, so you can run"
79 @echo " 'sudo cp -a libchdb.so /usr/local/lib' or 'make install' to do it"
810 @echo " You can also put it in other places, but you need to set LD_LIBRARY_PATH on Linux or DYLD_LIBRARY_PATH on macOS"
9-
10- install : update_libchdb
1111 chmod +x libchdb.so
1212 sudo cp -a libchdb.so /usr/local/lib
1313 # if on Linux run `sudo ldconfig` to update the cache
2121 CGO_ENABLED=1 go run main.go
2222
2323build :
24- CGO_ENABLED=1 go build -o chdb-cli main.go
24+ CGO_ENABLED=1 go build -o chdb-go main.go
You can’t perform that action at this time.
0 commit comments