Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
Iotdb
提交
df262ee6
I
Iotdb
项目概览
apache
/
Iotdb
8 个月 前同步成功
通知
25
Star
3344
Fork
916
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
I
Iotdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
df262ee6
编写于
8月 25, 2023
作者:
H
Haonan
提交者:
GitHub
8月 25, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix client-cpp-example build error (#10956)
上级
0a5d4ec9
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
7 addition
and
12 deletion
+7
-12
.github/workflows/client-cpp.yml
.github/workflows/client-cpp.yml
+4
-8
README.md
README.md
+1
-2
example/client-cpp-example/src/CMakeLists.txt
example/client-cpp-example/src/CMakeLists.txt
+2
-2
未找到文件。
.github/workflows/client-cpp.yml
浏览文件 @
df262ee6
...
...
@@ -10,7 +10,6 @@ on:
branches
:
-
master
-
"
rel/*"
-
"
new_*"
paths-ignore
:
-
'
docs/**'
-
'
site/**'
...
...
@@ -18,7 +17,6 @@ on:
branches
:
-
master
-
"
rel/*"
-
"
new_*"
paths-ignore
:
-
'
docs/**'
-
'
site/**'
...
...
@@ -33,7 +31,7 @@ env:
MAVEN_OPTS
:
-Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
jobs
:
build
:
build
-unix
:
strategy
:
fail-fast
:
false
max-parallel
:
20
...
...
@@ -66,7 +64,7 @@ jobs:
# Explicitly using mvnw here as the build requires maven 3.9 and the default installation is older
# Explicitly using "install" instead of package in order to be sure we're using libs built on this machine
# (was causing problems on windows, but could cause problem on linux, when updating the thrift module)
run
:
./mvnw clean install -P with-cpp -pl distribution -am -DskipTests
run
:
./mvnw clean install -P with-cpp -pl distribution
,example/client-cpp-example
-am -DskipTests
-
name
:
Test with Maven
# Explicitly using mvnw here as the build requires maven 3.9 and the default installation is older
run
:
./mvnw clean verify -P with-cpp -pl iotdb-client/client-cpp -am
...
...
@@ -86,17 +84,15 @@ jobs:
key
:
client-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys
:
${{ runner.os }}-m2-
-
name
:
Install Win_Flex_Bison
run
:
choco install winflexbison
run
:
choco install winflexbison
3
-
name
:
Download Boost
run
:
choco install boost-msvc-14.3 --version=1.78.0
-
name
:
Install OpenSSL
run
:
choco install openssl
-
name
:
Build IoTDB server
shell
:
bash
# Explicitly using mvnw here as the build requires maven 3.9 and the default installation is older
# Explicitly using "install" instead of package in order to be sure we're using libs built on this machine
# (was causing problems on windows, but could cause problem on linux, when updating the thrift module)
run
:
./mvnw clean install -P with-cpp -pl distribution -am -DskipTests
run
:
./mvnw clean install -P with-cpp -pl distribution
,example/client-cpp-example
-am -DskipTests
-
name
:
Test with Maven
shell
:
bash
# Explicitly using mvnw here as the build requires maven 3.9 and the default installation is older
...
...
README.md
浏览文件 @
df262ee6
...
...
@@ -21,8 +21,7 @@
[
English
](
./README.md
)
|
[
中文
](
./README_ZH.md
)
# IoTDB
[
![Main Mac and Linux
](
https://github.com/apache/iotdb/actions/workflows/main-unix.yml/badge.svg
)
](https://github.com/apache/iotdb/actions/workflows/main-unix.yml)
[
![Main Win
](
https://github.com/apache/iotdb/actions/workflows/main-win.yml/badge.svg
)
](https://github.com/apache/iotdb/actions/workflows/main-win.yml)
<!--[![coveralls](https://coveralls.io/repos/github/apache/iotdb/badge.svg?branch=master)](https://coveralls.io/repos/github/apache/iotdb/badge.svg?branch=master)-->
[
![Unit-Test
](
https://github.com/apache/iotdb/actions/workflows/unit-test.yml/badge.svg
)
](https://github.com/apache/iotdb/actions/workflows/unit-test.yml)
<!--[![coveralls](https://coveralls.io/repos/github/apache/iotdb/badge.svg?branch=master)](https://coveralls.io/repos/github/apache/iotdb/badge.svg?branch=master)-->
[
![GitHub release
](
https://img.shields.io/github/release/apache/iotdb.svg
)
](https://github.com/apache/iotdb/releases)
[
![License
](
https://img.shields.io/badge/license-Apache%202-4EB1BA.svg
)
](https://www.apache.org/licenses/LICENSE-2.0.html)
![](
https://github-size-badge.herokuapp.com/apache/iotdb.svg
)
...
...
example/client-cpp-example/src/CMakeLists.txt
浏览文件 @
df262ee6
...
...
@@ -40,8 +40,8 @@ ADD_EXECUTABLE(SessionExample SessionExample.cpp)
ADD_EXECUTABLE
(
AlignedTimeseriesSessionExample AlignedTimeseriesSessionExample.cpp
)
IF
(
MSVC
)
TARGET_LINK_LIBRARIES
(
SessionExample iotdb_session
"
${
CMAKE_SOURCE_DIR
}
/thrift/lib/Release/thriftmd.lib)
TARGET_LINK_LIBRARIES(AlignedTimeseriesSessionExample iotdb_session "
${
CMAKE_SOURCE_DIR
}
/thrift/lib/Release/thriftmd.lib
)
TARGET_LINK_LIBRARIES
(
SessionExample iotdb_session
"
${
CMAKE_SOURCE_DIR
}
/thrift/lib/Release/thriftmd.lib
"
)
TARGET_LINK_LIBRARIES
(
AlignedTimeseriesSessionExample iotdb_session
"
${
CMAKE_SOURCE_DIR
}
/thrift/lib/Release/thriftmd.lib
"
)
ELSE
()
TARGET_LINK_LIBRARIES
(
SessionExample iotdb_session pthread
)
TARGET_LINK_LIBRARIES
(
AlignedTimeseriesSessionExample iotdb_session pthread
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录