build_conda_package_vagrant.sh 650 Bytes
Newer Older
kyleabeauchamp's avatar
kyleabeauchamp committed
1
2
3
4
export PATH=$HOME/miniconda/bin:$PATH
export SWIG_LIB=$HOME/miniconda/share/swig/
export CC="clang++"

5
git clone https://github.com/simtk/openmm.git
kyleabeauchamp's avatar
kyleabeauchamp committed
6
cd openmm
7
8
9
10
11
12
13
14
15
16
17
18
19
20
git checkout tags/6.1  # To checkout specific release for packaging. 
conda install --file devtools/ci/requirements-conda.txt --yes

# For CI build:
conda build devtools/conda-recipe

# For release build:
cd ../
git clone https://github.com/omnia-md/conda-recipes.git
conda build conda-recipes/openmm

# To upload the file, do something the following command but with the package version changed:

binstar upload -u omnia /home/vagrant/miniconda/conda-bld/linux-64/openmm-6.1-py27_0.tar.bz2