# This file created by conda-build 25.1.2
# ------------------------------------------------

package:
  name: gfortran_impl_linux-64
  version: 13.3.0
source:
  - patches:
      - patches/0002-allow-commands-in-main-specfile.patch
      - patches/0005-Hardcode-HAVE_ALIGNED_ALLOC-1-in-libstdc-v3-configur.patch
    sha256: 3a2b10cab86e32358fdac871546d57e2700e9bdb5875ef33fff5b601265b9e32
    url: https://ftp.gnu.org/gnu/gcc/gcc-13.3.0/gcc-13.3.0.tar.gz
build:
  detect_binary_files_with_prefix: false
  ignore_run_exports_from:
    - sysroot_linux-64
  missing_dso_whitelist:
    - '*'
  number: 2
  string: h84c1745_2
requirements:
  host:
    - gcc_impl_linux-64 13.3.0 h1e990d8_2
    - kernel-headers_linux-64 3.10.0 he581ecd_18
    - sysroot_linux-64 2.17 hb09d241_18
    - tzdata 2025a h78e105d_0
  run:
    - gcc_impl_linux-64 >=13.3.0
    - libgcc >=13.3.0
    - libgfortran5 >=13.3.0
    - libstdcxx >=13.3.0
    - sysroot_linux-64
test:
  commands:
    - test -f ${PREFIX}/x86_64-conda-linux-gnu/lib/libgfortran.so
    - test -f ${PREFIX}/x86_64-conda-linux-gnu/lib/libgfortran.a
    - test -f ${PREFIX}/bin/x86_64-conda-linux-gnu-gfortran
    - find $PREFIX/lib -iname omp_lib.mod | grep '.'
    - find $PREFIX/lib -iname omp_lib.h | grep '.'
    - find $PREFIX/lib -iname ISO_Fortran_binding.h | grep '.'
    - echo 13
    - pushd tests/fortomp
    - sh test_fort.sh
  files:
    - tests/fortomp/*
  requires:
    - cmake >=3.11
    - sysroot_linux-64 2.17.*
about:
  home: https://gcc.gnu.org/
  license: GPL-3.0-only WITH GCC-exception-3.1
  summary: GNU Fortran Compiler
extra:
  copy_test_source_files: true
  feedstock-name: ctng-compilers-feedstock
  final: true
  flow_run_id: azure_20250222.1.1
  recipe-maintainers:
    - beckermr
    - isuruf
    - timsnyder
    - xhochy
  remote_url: https://github.com/conda-forge/ctng-compilers-feedstock
  sha: 8da70a056deac8170bd5fbdf93af535dc03c302b
