Add OpenMM package.

@dagss - what do you think?

On Friday, November 21, 2014, Chris Kees <notifications@github.com> wrote:

> In pkgs/openmm.yaml:
>
> > +- key: tar.gz:ptxuz5m2urk5vmurmi36vyhgl6ldoedj
> > +  url: https://github.com/pandegroup/openmm/archive/6.2beta1.tar.gz
> > +
> > +# just build the cpu platform for now...
> > +build_stages:
> > +- name: configure
> > +  extra: ['-DOPENMM_BUILD_CUDA_LIB=OFF', '-DOPENMM_BUILD_OPENCL_LIB=OFF']
> > +
> > +- name: install-python-openmm
> > +  after: make
> > +  handler: bash
> > +  bash: |
> > +    cd python
> > +    export OPENMM_INCLUDE_PATH=${ARTIFACT}/include
> > +    export OPENMM_LIB_PATH=${ARTIFACT}/lib
> > +    ${PYTHON} setup.py install --prefix=. --root=${ARTIFACT}
>
> That seems like a hashdist issue. The limitation may be accurate for now
> since cmake_package and distutils_package both extende base_package. For a
> work around you may just want to eliminate one of the dependencies and cut
> and past what you need from the omitted one. Those files are in
> hashstack/base.
> … <#149d4e2b0eb606b6_>
> -Chris
> On Fri, Nov 21, 2014 at 5:51 PM, Matthew Emmett <notifications@github.com
> <javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote: In
> pkgs/openmm.yaml: > +- key: tar.gz:ptxuz5m2urk5vmurmi36vyhgl6ldoedj > +
> url: https://github.com/pandegroup/openmm/archive/6.2beta1.tar.gz > + >
> +# just build the cpu platform for now... > +build_stages: > +- name:
> configure > + extra: ['-DOPENMM_BUILD_CUDA_LIB=OFF',
> '-DOPENMM_BUILD_OPENCL_LIB=OFF'] > + > +- name: install-python-openmm > +
> after: make > + handler: bash > + bash: | > + cd python > + export
> OPENMM_INCLUDE_PATH=${ARTIFACT}/include > + export
> OPENMM_LIB_PATH=${ARTIFACT}/lib > + ${PYTHON} setup.py install --prefix=.
> --root=${ARTIFACT} If I put extends: [cmake_package, distutils_package]
> then I get [CRITICAL] /home/memmett/projects/hashstack/pkgs/openmm.yaml,
> line 1: Diamond-pattern inheritance not yet supported, package
> "distutils_package" shows up twice when traversing parents Any suggestions?
> — Reply to this email directly or view it on GitHub <
> https://github.com/hashdist/hashstack/pull/508/files#r20750345>.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/hashdist/hashstack/pull/508/files#r20751435>.
>