Skip to content

Commit

Permalink
Boost filesystem (cmu-db#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbutrovich authored Aug 13, 2018
1 parent 9b98142 commit de85fb3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RUN apt-get -y update && \
doxygen \
git \
g++-7 \
libboost-filesystem-dev \
libjemalloc-dev \
libjsoncpp-dev \
libtbb-dev \
Expand Down
5 changes: 5 additions & 0 deletions cmake_modules/ThirdpartyToolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,11 @@ find_package(TBB REQUIRED)
include_directories(SYSTEM ${TBB_INCLUDE_DIRS})
list(APPEND TERRIER_LINK_LIBS ${TBB_LIBRARIES})

# Boost filesystem
find_package(Boost COMPONENTS filesystem REQUIRED)
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
list(APPEND TERRIER_LINK_LIBS ${Boost_FILESYSTEM_LIBRARY} ${Boost_SYSTEM_LIBRARY})

# LLVM 6.0+
find_package(LLVM REQUIRED CONFIG)
message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}")
Expand Down
2 changes: 2 additions & 0 deletions script/installation/packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ install_mac() {
# Update Homebrew.
brew update
# Install packages.
brew ls --versions boost || brew install boost
brew ls --versions cmake || brew install cmake
brew ls --versions doxygen || brew install doxygen
brew ls --versions git || brew install git
Expand All @@ -92,6 +93,7 @@ install_linux() {
doxygen \
git \
g++-7 \
libboost-filesystem-dev \
libjemalloc-dev \
libjsoncpp-dev \
libtbb-dev \
Expand Down

0 comments on commit de85fb3

Please sign in to comment.