File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 21
21
set -e -x
22
22
23
23
cd /pulsar-client-python
24
+ ROOT_DIR=$PWD
24
25
source build-support/dep-url.sh
25
26
26
27
# Build cpp wheels
@@ -46,6 +47,9 @@ if [ $CPP_BINARY_TYPE == "rpm" ]; then
46
47
cd ..
47
48
./bootstrap-vcpkg.sh
48
49
cd ..
50
+ if [ $PULSAR_CPP_VERSION == " 3.7.0" ]; then
51
+ patch lib/CMakeLists.txt $ROOT_DIR /pkg/manylinux2014/pulsar-client-cpp-3.7.0.patch
52
+ fi
49
53
cmake -B build-cpp -DINTEGRATE_VCPKG=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=OFF -DBUILD_DYNAMIC_LIB=ON -DBUILD_STATIC_LIB=ON
50
54
cmake --build build-cpp -j8 --target install
51
55
cd ..
Original file line number Diff line number Diff line change
1
+ --- lib/CMakeLists.txt
2
+ +++ lib/CMakeLists.txt
3
+ @@ -93,10 +93,6 @@
4
+ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
5
+ target_link_options(pulsarShared PRIVATE -Wl,-Bsymbolic)
6
+ endif ()
7
+ - check_cxx_symbol_exists(__GLIBCXX__ iostream GLIBCXX)
8
+ - if (GLIBCXX)
9
+ - target_link_libraries(pulsarShared PUBLIC -static-libgcc -static-libstdc++)
10
+ - endif ()
11
+ endif()
12
+
13
+ check_cxx_symbol_exists(getauxval sys/auxv.h HAVE_AUXV_GETAUXVAL)
You can’t perform that action at this time.
0 commit comments