{% set version = "0.2.18" %}

package:
  name: openblas
  version: {{ version }}

source:
  fn: openblas-{{ version }}.tar.gz
  url: https://github.com/xianyi/OpenBLAS/archive/v{{ version }}.tar.gz
  md5: 805e7f660877d588ea7e3792cda2ee65

build:
  number: 0
  track_features:
    - vc9     # [win and py27]
    - vc10    # [win and py34]
    - vc14    # [win and py35]

requirements:
  build:
    - python    # [win]
    - perl      # [win]
    - gcc       # [unix]
    - binutils  # [linux]

  run:
    - libgcc    # [unix]

test:
  commands:
    - test -f ${PREFIX}/lib/libopenblas.a                            # [unix]
    - test -f ${PREFIX}/lib/libopenblas.so                           # [linux]
    - test -f ${PREFIX}/lib/libopenblas.dylib                        # [osx]
    - if not exist %PREFIX%\\Library\\lib\\libopenblas.lib exit 1    # [win]

about:
  home: http://www.openblas.net/
  license: BSD 3-Clause
  summary: An optimized BLAS library based on GotoBLAS2 1.13 BSD version.

extra:
  recipe-maintainers:
    - gillins
    - jakirkham

{% set version = "0.2.18" %}

package:
  name: openblas
  version: {{ version }}

source:
  fn: openblas-{{ version }}.tar.gz
  url: https://github.com/xianyi/OpenBLAS/archive/v{{ version }}.tar.gz
  md5: 805e7f660877d588ea7e3792cda2ee65

build:
  number: 0
  track_features:
    - vc9     # [win and py27]
    - vc10    # [win and py34]
    - vc14    # [win and py35]

requirements:
  build:
    - python    # [win]
    - perl      # [win]
    - gcc       # [unix]
    - binutils  # [linux]

  run:
    - libgcc    # [unix]

test:
  commands:
    - test -f ${PREFIX}/lib/libopenblas.a                            # [unix]
    - test -f ${PREFIX}/lib/libopenblas.so                           # [linux]
    - test -f ${PREFIX}/lib/libopenblas.dylib                        # [osx]
    - if not exist %PREFIX%\\Library\\lib\\libopenblas.lib exit 1    # [win]

about:
  home: http://www.openblas.net/
  license: BSD 3-Clause
  summary: An optimized BLAS library based on GotoBLAS2 1.13 BSD version.

extra:
  recipe-maintainers:
    - gillins
    - groutr
    - jakirkham

Add @groutr as a maintainer.
openblas: Add @groutr as a maintainer.
