Skip to content

Commit

Permalink
travis: Build/install patchelf
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonKagstrom committed Jul 11, 2017
1 parent c237ce0 commit 75f8d2d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion travis/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,13 @@ run-tests-osx-clang: build-osx
run-tests: run-tests-${TRAVIS_OS_NAME}-${CC}


install_patchelf:
mkdir -p patchelf
cd patchelf/ && wget https://github.com/NixOS/patchelf/archive/0.9.tar.gz
cd patchelf && tar -xf *.tar.gz
cd patchelf/patchelf-0.9 && ./bootstrap.sh && ./configure
cd patchelf/patchelf-0.9 && make && sudo make install

prepare_osx_clang:

prepare_osx_gcc:
Expand All @@ -120,7 +127,7 @@ prepare_osx:
brew install python3
brew install bash

prepare_linux:
prepare_linux: install_patchelf
sudo sh -c "echo 0 > /proc/sys/kernel/yama/ptrace_scope"
sudo add-apt-repository ppa:jonlar/crpcut -y
sudo apt-get update -q
Expand Down

0 comments on commit 75f8d2d

Please sign in to comment.