公告板
版本库
filestore
活动
搜索
登录
main
/
speechAnalysis
浙大网新
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
音频上传,处理,检索接口
zhangqian
2024-05-11
095c0590782a71834af9895422c5f385fed6c919
[speechAnalysis.git]
/
pkg
/
nsqclient
/
cmd
/
make.sh
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
if [ ! -d "clib" ]; then
mkdir clib
fi
go tool cgo -exportheader clib/libnsqclient.h main.go &&
go build -buildmode=c-shared -o ./clib/libnsqclient.so &&
rm -fr _obj &&
go build -o gonsqcli &&
g++ -std=c++11 -g -O0 -o cnsqcli TST/ctest/ctest.cpp -I. -Lclib/ -lnsqclient -ldl -pthread