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

package:
  name: libgcc
  version: 15.1.0
source:
  - url:
      - https://ftp.gnu.org/gnu/gcc/gcc-15.1.0/gcc-15.1.0.tar.gz
      - https://mirrors.ocf.berkeley.edu/gnu/gcc/gcc-15.1.0/gcc-15.1.0.tar.gz
    sha256: 51b9919ea69c980d7a381db95d4be27edf73b21254eb13d752a08003b4d013b1
    patches:
      - patches/0001-allow-commands-in-main-specfile.patch
      - patches/0002-patch-zoneinfo_dir_override-to-point-to-our-tzdata.patch
      - patches/0003-add-ldl-to-libstdc___la_LDFLAGS.patch
      - patches/0004-Hardcode-HAVE_ALIGNED_ALLOC-1-in-libstdc-v3-configur.patch
build:
  number: 5
  detect_binary_files_with_prefix: false
  missing_dso_whitelist:
    - '*'
  rpaths_patcher: patchelf
  string: h767d61c_5
requirements:
  host:
    - _openmp_mutex 4.5 3_gnu
    - kernel-headers_linux-64 3.10.0 he581ecd_18
    - libgomp 15.1.0 h767d61c_5
    - sysroot_linux-64 2.17 hb09d241_18
    - tzdata 2025b h78e105d_0
  run:
    - __glibc >=2.17,<3.0.a0
    - _openmp_mutex >=4.5
  run_constrained:
    - libgcc-ng ==15.1.0=*_5
    - libgomp 15.1.0 h767d61c_5
test:
  requires:
    - sysroot_linux-64
  commands:
    - test -f ${PREFIX}/lib/libgcc_s.so
    - test -f ${PREFIX}/lib/libgomp.so.1
    - test `readlink ${PREFIX}/lib/libgomp.so.1` == "libgomp.so.1.0.0"
about:
  summary: The GCC low-level runtime library
  home: https://gcc.gnu.org/onlinedocs/gccint/Libgcc.html
  license: GPL-3.0-only WITH GCC-exception-3.1
extra:
  feedstock-name: ctng-compilers-feedstock
  recipe-maintainers:
    - beckermr
    - isuruf
    - timsnyder
    - xhochy
  final: true
  copy_test_source_files: true
  flow_run_id: azure_20250904.3.1
  remote_url: https://github.com/conda-forge/ctng-compilers-feedstock
  sha: f9d302fdc80dddae45357b881b7406dce0bc52a5
