mirror of the 3rd party external libraries required for CUBRID Engine build
The original URL for downloads of each library is as follow:
- FLEX: https://github.com/westes/flex/files/981163/flex-2.6.4.tar.gz
- BISON: https://ftp.gnu.org/gnu/bison/bison-3.4.1.tar.gz
- LIBEXPAT: https://github.com/libexpat/libexpat/releases/download/R_2_8_2/expat-2.8.2.tar.gz
- LIBJANSSON: https://github.com/akheron/jansson/releases/download/v2.14.1/jansson-2.14.1.tar.gz
- RAPIDJSON: https://github.com/Tencent/rapidjson/archive/24b5e7a8b27f42fa16b96fc70aade9106cf7102f.tar.gz (no upstream release tag since v1.1.0; master snapshot 2025-02-05, includes CVE-2024-38517 fix; mirror file: v1.1.0-250205.tar.gz)
- LIBOPENSSL: https://github.com/openssl/openssl/releases/download/openssl-3.5.7/openssl-3.5.7.tar.gz
- LIBUNIXODBC: https://github.com/lurcher/unixODBC/releases/download/2.3.14/unixODBC-2.3.14.tar.gz
- LIBTBB: https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2021.11.0.tar.gz
- RE2: https://github.com/google/re2/archive/refs/tags/2023-03-01.tar.gz (last release before the Abseil dependency was introduced)
- LZ4: https://github.com/lz4/lz4/releases/download/v1.10.0/lz4-1.10.0.tar.gz
- indent: https://ftp.gnu.org/gnu/indent/indent-2.2.11.tar.gz
- code style: https://github.com/google/google-java-format/releases/download/google-java-format-1.7/google-java-format-1.7-all-deps.jar
- cpp check: https://github.com/danmar/cppcheck/archive/2.13.0.tar.gz
- JUnit: https://repo1.maven.org/maven2/junit/junit/4.13.2/junit-4.13.2.jar
- Hamcrest (required by JUnit 4): https://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
- Download new version package using wget or appropriate commands
- Move it to the appropriate directory (for example, $ mv v2021.11.0.tar.gz tbb/)
3rdparty/CMakeLists.txt:
- Bison: bison/ # $ mv bison-3.4.1.tar.gz bison/
- Flex: flex/ # $ mv flex-2.6.4.tar.gz flex/
- expat: expat/ # $ mv expat-2.8.2.tar.gz expat/
- Jansson: jansson/ # $ mv jansson-2.14.1.tar.gz jansson/
- Openssl: openssl/ # $ mv openssl-3.5.7.tar.gz openssl/
- Rapidjson: rapidjson/ # $ mv v1.1.0-250205.tar.gz rapidjson/
- tbb: tbb/ # $ mv v2021.11.0.tar.gz tbb/
- unixODBC: unixODBC/ # $ mv unixODBC-2.3.14.tar.gz unixODBC/
- re2: re2/ # $ mv 2023-03-01.tar.gz re2/
- lz4: lz4/ # $ mv lz4-1.10.0.tar.gz lz4/ .github/workflows/check.yml:
- google-java-format: google-java-format/ # $ mv google-java-format-1.7-all-deps.jar google-java-format/
- cppcheck: cppcheck/ # $ mv 2.13.0.tar.gz cppcheck/
- indent-2.2.11.tar.gz: indent/ # $ mv indent-2.2.11.tar.gz indent/ cubrid-jdbc build.xml:
- junit: junit/ # $ mv junit-4.13.2.jar junit/
- hamcrest-core: junit/ # $ mv hamcrest-core-1.3.jar junit/
- Change URL for 3rdparty/CMakeLists.txt, .github/workflows/check.yml or cubrid-jdbc build.xml respectively (cubrid-jdbc build.xml also pins the SHA-256 of each jar; update it together)
- Do not overwrite or delete an existing file: older branches still download it by its URL (and cubrid-jdbc build.xml checks its SHA-256). Add the new version as a new file.