Skip to content

Feature/cpp removed antlr4#648

Merged
jt2594838 merged 10 commits intoapache:developfrom
hongzhi-gao:feature/cpp-removed-antlr4
Dec 2, 2025
Merged

Feature/cpp removed antlr4#648
jt2594838 merged 10 commits intoapache:developfrom
hongzhi-gao:feature/cpp-removed-antlr4

Conversation

@hongzhi-gao
Copy link
Contributor

@hongzhi-gao hongzhi-gao commented Nov 27, 2025

Library size reduced from 3.2 MB to 1.7 MB by making dependencies optional.

  1. Support building tsfile-cpp without depending on ANTLR4/snappy/lz4/lzo/gzip, reducing package size
  2. Support building without dependencies on ANTLR4 and GTest, avoiding dependency download failures due to network issues

Before
img_v3_02se_981ed99c-0073-4093-9459-23ab2d63fdbg

Package size after removing ANTLR4
image

Package size after removing ANTLR4 and compression algorithms (Snappy/LZ4/LZOKAY/Gzip)
image

@hongzhi-gao hongzhi-gao reopened this Nov 28, 2025
@jt2594838 jt2594838 merged commit 6bd2759 into apache:develop Dec 2, 2025
13 checks passed
@jt2594838 jt2594838 deleted the feature/cpp-removed-antlr4 branch December 2, 2025 04:26
ColinLeeo pushed a commit that referenced this pull request Dec 23, 2025
* Supports compilation without antlr4

* Adjusted build tools

* fix pom

* remove compressor depencency

* Supports compilation without compressor algorithm

* Supports compilation without compressor algorithm

* fix some issue

* fix libtsfile_init()

* spotless apply
ColinLeeo pushed a commit that referenced this pull request Dec 23, 2025
* Supports compilation without antlr4

* Adjusted build tools

* fix pom

* remove compressor depencency

* Supports compilation without compressor algorithm

* Supports compilation without compressor algorithm

* fix some issue

* fix libtsfile_init()

* spotless apply
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants