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

package:
  name: libabseil
  version: '20240116.2'
source:
  patches:
    - patches/0001-default-dll-import-for-windows.patch
    - patches/0002-don-t-use-C-20-stdlib-features-which-change-ABI-comp.patch
    - patches/0003-unconditionally-export-Mutex-Destructor.patch
  sha256: 733726b8c3a6d39a4120d7e45ea8b41a434cdacde401cba500f14236c49b39dc
  url: https://github.com/abseil/abseil-cpp/archive/refs/tags/20240116.2.tar.gz
build:
  number: 0
  run_exports:
    - libabseil =*=cxx17*
    - libabseil >=20240116.2,<20240116.3.0a0
  string: cxx17_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.38 h2a08ee3_1
    - binutils_linux-64 2.38.0 hc2dff05_0
    - bzip2 1.0.8 h5eee18b_6
    - c-ares 1.19.1 h5eee18b_0
    - ca-certificates 2024.3.11 h06a4308_0
    - cmake 3.26.4 h96355d8_0
    - expat 2.6.2 h6a678d5_0
    - gcc_impl_linux-64 11.2.0 h1234567_1
    - gcc_linux-64 11.2.0 h5c386dc_0
    - gxx_impl_linux-64 11.2.0 h1234567_1
    - gxx_linux-64 11.2.0 hc2dff05_0
    - kernel-headers_linux-64 3.10.0 h57e8cba_10
    - krb5 1.20.1 h143b758_1
    - ld_impl_linux-64 2.38 h1181459_1
    - libcurl 8.7.1 h251f7ec_0
    - libedit 3.1.20230828 h5eee18b_0
    - libev 4.33 h7f8727e_1
    - libgcc-devel_linux-64 11.2.0 h1234567_1
    - libgcc-ng 11.2.0 h1234567_1
    - libgomp 11.2.0 h1234567_1
    - libnghttp2 1.57.0 h2d74bed_0
    - libssh2 1.11.0 h251f7ec_0
    - libstdcxx-devel_linux-64 11.2.0 h1234567_1
    - libstdcxx-ng 11.2.0 h1234567_1
    - libuv 1.44.2 h5eee18b_0
    - lz4-c 1.9.4 h6a678d5_1
    - ncurses 6.4 h6a678d5_0
    - ninja-base 1.10.2 hd09550d_5
    - openssl 3.0.13 h7f8727e_2
    - rhash 1.4.3 hdbd6064_0
    - sysroot_linux-64 2.17 h57e8cba_10
    - xz 5.4.6 h5eee18b_1
    - zlib 1.2.13 h5eee18b_1
    - zstd 1.5.5 hc292b87_2
  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:
    - abseil-cpp =20240116.2
    - libabseil-static =20240116.2=cxx17*
test:
  commands:
    - test -f $PREFIX/lib/libabsl_log_flags${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_log_flags.a
    - pkg-config --print-errors --exact-version "20240116" absl_log_flags
    - test -f $PREFIX/lib/libabsl_flags_commandlineflag${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_flags_commandlineflag.a
    - pkg-config --print-errors --exact-version "20240116" absl_flags_commandlineflag
    - test -f $PREFIX/lib/libabsl_flags_config${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_flags_config.a
    - pkg-config --print-errors --exact-version "20240116" absl_flags_config
    - test -f $PREFIX/lib/libabsl_flags_marshalling${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_flags_marshalling.a
    - pkg-config --print-errors --exact-version "20240116" absl_flags_marshalling
    - test -f $PREFIX/lib/libabsl_flags_parse${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_flags_parse.a
    - pkg-config --print-errors --exact-version "20240116" absl_flags_parse
    - test -f $PREFIX/lib/libabsl_flags_private_handle_accessor${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_flags_private_handle_accessor.a
    - pkg-config --print-errors --exact-version "20240116" absl_flags_private_handle_accessor
    - test -f $PREFIX/lib/libabsl_flags_program_name${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_flags_program_name.a
    - pkg-config --print-errors --exact-version "20240116" absl_flags_program_name
    - test -f $PREFIX/lib/libabsl_flags_reflection${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_flags_reflection.a
    - pkg-config --print-errors --exact-version "20240116" absl_flags_reflection
    - test -f $PREFIX/lib/libabsl_flags_usage${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_flags_usage.a
    - pkg-config --print-errors --exact-version "20240116" absl_flags_usage
    - test -f $PREFIX/lib/libabsl_base${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_base.a
    - pkg-config --print-errors --exact-version "20240116" absl_base
    - test -f $PREFIX/lib/libabsl_civil_time${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_civil_time.a
    - pkg-config --print-errors --exact-version "20240116" absl_civil_time
    - test -f $PREFIX/lib/libabsl_cord${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_cord.a
    - pkg-config --print-errors --exact-version "20240116" absl_cord
    - test -f $PREFIX/lib/libabsl_cordz_functions${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_cordz_functions.a
    - pkg-config --print-errors --exact-version "20240116" absl_cordz_functions
    - test -f $PREFIX/lib/libabsl_cordz_handle${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_cordz_handle.a
    - pkg-config --print-errors --exact-version "20240116" absl_cordz_handle
    - test -f $PREFIX/lib/libabsl_cordz_info${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_cordz_info.a
    - pkg-config --print-errors --exact-version "20240116" absl_cordz_info
    - test -f $PREFIX/lib/libabsl_cordz_sample_token${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_cordz_sample_token.a
    - pkg-config --print-errors --exact-version "20240116" absl_cordz_sample_token
    - test -f $PREFIX/lib/libabsl_examine_stack${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_examine_stack.a
    - pkg-config --print-errors --exact-version "20240116" absl_examine_stack
    - test -f $PREFIX/lib/libabsl_exponential_biased${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_exponential_biased.a
    - pkg-config --print-errors --exact-version "20240116" absl_exponential_biased
    - test -f $PREFIX/lib/libabsl_failure_signal_handler${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_failure_signal_handler.a
    - pkg-config --print-errors --exact-version "20240116" absl_failure_signal_handler
    - test -f $PREFIX/lib/libabsl_hash${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_hash.a
    - pkg-config --print-errors --exact-version "20240116" absl_hash
    - test -f $PREFIX/lib/libabsl_hashtablez_sampler${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_hashtablez_sampler.a
    - pkg-config --print-errors --exact-version "20240116" absl_hashtablez_sampler
    - test -f $PREFIX/lib/libabsl_int128${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_int128.a
    - pkg-config --print-errors --exact-version "20240116" absl_int128
    - test -f $PREFIX/lib/libabsl_log_severity${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_log_severity.a
    - pkg-config --print-errors --exact-version "20240116" absl_log_severity
    - test -f $PREFIX/lib/libabsl_low_level_hash${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_low_level_hash.a
    - pkg-config --print-errors --exact-version "20240116" absl_low_level_hash
    - test -f $PREFIX/lib/libabsl_periodic_sampler${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_periodic_sampler.a
    - pkg-config --print-errors --exact-version "20240116" absl_periodic_sampler
    - test -f $PREFIX/lib/libabsl_random_distributions${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_random_distributions.a
    - pkg-config --print-errors --exact-version "20240116" absl_random_distributions
    - test -f $PREFIX/lib/libabsl_random_seed_gen_exception${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_random_seed_gen_exception.a
    - pkg-config --print-errors --exact-version "20240116" absl_random_seed_gen_exception
    - test -f $PREFIX/lib/libabsl_random_seed_sequences${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_random_seed_sequences.a
    - pkg-config --print-errors --exact-version "20240116" absl_random_seed_sequences
    - test -f $PREFIX/lib/libabsl_raw_hash_set${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_raw_hash_set.a
    - pkg-config --print-errors --exact-version "20240116" absl_raw_hash_set
    - test -f $PREFIX/lib/libabsl_scoped_set_env${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_scoped_set_env.a
    - pkg-config --print-errors --exact-version "20240116" absl_scoped_set_env
    - test -f $PREFIX/lib/libabsl_spinlock_wait${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_spinlock_wait.a
    - pkg-config --print-errors --exact-version "20240116" absl_spinlock_wait
    - test -f $PREFIX/lib/libabsl_stacktrace${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_stacktrace.a
    - pkg-config --print-errors --exact-version "20240116" absl_stacktrace
    - test -f $PREFIX/lib/libabsl_status${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_status.a
    - pkg-config --print-errors --exact-version "20240116" absl_status
    - test -f $PREFIX/lib/libabsl_statusor${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_statusor.a
    - pkg-config --print-errors --exact-version "20240116" absl_statusor
    - test -f $PREFIX/lib/libabsl_strerror${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_strerror.a
    - pkg-config --print-errors --exact-version "20240116" absl_strerror
    - test -f $PREFIX/lib/libabsl_strings${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_strings.a
    - pkg-config --print-errors --exact-version "20240116" absl_strings
    - test -f $PREFIX/lib/libabsl_symbolize${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_symbolize.a
    - pkg-config --print-errors --exact-version "20240116" absl_symbolize
    - test -f $PREFIX/lib/libabsl_synchronization${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_synchronization.a
    - pkg-config --print-errors --exact-version "20240116" absl_synchronization
    - test -f $PREFIX/lib/libabsl_time${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_time.a
    - pkg-config --print-errors --exact-version "20240116" absl_time
    - test -f $PREFIX/lib/libabsl_time_zone${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_time_zone.a
    - pkg-config --print-errors --exact-version "20240116" absl_time_zone
    - test ! -f $PREFIX/lib/libabsl_scoped_mock_log${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_scoped_mock_log.a
    - cd cmake_test
    - export CMAKE_ARGS="$CMAKE_ARGS -GNinja -DCMAKE_BUILD_TYPE=Release"
    - cmake $CMAKE_ARGS  -DCMAKE_CXX_STANDARD=17 .
    - cmake --build .
    - ./flags_example
  files:
    - cmake_test/
  requires:
    - cmake
    - gxx_linux-64 11.2.0.*
    - ninja-base
    - pkg-config
about:
  description: 'Abseil is an open-source collection of C++ code (compliant to C++11)

    designed to augment the C++ standard library.

    '
  dev_url: https://github.com/abseil/abseil-cpp
  doc_url: https://github.com/abseil/abseil-cpp
  home: https://github.com/abseil/abseil-cpp
  license: Apache-2.0
  license_family: Apache
  license_file: LICENSE
  summary: Abseil Common Libraries (C++)
extra:
  copy_test_source_files: true
  feedstock-name: abseil-cpp
  final: true
  flow_run_id: ef851a8a-2348-422f-bec5-d506ed06406d
  recipe-maintainers:
    - bluescarni
    - h-vetinari
    - njzjz
    - xhochy
  remote_url: git@github.com:AnacondaRecipes/abseil-cpp-feedstock.git
  sha: ace7acdaf2200210fa408c792240c7393c70c29e
