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

package:
  name: libgcc
  version: 15.2.0
source:
  - 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
    sha256: 7294d65cc1a0558cb815af0ca8c7763d86f7a31199794ede3f630c0d1b0a5723
    url:
      - https://ftp.gnu.org/gnu/gcc/gcc-15.2.0/gcc-15.2.0.tar.gz
      - https://mirrors.ocf.berkeley.edu/gnu/gcc/gcc-15.2.0/gcc-15.2.0.tar.gz
build:
  detect_binary_files_with_prefix: false
  missing_dso_whitelist:
    - '*'
  number: 7
  overlinking_ignore_patterns:
    - lib/libgcc_s.so.*
  rpaths_patcher: patchelf
  string: h69a1729_7
requirements:
  host:
    - _openmp_mutex 4.5 3_gnu
    - kernel-headers_linux-64 4.18.0 h528b178_0
    - libgomp 15.2.0 h4751f2c_7
    - sysroot_linux-64 2.28 h528b178_0
    - tzdata 2025b h04d1e81_0
  run:
    - __glibc >=2.28,<3.0.a0
    - _openmp_mutex >=4.5
  run_constrained:
    - libgcc-ng ==15.2.0=*_7
    - libgomp 15.2.0 h4751f2c_7
test:
  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"
  requires:
    - sysroot_linux-64
about:
  home: https://gcc.gnu.org/onlinedocs/gccint/Libgcc.html
  license: GPL-3.0-only WITH GCC-exception-3.1
  summary: The GCC low-level runtime library
extra:
  copy_test_source_files: true
  feedstock-name: ctng-compilers-feedstock
  final: true
  recipe-maintainers:
    - beckermr
    - isuruf
    - timsnyder
    - xhochy
