Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
18b34245
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
18b34245
编写于
9月 02, 2022
作者:
L
Linhe Huo
提交者:
GitHub
9月 02, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: support taosx packaging and install (#16597)
上级
a994507a
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
9 addition
and
0 deletion
+9
-0
packaging/tools/install.sh
packaging/tools/install.sh
+3
-0
packaging/tools/make_install.sh
packaging/tools/make_install.sh
+4
-0
packaging/tools/makepkg.sh
packaging/tools/makepkg.sh
+2
-0
未找到文件。
packaging/tools/install.sh
浏览文件 @
18b34245
...
...
@@ -33,6 +33,7 @@ adapterName="taosadapter"
benchmarkName
=
"taosBenchmark"
dumpName
=
"taosdump"
demoName
=
"taosdemo"
xname
=
"taosx"
data_dir
=
${
dataDir
}
log_dir
=
${
logDir
}
...
...
@@ -199,6 +200,7 @@ function install_bin() {
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
demoName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
benchmarkName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
dumpName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
xname
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/TDinsight.sh
||
:
...
...
@@ -212,6 +214,7 @@ function install_bin() {
[
-x
${
install_main_dir
}
/bin/
${
benchmarkName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
benchmarkName
}
${
bin_link_dir
}
/
${
demoName
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
benchmarkName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
benchmarkName
}
${
bin_link_dir
}
/
${
benchmarkName
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
dumpName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
dumpName
}
${
bin_link_dir
}
/
${
dumpName
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
xname
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
dumpName
}
${
bin_link_dir
}
/
${
xname
}
||
:
[
-x
${
install_main_dir
}
/bin/TDinsight.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/TDinsight.sh
${
bin_link_dir
}
/TDinsight.sh
||
:
[
-x
${
install_main_dir
}
/bin/remove.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/remove.sh
${
bin_link_dir
}
/
${
uninstallScript
}
||
:
[
-x
${
install_main_dir
}
/bin/set_core.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/set_core.sh
${
bin_link_dir
}
/set_core
||
:
...
...
packaging/tools/make_install.sh
浏览文件 @
18b34245
...
...
@@ -172,6 +172,7 @@ function install_bin() {
${
csudo
}
rm
-f
${
bin_link_dir
}
/udfd
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdump
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosx
||
:
if
[
"
$osType
"
!=
"Darwin"
]
;
then
${
csudo
}
rm
-f
${
bin_link_dir
}
/perfMonitor
||
:
...
...
@@ -184,6 +185,7 @@ function install_bin() {
[
-f
${
binary_dir
}
/build/bin/taosdump
]
&&
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/taosdump
${
install_main_dir
}
/bin
||
:
[
-f
${
binary_dir
}
/build/bin/taosadapter
]
&&
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/taosadapter
${
install_main_dir
}
/bin
||
:
[
-f
${
binary_dir
}
/build/bin/udfd
]
&&
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/udfd
${
install_main_dir
}
/bin
||
:
[
-f
${
binary_dir
}
/build/bin/taosx
]
&&
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/taosx
${
install_main_dir
}
/bin
||
:
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/
${
serverName
}
${
install_main_dir
}
/bin
||
:
${
csudo
}
cp
-r
${
script_dir
}
/taosd-dump-cfg.gdb
${
install_main_dir
}
/bin
||
:
...
...
@@ -199,6 +201,7 @@ function install_bin() {
[
-x
${
install_main_dir
}
/bin/udfd
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/udfd
${
bin_link_dir
}
/udfd
||
:
[
-x
${
install_main_dir
}
/bin/taosdump
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdump
${
bin_link_dir
}
/taosdump
||
:
[
-x
${
install_main_dir
}
/bin/taosdemo
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdemo
${
bin_link_dir
}
/taosdemo
||
:
[
-x
${
install_main_dir
}
/bin/taosx
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosx
${
bin_link_dir
}
/taosx
||
:
[
-x
${
install_main_dir
}
/bin/perfMonitor
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/perfMonitor
${
bin_link_dir
}
/perfMonitor
||
:
[
-x
${
install_main_dir
}
/set_core.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/set_core.sh
${
bin_link_dir
}
/set_core
||
:
[
-x
${
install_main_dir
}
/bin/remove.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/remove.sh
${
bin_link_dir
}
/
${
uninstallScript
}
||
:
...
...
@@ -215,6 +218,7 @@ function install_bin() {
[
-x
${
install_main_dir
}
/bin/udfd
]
||
[
-x
${
install_main_2_dir
}
/bin/udfd
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/udfd
${
bin_link_dir
}
/udfd
||
${
csudo
}
ln
-s
${
install_main_2_dir
}
/bin/udfd
||
:
[
-x
${
install_main_dir
}
/bin/taosdump
]
||
[
-x
${
install_main_2_dir
}
/bin/taosdump
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdump
${
bin_link_dir
}
/taosdump
||
ln
-s
${
install_main_2_dir
}
/bin/taosdump
${
bin_link_dir
}
/taosdump
||
:
[
-x
${
install_main_dir
}
/bin/taosdemo
]
||
[
-x
${
install_main_2_dir
}
/bin/taosdemo
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdemo
${
bin_link_dir
}
/taosdemo
||
ln
-s
${
install_main_2_dir
}
/bin/taosdemo
${
bin_link_dir
}
/taosdemo
||
:
[
-x
${
install_main_dir
}
/bin/taosx
]
||
[
-x
${
install_main_2_dir
}
/bin/taosx
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosx
${
bin_link_dir
}
/taosx
||
ln
-s
${
install_main_2_dir
}
/bin/taosx
${
bin_link_dir
}
/taosx
||
:
fi
}
...
...
packaging/tools/makepkg.sh
浏览文件 @
18b34245
...
...
@@ -80,10 +80,12 @@ else
${
build_dir
}
/bin/taosBenchmark
\
${
build_dir
}
/bin/TDinsight.sh
\
$tdinsight_caches
"
[
-f
${
build_dir
}
/bin/taosx
]
&&
taosx_bin
=
"
${
build_dir
}
/bin/taosx"
bin_files
=
"
${
build_dir
}
/bin/
${
serverName
}
\
${
build_dir
}
/bin/
${
clientName
}
\
${
taostools_bin_files
}
\
${
taosx_bin
}
\
${
build_dir
}
/bin/taosadapter
\
${
build_dir
}
/bin/udfd
\
${
script_dir
}
/remove.sh
\
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录