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

package:
  name: libabseil
  version: '20230802.1'
source:
  patches:
    - patches/0001-patch-out-the-build-issue-on-clang4-osx.patch
    - patches/0002-remove-ignore-4221-from-ABSL_MSVC_LINKOPTS.patch
    - patches/0003-add-missing-osx-workaround.patch
    - patches/0004-default-dll-import-for-windows.patch
  sha256: 987ce98f02eefbaf930d6e38ab16aa05737234d7afbab2d5c4ea7adbe50c28ed
  url: https://github.com/abseil/abseil-cpp/archive/refs/tags/20230802.1.tar.gz
build:
  number: 0
  run_exports:
    - libabseil =*=cxx17*
    - libabseil >=20230802.1,<20230803.0a0
  string: cxx17_h59595ed_0
requirements:
  build:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - binutils_impl_linux-64 2.40 hf600244_0
    - binutils_linux-64 2.40 hbdbef99_2
    - bzip2 1.0.8 h7f98852_4
    - c-ares 1.19.1 hd590300_0
    - ca-certificates 2023.7.22 hbcca054_0
    - cmake 3.27.5 hcfe8598_0
    - gcc_impl_linux-64 12.3.0 he2b93b0_1
    - gcc_linux-64 12.3.0 h76fc315_2
    - gxx_impl_linux-64 12.3.0 he2b93b0_1
    - gxx_linux-64 12.3.0 h8a814eb_2
    - kernel-headers_linux-64 2.6.32 he073ed8_16
    - keyutils 1.6.1 h166bdaf_0
    - krb5 1.21.2 h659d440_0
    - ld_impl_linux-64 2.40 h41732ed_0
    - libcurl 8.3.0 hca28451_0
    - libedit 3.1.20191231 he28a2e2_2
    - libev 4.33 h516909a_1
    - libexpat 2.5.0 hcb278e6_1
    - libgcc-devel_linux-64 12.3.0 h8bca6fd_1
    - libgcc-ng 13.2.0 h807b86a_1
    - libgomp 13.2.0 h807b86a_1
    - libnghttp2 1.52.0 h61bc06f_0
    - libsanitizer 12.3.0 h0f45ef3_1
    - libssh2 1.11.0 h0841786_0
    - libstdcxx-devel_linux-64 12.3.0 h8bca6fd_1
    - libstdcxx-ng 13.2.0 h7e041cc_1
    - libuv 1.46.0 hd590300_0
    - libzlib 1.2.13 hd590300_5
    - ncurses 6.4 hcb278e6_0
    - ninja 1.11.1 h924138e_0
    - openssl 3.1.2 hd590300_0
    - rhash 1.4.4 hd590300_0
    - sysroot_linux-64 2.12 he073ed8_16
    - xz 5.2.6 h166bdaf_0
    - zstd 1.5.5 hfc55251_0
  host:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - libgcc-ng 13.2.0 h807b86a_1
    - libgomp 13.2.0 h807b86a_1
    - libstdcxx-ng 13.2.0 h7e041cc_1
  run:
    - libgcc-ng >=12
    - libstdcxx-ng >=12
  run_constrained:
    - abseil-cpp =20230802.1
    - libabseil-static =20230802.1=cxx17*
test:
  commands:
    - test -f $PREFIX/lib/libabsl_flags${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_flags.a
    - pkg-config --print-errors --exact-version "20230802" absl_flags
    - test -f $PREFIX/lib/libabsl_flags_commandlineflag${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_flags_commandlineflag.a
    - pkg-config --print-errors --exact-version "20230802" 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 "20230802" 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 "20230802" 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 "20230802" 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 "20230802" 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 "20230802" 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 "20230802" 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 "20230802" absl_flags_usage
    - test -f $PREFIX/lib/libabsl_base${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_base.a
    - pkg-config --print-errors --exact-version "20230802" 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 "20230802" absl_civil_time
    - test -f $PREFIX/lib/libabsl_cord${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_cord.a
    - pkg-config --print-errors --exact-version "20230802" 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 "20230802" 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 "20230802" 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 "20230802" 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 "20230802" 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 "20230802" 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 "20230802" 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 "20230802" 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 "20230802" 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 "20230802" absl_hashtablez_sampler
    - test -f $PREFIX/lib/libabsl_int128${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_int128.a
    - pkg-config --print-errors --exact-version "20230802" 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 "20230802" 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 "20230802" 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 "20230802" 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 "20230802" 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 "20230802" 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 "20230802" 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 "20230802" 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 "20230802" 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 "20230802" absl_spinlock_wait
    - test -f $PREFIX/lib/libabsl_stacktrace${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_stacktrace.a
    - pkg-config --print-errors --exact-version "20230802" absl_stacktrace
    - test -f $PREFIX/lib/libabsl_status${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_status.a
    - pkg-config --print-errors --exact-version "20230802" absl_status
    - test -f $PREFIX/lib/libabsl_statusor${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_statusor.a
    - pkg-config --print-errors --exact-version "20230802" absl_statusor
    - test -f $PREFIX/lib/libabsl_strerror${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_strerror.a
    - pkg-config --print-errors --exact-version "20230802" absl_strerror
    - test -f $PREFIX/lib/libabsl_strings${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_strings.a
    - pkg-config --print-errors --exact-version "20230802" absl_strings
    - test -f $PREFIX/lib/libabsl_symbolize${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_symbolize.a
    - pkg-config --print-errors --exact-version "20230802" absl_symbolize
    - test -f $PREFIX/lib/libabsl_synchronization${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_synchronization.a
    - pkg-config --print-errors --exact-version "20230802" absl_synchronization
    - test -f $PREFIX/lib/libabsl_time${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libabsl_time.a
    - pkg-config --print-errors --exact-version "20230802" 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 "20230802" 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 12.*
    - ninja
    - 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
  recipe-maintainers:
    - bluescarni
    - h-vetinari
    - njzjz
    - xhochy
