package:
  name: julia
  version: 0.5.0

source:
  fn: julia-0.5.0-full.tar.gz
  url: https://github.com/JuliaLang/julia/releases/download/v0.5.0/julia-0.5.0-full.tar.gz
  md5: b61385671ba74767ab452363c43131fb
  # from https://s3.amazonaws.com/julialang/bin/checksums/julia-0.5.0.md5

requirements:
  build:
    - python 2.7*
    - pkg-config
    - gcc
    - patchelf
  run:
    - jl-mkl

build:
  string: mkl_1
  features:
    - jl-mkl
  script_env:
    - MKLROOT
  binary_relocation: False
  ignore_prefix_files:
    - lib/julia/libccalltest.so.debug
      # Don't let conda-build try running patchelf on a static file
      # See: https://github.com/conda/conda-build/issues/1411

test:
  files:
    - run_test.jl
  commands:
    - which julia
    - julia --version
    - julia --check-bounds=yes run_test.jl

about:
  home: http://julialang.org
  license_file: LICENSE.md
  summary: Julia compiled with Intel Math Kernel Library (Intel MKL)

package:
  name: julia
  version: 0.5.0

source:
  fn: julia-0.5.0-full.tar.gz
  url: https://github.com/JuliaLang/julia/releases/download/v0.5.0/julia-0.5.0-full.tar.gz
  md5: b61385671ba74767ab452363c43131fb
  # from https://s3.amazonaws.com/julialang/bin/checksums/julia-0.5.0.md5

requirements:
  build:
    - python 2.7*
    - pkg-config
    - gcc
    - patchelf
  run:
    - jl-mkl
    - libgcc

build:
  string: mkl_1
  features:
    - jl-mkl
  script_env:
    - MKLROOT
  binary_relocation: False
  ignore_prefix_files:
    - lib/julia/libccalltest.so.debug
      # Don't let conda-build try running patchelf on a static file
      # See: https://github.com/conda/conda-build/issues/1411

test:
  files:
    - run_test.jl
  commands:
    - which julia
    - julia --version
    - julia --check-bounds=yes run_test.jl

about:
  home: http://julialang.org
  license_file: LICENSE.md
  summary: Julia compiled with Intel Math Kernel Library (Intel MKL)

Add libgcc as run-time requirement
Add libgcc as run-time requirement
