-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
No changes to the KAT tools themselves. This release focuses on making an improved build process. User's now have the option of disabling plotting completely, and requesting whether to link to boost in dynamic mode. We also ensure that KAT only links to python3 rather than python2 if python2 is the default python installation on the system.
- Loading branch information
Showing
20 changed files
with
272 additions
and
543 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/.install.sh.swp |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,54 @@ | ||
#!/bin/bash | ||
|
||
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then | ||
# Install boost -- looks like boost 1.55.0_2 is already installed with brew | ||
#brew install boost | ||
|
||
# Install boost -- looks like boost 1.55.0_2 is already installed with brew | ||
#brew install boost | ||
|
||
|
||
# install anaconda | ||
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh; | ||
bash miniconda.sh -b -p $HOME/miniconda; | ||
export PATH="$HOME/miniconda/bin:$PATH"; | ||
hash -r; | ||
conda config --set always_yes yes --set changeps1 no; | ||
conda update -q conda; | ||
conda info -a | ||
conda create -q -n test-environment python=3.5 anaconda; | ||
# install anaconda | ||
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh; | ||
bash miniconda.sh -b -p $HOME/miniconda; | ||
export PATH="$HOME/miniconda/bin:$PATH"; | ||
hash -r; | ||
conda config --set always_yes yes --set changeps1 no; | ||
conda update -q conda; | ||
conda info -a | ||
conda create -q -n test-environment python=3.5 anaconda; | ||
|
||
else | ||
|
||
# Boost installation | ||
wget -q http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz/download | ||
mv download boost.tar.gz | ||
tar -xf boost.tar.gz | ||
cd boost_1_59_0 | ||
sudo ./bootstrap.sh --with-libraries=chrono,timer,program_options,filesystem,system | ||
if [[ "$COMPILER" == "GCC5" ]]; then | ||
sudo ./b2 -d0 --toolset=gcc-5 install; | ||
else | ||
sudo ./b2 -d0 --toolset=gcc-4.9 install; | ||
fi | ||
cd .. | ||
|
||
|
||
# Plotting installation | ||
if [[ "$PLOT" == "python" ]]; then | ||
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; | ||
bash miniconda.sh -b -p $HOME/miniconda; | ||
export PATH="$HOME/miniconda/bin:$PATH"; | ||
hash -r; | ||
conda config --set always_yes yes --set changeps1 no; | ||
conda update -q conda; | ||
conda info -a | ||
conda create -q -n test-environment python=3.5 anaconda; | ||
elif [ "$PLOT" == "gnuplot" ]; then | ||
sudo apt-get install gnuplot | ||
gnuplot --version; | ||
fi | ||
# Boost installation | ||
wget -q http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz/download | ||
mv download boost.tar.gz | ||
tar -xf boost.tar.gz | ||
cd boost_1_59_0 | ||
sudo ./bootstrap.sh --with-libraries=chrono,timer,program_options,filesystem,system | ||
if [[ "$COMPILER" == "GCC5" ]]; then | ||
export CXX="g++-5" | ||
export CC="gcc-5" | ||
sudo ./b2 -d0 --toolset=gcc-5 install; | ||
else | ||
export CXX="g++-4.9" | ||
export CC="gcc-4.9" | ||
sudo ./b2 -d0 --toolset=gcc-4.9 install; | ||
fi | ||
cd .. | ||
|
||
|
||
# Plotting installation | ||
if [[ "$PLOT" == "python" ]]; then | ||
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; | ||
bash miniconda.sh -b -p $HOME/miniconda; | ||
export PATH="$HOME/miniconda/bin:$PATH"; | ||
hash -r; | ||
conda config --set always_yes yes --set changeps1 no; | ||
conda update -q conda; | ||
conda info -a | ||
conda create -q -n test-environment python=3.5 anaconda; | ||
elif [ "$PLOT" == "gnuplot" ]; then | ||
sudo apt-get install gnuplot | ||
gnuplot --version; | ||
fi | ||
|
||
fi | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,4 @@ | |
/multi_file_fail_cmds | ||
/bloom_counter_commands | ||
*.timing | ||
merge_m40* |
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
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
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
Oops, something went wrong.