"platforms/brook/src/BrookIntStreamInternal.h" did not exist on "9b08b9b5b68ecd2f44f50d1a0552cd5aab35a8eb"
prepare.sh 773 Bytes
Newer Older
1
2
3
4
#!/bin/tcsh

# Prepare for build by ensuring necessary prerequisites are locally installed.

5
6
7
# Set relative workspace path.
export WORKSPACE=`pwd`

8
# Install miniconda
9
export VERSION="Latest"
10
11
12
export PLATFORM="MacOSX"
export ARCH="x86_64"
export MINICONDA="Miniconda-$VERSION-$PLATFORM-$ARCH.sh"
13
if [ -f miniconda ];
14
then
15
   echo "miniconda already exists"
16
17
else
   echo "Downloading miniconda..."
18
   rm -rf Miniconda-*
19
   wget --quiet http://repo.continuum.io/miniconda/${MINICONDA}
20
21
22
   bash ${MINICONDA} -b -p miniconda
   PIP_ARGS="-U"
fi
23

24
# Add to path.
25
26
27
28
29
30
export PATH=$WORKSPACE/miniconda/bin:$PATH

# Ensure configuration is up to date.
conda config --add channels http://conda.binstar.org/omnia
conda install --yes --quiet swig fftw3f pip
pip install sphinxcontrib-bibtex