Skip to content

v3.5.1-fix2

Choose a tag to compare

@shibd shibd released this 21 Aug 09:36
· 3 commits to buid_351 since this release
Use Rocky Linux 8 and vcpkg to build RPM packages (#428)

### Motivation

See https://lists.apache.org/thread/7o8hpv1gtoffvzx053wm0ss2s9xt0795, we will discard the support for CentOS 7 and old `std::string` ABI.

### Modifications

- Switch from `centos:7` image and GCC 4.8 to `rockylinux:8` image and GCC 8 to build RPM packages.
- Use vcpkg to install dependencies according to `vcpkg.json` (`dependencies.json` will be deprecated in future)
- Add a new script to build `libpulsarwithdeps.a` for dependencies installed by vcpkg
- Link to `libstdc++` and `libgcc_s` libraries statically

Additional, with vcpkg, OpenSSL will search `/etc/ssl/certs.pem` for the default CA certificate rather than `/usr/local/ssl/ssl/certs.pem`.

(cherry picked from commit 8aab89607759922e48a09d6e2df3713af0543368)