Skip to content

Commit

Permalink
Merge pull request #30 from TurakhiaLab/capnp
Browse files Browse the repository at this point in the history
updated install script
  • Loading branch information
sumit-walia authored Nov 18, 2024
2 parents 5b6c1c4 + 82797eb commit 18292c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required (VERSION 3.8)

project(panmanUtils)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -Wall -pipe -g -ggdb3 -Wno-unused-function -Wno-deprecated-declarations -lboost_filesystem -lboost_system -lboost_program_options")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -Wall -pipe -g -ggdb3 -Wno-unused-function -Wno-deprecated-declarations -lboost_filesystem -lboost_system -lboost_program_options")
set(CMAKE_INCLUDE_CURRENT_DIR ON)

# if(DEFINED Protobuf_PATH)
Expand Down
5 changes: 3 additions & 2 deletions install/installationUbuntu.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Install dependencies
sudo apt install -y git build-essential cmake wget curl zip unzip tar protobuf-compiler libboost-all-dev pkg-config capnproto

sudo apt install -y git build-essential cmake wget curl zip unzip tar protobuf-compiler libboost-all-dev pkg-config capnproto
# Build
startDir=$pwd
cd $(dirname "$0")
Expand All @@ -15,7 +15,8 @@ sudo apt-get install pkg-config
wget https://github.com/oneapi-src/oneTBB/archive/2019_U9.tar.gz
tar -xvzf 2019_U9.tar.gz

cmake -DTBB_DIR=${PWD}/oneTBB-2019_U9 -DCMAKE_PREFIX_PATH=${PWD}/oneTBB-2019_U9/cmake -DProtobuf_PROTOC_EXECUTABLE=/usr/bin/protoc -DCMAKE_TOOLCHAIN_FILE=${PWD}/vcpkg/scripts/buildsystems/vcpkg.cmake ..
cmake -DTBB_DIR=${PWD}/oneTBB-2019_U9 -DCMAKE_PREFIX_PATH=${PWD}/oneTBB-2019_U9/cmake -DCapnProto_PATH=/usr/bin/capnp -DCMAKE_TOOLCHAIN_FILE=${PWD}/vcpkg/scripts/buildsystems/vcpkg.cmake ..

make -j

cd $startDir

0 comments on commit 18292c4

Please sign in to comment.