Skip to content

Commit

Permalink
bump to 2.1.3
Browse files Browse the repository at this point in the history
Signed-off-by: David Bensoussan <[email protected]>
  • Loading branch information
Minipada committed Jun 5, 2023
1 parent deb6bc1 commit ec51220
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
Changelog for package fluent_bit_vendor
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

2.0.0 (2023-05-16)
2.1.3 (2023-05-16)
------------------
* fix: add libyaml-vendor as dependency
* cleanup: include and dependencies
* feat: add pre-commit and fix all errors
* feat: add Fluent Bit vendor package
Expand Down
17 changes: 10 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ else()
endif()
set(fluent_bit_external_project_dir ${CMAKE_CURRENT_BINARY_DIR}/fluent_bit)
include(ExternalProject)
set(fluent_bit_version "1ab360f79c73627a0789551287c074aa2016bf26")
set(fluent_bit_version "fix-2.1.3")
# message(${CMAKE_CURRENT_LIST_DIR})
ExternalProject_Add(fluent_bit_src
GIT_REPOSITORY https://github.com/fluent/fluent-bit
GIT_REPOSITORY https://github.com/minipada/fluent-bit
GIT_TAG ${fluent_bit_version}
GIT_CONFIG advice.detachedHead=false
PATCH_COMMAND patch -p1 < ${CMAKE_CURRENT_LIST_DIR}/mpack.patch
Expand All @@ -75,7 +75,7 @@ ExternalProject_Add(fluent_bit_src
-DFLB_OUT_PGSQL=On
-DFLB_SHARED_LIB=On
-DFLB_PROXY_GO=On
-DSYSTEMD_UNITDIR=/usr/lib/systemd/system
-DSYSTEMD_UNITDIR=${fluent_bit_external_project_dir}/install/system
${cmake_configure_args}
)

Expand All @@ -84,14 +84,16 @@ set(fluent_bit_INCLUDE_DIR "${INSTALL_DIR}/../fluent_bit/install/include")
set(fluent_bit_LIB_DIR "${INSTALL_DIR}/../fluent_bit/install/lib/fluent-bit")

set(FB_SRC_LIB_INCLUDE_DIR "${INSTALL_DIR}/src/fluent_bit_src/lib")
set(FB_SRC_INCLUDE_DIR "${INSTALL_DIR}/src/fluent_bit_src/include/fluent-bit")

set(ares_INCLUDE_FILES
"${FB_SRC_LIB_INCLUDE_DIR}/c-ares-1.18.1/include/ares.h"
"${FB_SRC_LIB_INCLUDE_DIR}/c-ares-1.18.1/include/ares_build.h"
"${FB_SRC_LIB_INCLUDE_DIR}/c-ares-1.18.1/include/ares_rules.h"
"${FB_SRC_LIB_INCLUDE_DIR}/c-ares-1.18.1/include/ares_version.h"
"${FB_SRC_LIB_INCLUDE_DIR}/c-ares-1.19.0/include/ares.h"
"${FB_SRC_LIB_INCLUDE_DIR}/c-ares-1.19.0/include/ares_build.h"
"${FB_SRC_LIB_INCLUDE_DIR}/c-ares-1.19.0/include/ares_rules.h"
"${FB_SRC_LIB_INCLUDE_DIR}/c-ares-1.19.0/include/ares_version.h"
)
set(cfl_INCLUDE_DIR "${FB_SRC_LIB_INCLUDE_DIR}/cfl/include/cfl")
set(config_format_INCLUDE_DIR "${FB_SRC_INCLUDE_DIR}/config_format")
set(cmetrics_INCLUDE_DIR "${FB_SRC_LIB_INCLUDE_DIR}/cmetrics/include/cmetrics")
set(ctraces_INCLUDE_DIR "${FB_SRC_LIB_INCLUDE_DIR}/ctraces/include/ctraces")
set(jsmn_INCLUDE_DIR "${FB_SRC_LIB_INCLUDE_DIR}/jsmn")
Expand All @@ -110,6 +112,7 @@ set(xxhash_INCLUDE_FILES
install(DIRECTORY ${fluent_bit_INCLUDE_DIR}/ DESTINATION include)
install(FILES ${ares_INCLUDE_FILES} DESTINATION include)
install(DIRECTORY ${cfl_INCLUDE_DIR}/ DESTINATION include/cfl)
install(DIRECTORY ${config_format_INCLUDE_DIR}/ DESTINATION include/config_format)
install(DIRECTORY ${cmetrics_INCLUDE_DIR}/ DESTINATION include/cmetrics)
install(DIRECTORY ${ctraces_INCLUDE_DIR}/ DESTINATION include/ctraces)
install(DIRECTORY ${jsmn_INCLUDE_DIR}/ DESTINATION include/jsmn)
Expand Down
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?xml-model href="http://download.ros.org/schema/package_format2.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="2">
<name>fluent_bit_vendor</name>
<version>2.0.0</version>
<version>2.1.3</version>
<description>A vendor package for An End to End Observability Pipeline</description>
<maintainer email="[email protected]">David Bensoussan</maintainer>
<license>Apache License 2.0</license> <!-- the contents of this package are Apache 2.0 -->
Expand Down

0 comments on commit ec51220

Please sign in to comment.