Skip to content

Commit

Permalink
Travis: Testing in-source build of clang tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhargava Shastry committed Apr 5, 2017
1 parent e7139e8 commit 4a4b726
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ before_install:
- pip install pytest pytest-cov
- sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.8 50
- sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.8 50
- sudo add-apt-repository -y ppa:george-edison55/cmake-3.x
- sudo apt-get update -q
- sudo apt-get install -y cmake

install: ./install_deps.sh

Expand Down
6 changes: 3 additions & 3 deletions install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ echo -e "\t[+] Installing clang-sdict to /usr/local/bin"
echo -e "\t[+] Install bear v2.1.5"
wget https://launchpadlibrarian.net/240291131/bear_2.1.5.orig.tar.gz && tar xzf bear_2.1.5.orig.tar.gz && rm bear_2.1.5.orig.tar.gz
mkdir Bear-2.1.5.build && cd Bear-2.1.5.build && cmake ../Bear-2.1.5 && make -j all && sudo make install && cd .. && rm -rf Bear-2.1.5 Bear-2.1.5.build
echo -e "\t[+] Install cmake v3.2"
wget http://www.cmake.org/files/v3.2/cmake-3.2.2.tar.gz && tar xf cmake-3.2.2.tar.gz && cd cmake-3.2.2
./configure && make -j && sudo make install && cd .. && rm cmake-3.2.2.tar.gz
#echo -e "\t[+] Install cmake v3.2"
#wget http://www.cmake.org/files/v3.2/cmake-3.2.2.tar.gz && tar xf cmake-3.2.2.tar.gz && cd cmake-3.2.2
#./configure && make -j && sudo make install && cd .. && rm cmake-3.2.2.tar.gz
echo -e "\t[+] Install clang tooling infrastructure"
git clone [email protected]:test-pipeline/clang.git && cd clang/tools/clang-sdict git clone [email protected]:test-pipeline/clang-ginfer.git
cd ../../../ && mkdir build-clang && cd build-clang && cmake ../clang && ninja

0 comments on commit 4a4b726

Please sign in to comment.