# This file created by conda-build 24.1.2
# meta.yaml template originally from:
# /feedstock/recipe, last modified Mon Feb 10 22:12:26 2025
# ------------------------------------------------

package:
  name: hdf5
  version: 1.14.5
source:
  sha256: ec2e13c52e60f9a01491bb3158cb3778c985697131fc6a342262d32a26e58e44
  url: https://github.com/HDFGroup/hdf5/releases/download/hdf5_1.14.5/hdf5-1.14.5.tar.gz
build:
  number: '2'
  run_exports:
    - hdf5 >=1.14.5,<1.14.6.0a0
  string: h2b7332f_2
requirements:
  build:
    - _libgcc_mutex 0.1 main
    - _openmp_mutex 5.1 1_gnu
    - _sysroot_linux-64_curr_repodata_hack 3 haa98f57_10
    - binutils_impl_linux-64 2.40 h5293946_0
    - binutils_linux-64 2.40.0 hc2dff05_2
    - bzip2 1.0.8 h5eee18b_6
    - c-ares 1.19.1 h5eee18b_0
    - ca-certificates 2024.12.31 h06a4308_0
    - cmake 3.31.2 h27e300b_0
    - expat 2.6.4 h6a678d5_0
    - gcc_impl_linux-64 11.2.0 h1234567_1
    - gcc_linux-64 11.2.0 h5c386dc_2
    - gfortran_impl_linux-64 11.2.0 h1234567_1
    - gfortran_linux-64 11.2.0 hc2dff05_2
    - gxx_impl_linux-64 11.2.0 h1234567_1
    - gxx_linux-64 11.2.0 hc2dff05_2
    - kernel-headers_linux-64 3.10.0 h57e8cba_10
    - krb5 1.20.1 h143b758_1
    - ld_impl_linux-64 2.40 h12ee557_0
    - libcurl 8.11.1 hc9e6f67_0
    - libedit 3.1.20230828 h5eee18b_0
    - libev 4.33 h7f8727e_1
    - libgcc-devel_linux-64 11.2.0 h1234567_1
    - libgcc-ng 11.2.0 h1234567_1
    - libgfortran5 11.2.0 h1234567_1
    - libgomp 11.2.0 h1234567_1
    - libnghttp2 1.57.0 h2d74bed_0
    - libssh2 1.11.1 h251f7ec_0
    - libstdcxx-devel_linux-64 11.2.0 h1234567_1
    - libstdcxx-ng 11.2.0 h1234567_1
    - libuv 1.48.0 h5eee18b_0
    - lz4-c 1.9.4 h6a678d5_1
    - make 4.2.1 h1bed415_1
    - ncurses 6.4 h6a678d5_0
    - openssl 3.0.15 h5eee18b_0
    - rhash 1.4.3 hdbd6064_0
    - sysroot_linux-64 2.17 h57e8cba_10
    - xz 5.4.6 h5eee18b_1
    - zlib 1.2.13 h5eee18b_1
    - zstd 1.5.6 hc292b87_0
  host:
    - _libgcc_mutex 0.1 main
    - _openmp_mutex 5.1 1_gnu
    - c-ares 1.19.1 h5eee18b_0
    - ca-certificates 2024.12.31 h06a4308_0
    - krb5 1.20.1 h143b758_1
    - libcurl 7.88.1 h251f7ec_2
    - libedit 3.1.20230828 h5eee18b_0
    - libev 4.33 h7f8727e_1
    - libgcc-ng 11.2.0 h1234567_1
    - libgfortran-ng 11.2.0 h00389a5_1
    - libgfortran5 11.2.0 h1234567_1
    - libgomp 11.2.0 h1234567_1
    - libnghttp2 1.57.0 h2d74bed_0
    - libssh2 1.11.1 h251f7ec_0
    - libstdcxx-ng 11.2.0 h1234567_1
    - ncurses 6.4 h6a678d5_0
    - openssl 3.0.15 h5eee18b_0
    - zlib 1.2.13 h5eee18b_1
  run:
    - libcurl >=7.88.1,<8.0a0
    - libgcc-ng >=11.2.0
    - libgfortran-ng
    - libgfortran5 >=11.2.0
    - libstdcxx-ng >=11.2.0
    - openssl 3.*
    - openssl >=3.0.15,<4.0a0
    - zlib >=1.2.13,<1.3.0a0
test:
  commands:
    - command -v h5c++
    - command -v h5cc
    - command -v h5perf_serial
    - command -v h5fc
    - command -v h5copy
    - command -v h5debug
    - command -v h5diff
    - command -v h5dump
    - command -v h5import
    - command -v h5jam
    - command -v h5ls
    - command -v h5mkgrp
    - command -v h5repack
    - command -v h5repart
    - command -v h5stat
    - command -v h5unjam
    - test -f $PREFIX/lib/libhdf5.a
    - test -f $PREFIX/lib/libhdf5.so
    - test -f $PREFIX/lib/libhdf5_cpp.a
    - test -f $PREFIX/lib/libhdf5_cpp.so
    - test -f $PREFIX/lib/libhdf5_hl.a
    - test -f $PREFIX/lib/libhdf5_hl.so
    - test -f $PREFIX/lib/libhdf5_hl_cpp.a
    - test -f $PREFIX/lib/libhdf5_hl_cpp.so
    - echo "Testing h5cc"
    - h5cc -show
    - h5cc h5_cmprss.c -o h5_cmprss
    - export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
    - ./h5_cmprss
    - echo "Testing h5c++"
    - h5c++ -show
    - h5c++ h5tutr_cmprss.cpp -o h5tutr_cmprss
    - ./h5tutr_cmprss
    - echo "Testing h5fc"
    - h5fc -show
    - h5fc h5_cmprss.f90 -o h5_cmprss
    - ./h5_cmprss
    - echo "Testing h5fc for Fortran 2003"
    - h5fc compound_fortran2003.f90 -o compound_fortran2003
    - ./compound_fortran2003
  files:
    - compound_fortran2003.f90
    - h5_cmprss.c
    - h5_cmprss.f90
    - h5tutr_cmprss.cpp
  requires:
    - gcc_linux-64 11.2.0.*
    - gfortran_linux-64 11.2.0.*
    - gxx_linux-64 11.2.0.*
    - pkg-config
about:
  description: 'HDF5 supports an unlimited variety of datatypes, and is designed for

    flexible and efficient I/O and for high volume and complex data.

    '
  dev_url: https://github.com/HDFGroup/hdf5
  doc_url: https://support.hdfgroup.org/documentation/index.html
  home: https://www.hdfgroup.org/solutions/hdf5/
  license: OTHER
  license_family: BSD
  license_file:
    - COPYING
    - COPYING_LBNL_HDF5
  summary: HDF5 is a data model, library, and file format for storing and managing
    data
extra:
  copy_test_source_files: true
  final: true
  flow_run_id: c0f42ffb-ee82-4d52-95dd-eb14d7f84644
  recipe-maintainers:
    - astrofrog
    - gillins
    - groutr
    - jakirkham
    - marqh
    - msarahan
    - ocefpaf
  remote_url: git@github.com:AnacondaRecipes/hdf5-feedstock.git
  sha: b1ecdf425d515b94aef2ad5c78b15eee5114a153
