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

package:
  name: gcc_impl_linux-64
  version: 11.2.0
source:
  path: /feedstock/recipe
build:
  binary_relocation:
    - bin/*
    - lib/*.so*
    - libexec/**/*.so*
    - libexec/**/cc1*
    - libexec/**/collect2
    - libexec/**/gcc
    - libexec/**/lto*
    - libexec/**/plugin/gengtype
  detect_binary_files_with_prefix: false
  ignore_run_exports:
    - __glibc
    - libgomp
    - sysroot_linux-64
  missing_dso_whitelist:
    - '*'
  number: 1
  runpath_whitelist:
    - aarch64-conda-linux-gnu/sysroot/lib64/libpthread-2.26.so
    - x86_64-conda-linux-gnu/sysroot/lib/libpthread-2.12.2.so
  string: h1234567_1
requirements:
  host:
    - _sysroot_linux-64_curr_repodata_hack 3 haa98f57_10
    - kernel-headers_linux-64 3.10.0 h57e8cba_10
    - libgcc-ng 11.2.0 h1234567_1
    - libgfortran5 >=11.2.0,<12.0a0
    - libgomp 11.2.0 h1234567_1
    - libstdcxx-ng 11.2.0 h1234567_1
    - sysroot_linux-64 2.17 h57e8cba_10
  run:
    - binutils_impl_linux-64 >=2.38
    - libgcc-devel_linux-64 11.2.0 h1234567_1
    - libgcc-ng >=11.2.0
    - libgcc-ng >=4.9
    - libgomp >=11.2.0
    - libstdcxx-ng >=11.2.0
    - libstdcxx-ng >=4.9
    - sysroot_linux-64
test:
  commands:
    - echo linux-64
    - echo 2.17
    - echo conda
    - echo 3.10.0
    - test -f ${PREFIX}/x86_64-conda-linux-gnu/sysroot/lib/libgomp.so
    - test `readlink ${PREFIX}/x86_64-conda-linux-gnu/sysroot/lib/libgomp.so` == "../../../lib/libgomp.so"
    - test `readlink ${PREFIX}/lib/libgomp.so` == "libgomp.so.1.0.0"
    - test -f ${PREFIX}/bin/x86_64-conda_cos7-linux-gnu-gcc
    - CC=$(${PREFIX}/bin/*-gcc -dumpmachine)-gcc
    - ${CC} -Wall tests/aligned_alloc.c -c -o c_aligned.o -v
    - ${CC} -Wall c_aligned.o -o c_aligned -v && ./c_aligned
  files:
    - tests
  requires:
    - sysroot_linux-64 2.17.*
about:
  home: https://gcc.gnu.org/
  license: GPL-3.0-only WITH GCC-exception-3.1
  summary: GNU C Compiler
extra:
  copy_test_source_files: true
  final: true
  flow_run_id: 37674e30-5ce1-4880-93d5-86ce4d2dd03e
  recipe-maintainers:
    - katietz
  remote_url: git@github.com:AnacondaRecipes/gcc_toolchain-feedstock.git
  sha: 525581cbf9edd348209e0bf8c56be267e86ee969
