Skip to content

Commit cc11886

Browse files
Fix Avro build when building Macos wheel
1 parent 666f95e commit cc11886

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/github-actions.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,10 @@ jobs:
330330
make &&
331331
make install &&
332332
cd ${{ github.workspace }}/.. &&
333-
wget --no-verbose https://archive.apache.org/dist/avro/avro-1.11.3/cpp/avro-cpp-1.11.3.tar.gz &&
333+
wget --no-verbose https://downloads.apache.org/avro/avro-1.11.3/cpp/avro-cpp-1.11.3.tar.gz &&
334334
tar xf avro-cpp-1.11.3.tar.gz &&
335+
sed -i '' 's/cmake_minimum_required (VERSION 3.1)/cmake_minimum_required (VERSION 3.5)/' avro-cpp-1.11.3/CMakeLists.txt &&
336+
sed -i '' 's/if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.0)/if (APPLE)/' avro-cpp-1.11.3/CMakeLists.txt &&
335337
sed -i '' 's/install (TARGETS avrocpp avrocpp_s/install (TARGETS avrocpp_s/' avro-cpp-1.11.3/CMakeLists.txt &&
336338
sed -i '' 's/install (TARGETS avrogencpp RUNTIME DESTINATION bin)//' avro-cpp-1.11.3/CMakeLists.txt &&
337339
mkdir avro-build &&

src/etp/ClientSession.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ namespace ETP_NS
6464
// Run will return only when there will no more be any uncomplete operations (such as a reading operation for example)
6565
getIoContext().run();
6666

67-
std::cerr << "The IO Context does no more run" << std::endl;
68-
6967
// Try to reconnect up to 10 times
7068
if (!isCloseRequested_ && reconnectionTryCount_ < 10) {
7169
++reconnectionTryCount_;

0 commit comments

Comments
 (0)