-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #218 from jchodera/master
Update pymbar-dev builds with newer devtools framework
- Loading branch information
Showing
4 changed files
with
35 additions
and
24 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
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,20 +1,23 @@ | ||
#!/bin/bash | ||
# Temporarily change directory to $HOME to install software | ||
pushd . | ||
cd $HOME | ||
|
||
# Install Miniconda | ||
cd $HOME | ||
MINICONDA=Miniconda-latest-Linux-x86_64.sh | ||
MINICONDA_HOME=$HOME/miniconda | ||
MINICONDA_MD5=$(curl -s http://repo.continuum.io/miniconda/ | grep -A3 $MINICONDA | sed -n '4p' | sed -n 's/ *<td>\(.*\)<\/td> */\1/p') | ||
wget http://repo.continuum.io/miniconda/$MINICONDA | ||
wget -q http://repo.continuum.io/miniconda/$MINICONDA | ||
if [[ $MINICONDA_MD5 != $(md5sum $MINICONDA | cut -d ' ' -f 1) ]]; then | ||
echo "Miniconda MD5 mismatch" | ||
exit 1 | ||
fi | ||
bash $MINICONDA -b -p miniconda | ||
bash $MINICONDA -b -p $MINICONDA_HOME | ||
|
||
# Configure miniconda | ||
export PATH=$HOME/miniconda/bin:$PATH | ||
export PIP_ARGS="-U" | ||
export PATH=$MINICONDA_HOME/bin:$PATH | ||
conda update --yes conda | ||
conda install --yes conda-build jinja2 anaconda-client pip | ||
conda config --add channels omnia | ||
|
||
popd | ||
# Restore original directory | ||
popd |
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