Skip to content

Commit

Permalink
Link to Boost
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffxy committed Mar 9, 2024
1 parent d38380e commit c1d3984
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/check_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ jobs:
sudo apt install ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
- name: Install Dependencies
run: sudo apt update && sudo apt install libarrow-dev libarrow-flight-dev libarrow-flight-sql-dev sqlite3
run: >-
sudo apt update &&
sudo apt install libarrow-dev libarrow-flight-dev libarrow-flight-sql-dev sqlite3 libboost-all-dev
- name: Configure Project using CMake
working-directory: ${{github.workspace}}/cpp
Expand Down
4 changes: 3 additions & 1 deletion cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ find_package(Arrow REQUIRED)
find_package(ArrowFlight REQUIRED)
find_package(ArrowFlightSql REQUIRED)
find_package(SQLite3 REQUIRED)
find_package(Boost REQUIRED)

add_subdirectory(third_party)

Expand Down Expand Up @@ -51,7 +52,8 @@ target_link_libraries(flight_sql_example_server
PRIVATE ArrowFlightSql::arrow_flight_sql_shared
PRIVATE sqlite_server_lib
gflags
${SQLite3_LIBRARIES})
${SQLite3_LIBRARIES}
${Boost_LIBRARIES})

add_executable(flight_sql_brad_server flight_sql_brad_server.cc)
target_link_libraries(flight_sql_brad_server
Expand Down
2 changes: 0 additions & 2 deletions cpp/server/brad_server_simple.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#include "brad_server_simple.h"

#define BOOST_NO_CXX98_FUNCTION_BASE // ARROW-17805
#include <boost/algorithm/string.hpp>
#include <mutex>
#include <random>
#include <sstream>
Expand Down

0 comments on commit c1d3984

Please sign in to comment.