# This file created by conda-build 24.1.2
# meta.yaml template originally from:
# /feedstock/recipe, last modified Mon Jan 27 15:05:19 2025
# ------------------------------------------------

package:
  name: gmp
  version: 6.3.0
source:
  patches: null
  sha256: a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898
  url: https://gmplib.org/download/gmp/gmp-6.3.0.tar.xz
build:
  number: '0'
  run_exports:
    - gmp >=6.3.0,<7.0a0
  script_env: null
  string: h6a678d5_0
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_1
    - gcc_impl_linux-64 11.2.0 h1234567_1
    - gcc_linux-64 11.2.0 h5c386dc_1
    - gnuconfig 2021.05.24 hd3eb1b0_0
    - gxx_impl_linux-64 11.2.0 h1234567_1
    - gxx_linux-64 11.2.0 hc2dff05_1
    - kernel-headers_linux-64 3.10.0 h57e8cba_10
    - ld_impl_linux-64 2.40 h12ee557_0
    - libgcc-devel_linux-64 11.2.0 h1234567_1
    - libgcc-ng 11.2.0 h1234567_1
    - libgomp 11.2.0 h1234567_1
    - libstdcxx-devel_linux-64 11.2.0 h1234567_1
    - libstdcxx-ng 11.2.0 h1234567_1
    - m4 1.4.18 h4e445db_0
    - make 4.2.1 h1bed415_1
    - sysroot_linux-64 2.17 h57e8cba_10
  host:
    - _libgcc_mutex 0.1 main
    - _openmp_mutex 5.1 1_gnu
    - libgcc-ng 11.2.0 h1234567_1
    - libgomp 11.2.0 h1234567_1
    - libstdcxx-ng 11.2.0 h1234567_1
  run:
    - libgcc-ng >=11.2.0
    - libstdcxx-ng >=11.2.0
  run_constrained: []
test:
  commands:
    - test -f ${PREFIX}/lib/libgmp.so.10 || (echo "Failed to find libgmp.so.10" &&
      exit 1)
    - test -f ${PREFIX}/lib/libgmpxx.so.4 || (echo "Failed to find libgmpxx.so.4"
      && exit 2)
    - test -f ${PREFIX}/lib/libgmp.so || (echo "Failed to find libgmp.so" && exit
      3)
    - test -f ${PREFIX}/lib/libgmpxx.so || (echo "Failed to find libgmpxx.so" && exit
      4)
    - test -f ${PREFIX}/lib/libgmp.a || (echo "Failed to find libgmp.a" && exit 5)
    - test -f ${PREFIX}/lib/libgmpxx.a || (echo "Failed to find libgmp.a" && exit
      6)
    - eval "${CC} -I ${PREFIX}/include -L ${PREFIX}/lib test.c -lgmp -Wl,-rpath,${PREFIX}/lib
      -o test.out"
    - ./test.out
  files:
    - test.c
  requires:
    - gcc_linux-64 11.2.0.*
about:
  description: GMP is a free library for arbitrary precision arithmetic, operating
    on signed integers, rational numbers, and floating-point numbers. There is no
    practical limit to the precision except the ones implied by the available memory
    in the machine GMP runs on. GMP has a rich set of functions, and the functions
    have a regular interface.
  dev_url: https://gmplib.org/repo/gmp/
  doc_url: https://gmplib.org/manual/
  home: https://gmplib.org/
  license: GPL-2.0-or-later AND LGPL-3.0-or-later
  license_family: GPL
  license_file: COPYING.LESSERv3
  summary: The GNU multiprecision library.
extra:
  copy_test_source_files: true
  final: true
  flow_run_id: 04a11161-f635-4be3-8413-e620ef8730be
  recipe-maintainers:
    - asmeurer
    - isuruf
    - jakirkham
  remote_url: git@github.com:AnacondaRecipes/gmp-feedstock.git
  sha: dd1db67a60ba20b2969d40d935f5de8651b78866
  skip-lints:
    - invalid_url
