Last active
January 27, 2018 18:16
-
-
Save jrfaller/e6f1859795c92a99bcc8ddcff9272628 to your computer and use it in GitHub Desktop.
Compile srcML on travis trusty
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install gcc g++ libxml2-dev libxslt1-dev libarchive-dev antlr libantlr-dev libcurl4-openssl-dev libssl-dev | |
wget https://netix.dl.sourceforge.net/project/boost/boost/1.55.0/boost_1_55_0.tar.gz | |
tar -xvzf boost_1_55_0.tar.gz | |
cd boost_1_55_0 | |
./bootstrap.sh --without-libraries=atomic,chrono,context,coroutine,exception,graph,graph_parallel,iostreams,locale,log,math,mpi,python,random,serialization,signals,test,timer,wave | |
sudo ./b2 link=static cxxflags="-fPIC -static -Wl,--whole-archive" threading=multi install | |
wget http://131.123.42.38/lmcrs/beta/srcML-src.tar.gz | |
tar -xvzf srcML-src.tar.gz | |
cd srcML-src | |
cmake . | |
make | |
cd .. | |
export PATH="$PWD/srcML-src/bin:$PATH" | |
sudo apt-get install ocaml ocaml-native-compilers camlp4 | |
git clone https://github.com/GumTreeDiff/cgum.git --depth 1 | |
cd cgum | |
make | |
export PATH="$PWD/cgum:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment