-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathbuild_deps.sh
More file actions
executable file
·34 lines (28 loc) · 930 Bytes
/
build_deps.sh
File metadata and controls
executable file
·34 lines (28 loc) · 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
# Script to install required software in manylinux2014 container
set -eu
# Install tinyxml2 and asio
# yum install -y tinyxml2-devel asio-devel
INSTALL_FOLDER=`pwd`/install
echo "Installing to ${INSTALL_FOLDER}"
# Foo nathan
git clone --branch v0.7-3 https://github.com/foonathan/memory.git
mkdir memory/build
pushd memory/build
cmake .. --install-prefix ${INSTALL_FOLDER} -DCMAKE_BUILD_TYPE=Release -DFOONATHAN_MEMORY_BUILD_EXAMPLES=OFF -DFOONATHAN_MEMORY_BUILD_TESTS=OFF
make install
popd
# Fast CDR:
git clone --branch 2.2.3 https://github.com/eProsima/Fast-CDR.git
mkdir Fast-CDR/build
pushd Fast-CDR/build
cmake .. --install-prefix ${INSTALL_FOLDER} -DCMAKE_BUILD_TYPE=Release
make install
popd
# Fast RTPS:
git clone --branch v2.14.3 https://github.com/eProsima/Fast-DDS.git
mkdir Fast-DDS/build
pushd Fast-DDS/build
cmake .. --install-prefix ${INSTALL_FOLDER} -DCMAKE_BUILD_TYPE=Release
make install
popd