Why not use a when class that checks for the presence of a parameter like
compiler=gcc for now?


On Tue, Jan 14, 2014 at 5:42 PM, Ondřej Čertík <notifications@github.com>wrote:

> In pkgs/lapack.yaml:
>
> > @@ -0,0 +1,23 @@
> > +extends: [cmake_package]
> > +dependencies:
> > +  build: [python, cython, numpy]
> > +  run: [python, numpy]
> > +
> > +sources:
> > +- url: http://www.netlib.org/lapack/lapack-3.4.2.tgz
> > +  key: tar.gz:mctf3kxrn3brka2gowkcmgfcemcsd2t2
> > +
> > +build_stages:
> > +- name: configure
> > +  extra: ['-D CMAKE_BUILD_TYPE:STRING=Release',
> > +          '-D CMAKE_Fortran_FLAGS_RELEASE:STRING="-O3 -fPIC -march=native -ffast-math -funroll-loops"',
>
> Ok. Let me comment out the line, so that we can merge this. I will simply
> uncomment it for my builds for now, until this gets resolved robustly.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/hashdist/hashstack2/pull/104/files#r8879751>
> .
>