31 Star 146 Fork 232

Ascend/mindsdk-referenceapps

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
build.sh 652 Bytes
Copy Edit Raw Blame History
wwwttt001 authored 7 months ago . change name
#!/bin/bash
#g++ -std=c++11 -march=armv8-a -fPIC -fstack-protector-all -Wno-sign-compare -D_FORTIFY_SOURCE=2 -O3 -Wall -Wextra -DFINTEGER=int -fopenmp -I../mxIndex/include -I/usr/local/include -I/usr/local/gtest/include -I/usr/local/Ascend/driver/include/dvpp/ -o TestAscendIndexSQ TestAscendIndexSQ.cpp -L../mxIndex/host/lib -L/usr/local/lib -L/usr/local/gtest/lib -L/usr/local/Ascend/driver/lib64 -lopenblas -lfaiss -lascendfaiss -lgtest
if [ -d ./build ];then
rm -rf ./build
fi
mkdir build
cd build
cmake ..
make
echo "build success,please check env of MX_INDEX_MODELPATH and LD_LIBRARY_PATH before excuting the binary file in directory of build"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/ascend/mindsdk-referenceapps.git
git@gitee.com:ascend/mindsdk-referenceapps.git
ascend
mindsdk-referenceapps
mindsdk-referenceapps
master

Search