1 Star 0 Fork 1

Ketan/crnn

forked from Waldeinsamkeit/crnn 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
thpp_build.sh 983 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash -e
#
# Copyright (c) 2014, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
#
# Modified for 14.04 installation.
set -o pipefail
if [[ ! -r ./Tensor.h ]]; then
echo "Please run from the thpp subdirectory." >&2
exit 1
fi
rm -rf gtest-1.7.0 gtest-1.7.0.zip
curl -JLO https://github.com/google/googletest/archive/release-1.7.0.zip
# if [[ $($SHA -b googletest-release-1.7.0.zip | cut -d' ' -f1) != \
# 'f89bc9f55477df2fde082481e2d709bfafdb057b' ]]; then
# echo "Invalid googletest-release-1.7.0.zip file" >&2
# exit 1
# fi
unzip googletest-release-1.7.0.zip
mv googletest-release-1.7.0 gtest-1.7.0
# Build in a separate directory
mkdir -p build
cd build
# Configure
cmake ..
# Make
make
# Run tests
ctest
# Install
sudo make install
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/arthur_tang_the_knight/crnn.git
git@gitee.com:arthur_tang_the_knight/crnn.git
arthur_tang_the_knight
crnn
crnn
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385