Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
d7f55e50
D
DeepSpeech
项目概览
PaddlePaddle
/
DeepSpeech
大约 1 年 前同步成功
通知
206
Star
8425
Fork
1598
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
245
列表
看板
标记
里程碑
合并请求
3
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
DeepSpeech
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
245
Issue
245
列表
看板
标记
里程碑
合并请求
3
合并请求
3
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d7f55e50
编写于
3月 04, 2022
作者:
H
Hui Zhang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
reorder gflags, gtest, glog
上级
af09260f
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
15 addition
and
16 deletion
+15
-16
speechx/CMakeLists.txt
speechx/CMakeLists.txt
+13
-13
speechx/build.sh
speechx/build.sh
+2
-3
未找到文件。
speechx/CMakeLists.txt
浏览文件 @
d7f55e50
...
...
@@ -24,7 +24,7 @@ get_filename_component(fc_patch "fc_patch" REALPATH BASE_DIR "${CMAKE_SOURCE_DIR
set
(
FETCHCONTENT_BASE_DIR
${
fc_patch
}
)
# compiler option
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-std=c++14 -pthread -fPIC -O0 -Wall -g"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-
-
std=c++14 -pthread -fPIC -O0 -Wall -g"
)
###############################################################################
# Option Configurations
...
...
@@ -41,7 +41,16 @@ option(TEST_DEBUG "option for debug" OFF)
# FetchContent_MakeAvailable()
# include_directories()
# ABSEIL-CPP, need before gtest
# gflags
include
(
gflags
)
# glog
include
(
glog
)
# gtest
include
(
gtest
)
# ABSEIL-CPP
include
(
absl
)
# libsndfile, not work
...
...
@@ -61,15 +70,6 @@ include(kenlm)
add_dependencies
(
kenlm eigen boost
)
# gflags
include
(
gflags
)
# glog
include
(
glog
)
# gtest
#include(gtest)
# openfst
set
(
openfst_SOURCE_DIR
${
fc_patch
}
/openfst-src
)
set
(
openfst_BINARY_DIR
${
fc_patch
}
/openfst-build
)
...
...
@@ -158,8 +158,6 @@ include_directories(${OpenBLAS_INSTALL_PREFIX}/include)
# gfortan dir in the docker.
link_directories
(
/usr/local/gcc-8.2/lib64
)
add_subdirectory
(
speechx
)
###############################################################################
# Add local library
###############################################################################
...
...
@@ -171,3 +169,5 @@ add_subdirectory(speechx)
#add_library(lib_name STATIC file.cc)
#target_link_libraries(lib_name item0 item1)
#add_dependencies(lib_name depend-target)
add_subdirectory
(
speechx
)
\ No newline at end of file
speechx/build.sh
浏览文件 @
d7f55e50
...
...
@@ -5,8 +5,7 @@
# https://www.paddlepaddle.org.cn/documentation/docs/zh/install/docker/linux-docker.html
boost_SOURCE_DIR
=
$PWD
/fc_patch/boost-src
if
[
!
-d
${
boost_SOURCE_DIR
}
]
;
then
wget
-c
https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.tar.gz
if
[
!
-d
${
boost_SOURCE_DIR
}
]
;
then
wget
-c
https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.tar.gz
tar
xzfv boost_1_75_0.tar.gz
mkdir
-p
$PWD
/fc_patch
mv
boost_1_75_0
${
boost_SOURCE_DIR
}
...
...
@@ -20,7 +19,7 @@ fi
mkdir
-p
build
cd
build
cmake ..
-DBOOST_ROOT
:STRING
=
${
boost_SOURCE_DIR
}
cmake ..
-DBOOST_ROOT
:STRING
=
${
boost_SOURCE_DIR
}
--target
clean
make
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录