1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

added pciutils dependency for Travis

This commit is contained in:
Steffen Vogel 2015-09-16 21:48:04 +02:00
parent 1fb79ffe5d
commit dc73fbecb0
2 changed files with 15 additions and 8 deletions

View file

@ -4,6 +4,9 @@ compiler: gcc
addons:
apt:
packages:
- zlib1g-dev
- libbind4-dev
- dia
- graphviz
- texlive-font-utils
@ -13,7 +16,7 @@ cache:
- thirdparty
install:
- if ! [ -d thirdparty/libconfig-1.5/ ]; then
- if ! [ -d thirdparty/usr/ ]; then
make dependencies;
fi
@ -23,4 +26,4 @@ script:
after_success:
- echo -e "Host ${DEPLOY_HOST}\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- make doc
- make deploy
- make deploy

View file

@ -12,7 +12,7 @@ clean:
rm -rf documentation/{html,latex}
# Install dependencies
dependencies: $(PREFIX)/libconfig-1.5 $(PREFIX)/libnl-3.2.25 $(PREFIX)/doxygen-1.8.10
dependencies: $(PREFIX)/libconfig-1.5 $(PREFIX)/libnl-3.2.25 $(PREFIX)/doxygen-1.8.10 $(PREFIX)/pciutils-3.4.0
# Download latest doxygen
$(PREFIX)/doxygen-1.8.10:
@ -23,15 +23,19 @@ $(PREFIX)/doxygen-1.8.10:
$(PREFIX)/libconfig-1.5:
mkdir -p $(PREFIX)/usr/
wget -O- http://www.hyperrealm.com/libconfig/libconfig-1.5.tar.gz | tar -xzC $(PREFIX)
cd $(PREFIX)/libconfig-1.5 && ./configure --prefix=$(PREFIX)/usr/ --disable-examples
make -C $(PREFIX)/libconfig-1.5 install
cd $(PREFIX)/libconfig-1.5 && ./configure --prefix=$(PREFIX)/usr/ --disable-examples && make install
# Install & compile libnl3 dependency
$(PREFIX)/libnl-3.2.25:
mkdir -p $(PREFIX)/usr/
wget -O- http://www.infradead.org/~tgr/libnl/files/libnl-3.2.25.tar.gz | tar -xzC $(PREFIX)
cd $(PREFIX)/libnl-3.2.25 && ./configure --prefix=$(PREFIX)/usr/ --disable-cli
make -C $(PREFIX)/libnl-3.2.25 install
cd $(PREFIX)/libnl-3.2.25 && ./configure --prefix=$(PREFIX)/usr/ --disable-cli && make install
# Install & compile libpci dependency
$(PREFIX)/pciutils-3.4.0:
mkdir -p $(PREFIX)/usr/
wget -O- ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/pciutils-3.4.0.tar.gz | tar -xzC $(PREFIX)
cd $(PREFIX)/pciutils-3.4.0 && make && make install-lib PREFIX=$(PREFIX)/usr/
# Compile S2SS server
build: dependencies
@ -56,4 +60,4 @@ deploy: build
# Generate documentation
doc: $(PREFIX)/doxygen-1.8.10
PATH=$(PREFIX)/doxygen-1.8.10/bin/:$(PATH) \
doxygen
doxygen