From ce49e3f52eea81f80d76b1a1ecae6cccccd3fe44 Mon Sep 17 00:00:00 2001 From: Vertexwahn Date: Fri, 3 May 2024 20:39:05 +0200 Subject: [PATCH] Remove rules_boost GitOrigin-RevId: b589c10882959b9502c232faca247e1dad09f805 --- .../rules_boost/.bazelci/presubmit.yml | 48 - third_party/rules_boost/.circleci/config.yml | 21 - third_party/rules_boost/.gitignore | 2 - third_party/rules_boost/BUILD.bazel | 11 - third_party/rules_boost/CODE_OF_CONDUCT.md | 93 - third_party/rules_boost/LICENSE | 201 -- third_party/rules_boost/README.md | 70 - third_party/rules_boost/WORKSPACE.bazel | 1 - third_party/rules_boost/boost.BUILD | 2662 ----------------- third_party/rules_boost/boost/boost.bzl | 174 -- third_party/rules_boost/bzip2.BUILD | 39 - third_party/rules_boost/config.lzma-android.h | 501 ---- .../rules_boost/config.lzma-ios-arm64.h | 602 ---- .../rules_boost/config.lzma-ios-armv7.h | 602 ---- .../rules_boost/config.lzma-ios-i386.h | 602 ---- .../rules_boost/config.lzma-linux-aarch64.h | 604 ---- third_party/rules_boost/config.lzma-linux.h | 608 ---- .../rules_boost/config.lzma-osx-arm64.h | 602 ---- .../rules_boost/config.lzma-osx-x86_64.h | 602 ---- third_party/rules_boost/config.lzma-windows.h | 502 ---- third_party/rules_boost/lzma.BUILD | 121 - third_party/rules_boost/renovate.json5 | 38 - third_party/rules_boost/src/BUILD.bazel | 5 - third_party/rules_boost/src/build_asio.cpp | 7 - .../rules_boost/src/build_asio_ssl.cpp | 1 - third_party/rules_boost/src/build_beast.cpp | 2 - third_party/rules_boost/test/.bazelrc | 24 - third_party/rules_boost/test/.bazelrc.ci | 8 - third_party/rules_boost/test/.gitignore | 1 - third_party/rules_boost/test/BUILD.bazel | 692 ----- third_party/rules_boost/test/WORKSPACE.bazel | 19 - .../rules_boost/test/accumulators_test.cc | 19 - third_party/rules_boost/test/any_test.cc | 13 - third_party/rules_boost/test/array_test.cc | 7 - third_party/rules_boost/test/asio_ssl_test.cc | 144 - third_party/rules_boost/test/asio_test.cc | 27 - third_party/rules_boost/test/assign_test.cc | 11 - third_party/rules_boost/test/beast_test.cc | 78 - third_party/rules_boost/test/bimap_test.cc | 21 - third_party/rules_boost/test/bind_test.cc | 15 - .../rules_boost/test/callable_traits_test.cc | 49 - .../rules_boost/test/circular_buffer_test.cc | 13 - .../rules_boost/test/container_hash_test.cc | 6 - .../rules_boost/test/container_test.cc | 10 - third_party/rules_boost/test/context_test.cc | 33 - .../rules_boost/test/coroutine2_test.cc | 6 - .../rules_boost/test/coroutine_test.cc | 6 - third_party/rules_boost/test/crc_test.cc | 5 - .../rules_boost/test/date_time_test.cc | 8 - .../rules_boost/test/dynamic_bitset_test.cc | 7 - third_party/rules_boost/test/endian.cc | 64 - .../rules_boost/test/exception_test.cc | 14 - third_party/rules_boost/test/fiber_test.cc | 36 - .../rules_boost/test/filesystem_test.cc | 9 - .../rules_boost/test/flyweight_test.cc | 14 - third_party/rules_boost/test/foreach_test.cc | 15 - third_party/rules_boost/test/format_test.cc | 10 - third_party/rules_boost/test/fusion_test.cc | 15 - third_party/rules_boost/test/geometry_test.cc | 26 - third_party/rules_boost/test/gil_test.cc | 34 - third_party/rules_boost/test/graph_test.cc | 13 - third_party/rules_boost/test/hana_test.cc | 12 - .../rules_boost/test/histogram_test.cc | 32 - third_party/rules_boost/test/icl_test.cc | 30 - third_party/rules_boost/test/integer_test.cc | 5 - .../rules_boost/test/interprocess_test.cc | 13 - .../rules_boost/test/iostreams_test.cc | 73 - third_party/rules_boost/test/json_test.cc | 6 - third_party/rules_boost/test/leaf_test.cc | 15 - third_party/rules_boost/test/locale_test.cc | 15 - third_party/rules_boost/test/lockfree_test.cc | 7 - third_party/rules_boost/test/log_test.cc | 48 - third_party/rules_boost/test/mp11_test.cc | 34 - third_party/rules_boost/test/msm_test.cc | 6 - .../rules_boost/test/multiprecision_test.cc | 12 - third_party/rules_boost/test/nowide_test.cc | 22 - .../test/numeric_conversion_test.cc | 13 - .../rules_boost/test/numeric_odeint_test.cc | 25 - third_party/rules_boost/test/optional_test.cc | 7 - third_party/rules_boost/test/pfr_test.cc | 11 - .../rules_boost/test/poly_collection_test.cc | 15 - third_party/rules_boost/test/process_test.cc | 28 - .../rules_boost/test/program_options_test.cc | 24 - .../rules_boost/test/property_tree_test.cc | 14 - .../rules_boost/test/ptr_container_test.cc | 36 - third_party/rules_boost/test/qvm_test.cc | 8 - third_party/rules_boost/test/random_test.cc | 14 - third_party/rules_boost/test/rational_test.cc | 11 - .../rules_boost/test/scope_exit_test.cc | 21 - third_party/rules_boost/test/signals2_test.cc | 31 - .../rules_boost/test/smart_ptr_test.cc | 8 - third_party/rules_boost/test/spirit_test.cc | 19 - .../rules_boost/test/stacktrace_test.cc | 7 - .../rules_boost/test/static_string_test.cc | 7 - .../rules_boost/test/stl_interfaces_test.cc | 51 - .../rules_boost/test/test_dynamic_test.cc | 7 - .../rules_boost/test/test_included_test.cc | 7 - .../rules_boost/test/test_static_test.cc | 7 - third_party/rules_boost/test/thread_test.cc | 12 - .../rules_boost/test/throw_exception_test.cc | 12 - .../rules_boost/test/tokenizer_test.cc | 14 - third_party/rules_boost/test/tribool_test.cc | 15 - third_party/rules_boost/test/tti_test.cc | 6 - .../rules_boost/test/unordered_test.cc | 15 - third_party/rules_boost/test/url_test.cc | 9 - .../test/uuid_nil_generator_test.cc | 9 - .../test/uuid_random_generator_test.cc | 9 - third_party/rules_boost/test/variant2_test.cc | 6 - .../rules_boost/update_lzma_config_header.sh | 74 - third_party/rules_boost/zlib.BUILD | 59 - third_party/rules_boost/zstd.BUILD | 54 - 111 files changed, 11188 deletions(-) delete mode 100644 third_party/rules_boost/.bazelci/presubmit.yml delete mode 100644 third_party/rules_boost/.circleci/config.yml delete mode 100644 third_party/rules_boost/.gitignore delete mode 100644 third_party/rules_boost/BUILD.bazel delete mode 100644 third_party/rules_boost/CODE_OF_CONDUCT.md delete mode 100644 third_party/rules_boost/LICENSE delete mode 100644 third_party/rules_boost/README.md delete mode 100644 third_party/rules_boost/WORKSPACE.bazel delete mode 100644 third_party/rules_boost/boost.BUILD delete mode 100644 third_party/rules_boost/boost/boost.bzl delete mode 100644 third_party/rules_boost/bzip2.BUILD delete mode 100644 third_party/rules_boost/config.lzma-android.h delete mode 100644 third_party/rules_boost/config.lzma-ios-arm64.h delete mode 100644 third_party/rules_boost/config.lzma-ios-armv7.h delete mode 100644 third_party/rules_boost/config.lzma-ios-i386.h delete mode 100644 third_party/rules_boost/config.lzma-linux-aarch64.h delete mode 100644 third_party/rules_boost/config.lzma-linux.h delete mode 100644 third_party/rules_boost/config.lzma-osx-arm64.h delete mode 100644 third_party/rules_boost/config.lzma-osx-x86_64.h delete mode 100644 third_party/rules_boost/config.lzma-windows.h delete mode 100644 third_party/rules_boost/lzma.BUILD delete mode 100644 third_party/rules_boost/renovate.json5 delete mode 100644 third_party/rules_boost/src/BUILD.bazel delete mode 100644 third_party/rules_boost/src/build_asio.cpp delete mode 100644 third_party/rules_boost/src/build_asio_ssl.cpp delete mode 100644 third_party/rules_boost/src/build_beast.cpp delete mode 100644 third_party/rules_boost/test/.bazelrc delete mode 100644 third_party/rules_boost/test/.bazelrc.ci delete mode 100644 third_party/rules_boost/test/.gitignore delete mode 100644 third_party/rules_boost/test/BUILD.bazel delete mode 100644 third_party/rules_boost/test/WORKSPACE.bazel delete mode 100644 third_party/rules_boost/test/accumulators_test.cc delete mode 100644 third_party/rules_boost/test/any_test.cc delete mode 100644 third_party/rules_boost/test/array_test.cc delete mode 100644 third_party/rules_boost/test/asio_ssl_test.cc delete mode 100644 third_party/rules_boost/test/asio_test.cc delete mode 100644 third_party/rules_boost/test/assign_test.cc delete mode 100644 third_party/rules_boost/test/beast_test.cc delete mode 100644 third_party/rules_boost/test/bimap_test.cc delete mode 100644 third_party/rules_boost/test/bind_test.cc delete mode 100644 third_party/rules_boost/test/callable_traits_test.cc delete mode 100644 third_party/rules_boost/test/circular_buffer_test.cc delete mode 100644 third_party/rules_boost/test/container_hash_test.cc delete mode 100644 third_party/rules_boost/test/container_test.cc delete mode 100644 third_party/rules_boost/test/context_test.cc delete mode 100644 third_party/rules_boost/test/coroutine2_test.cc delete mode 100644 third_party/rules_boost/test/coroutine_test.cc delete mode 100644 third_party/rules_boost/test/crc_test.cc delete mode 100644 third_party/rules_boost/test/date_time_test.cc delete mode 100644 third_party/rules_boost/test/dynamic_bitset_test.cc delete mode 100644 third_party/rules_boost/test/endian.cc delete mode 100644 third_party/rules_boost/test/exception_test.cc delete mode 100644 third_party/rules_boost/test/fiber_test.cc delete mode 100644 third_party/rules_boost/test/filesystem_test.cc delete mode 100644 third_party/rules_boost/test/flyweight_test.cc delete mode 100644 third_party/rules_boost/test/foreach_test.cc delete mode 100644 third_party/rules_boost/test/format_test.cc delete mode 100644 third_party/rules_boost/test/fusion_test.cc delete mode 100644 third_party/rules_boost/test/geometry_test.cc delete mode 100644 third_party/rules_boost/test/gil_test.cc delete mode 100644 third_party/rules_boost/test/graph_test.cc delete mode 100644 third_party/rules_boost/test/hana_test.cc delete mode 100644 third_party/rules_boost/test/histogram_test.cc delete mode 100644 third_party/rules_boost/test/icl_test.cc delete mode 100644 third_party/rules_boost/test/integer_test.cc delete mode 100644 third_party/rules_boost/test/interprocess_test.cc delete mode 100644 third_party/rules_boost/test/iostreams_test.cc delete mode 100644 third_party/rules_boost/test/json_test.cc delete mode 100644 third_party/rules_boost/test/leaf_test.cc delete mode 100644 third_party/rules_boost/test/locale_test.cc delete mode 100644 third_party/rules_boost/test/lockfree_test.cc delete mode 100644 third_party/rules_boost/test/log_test.cc delete mode 100644 third_party/rules_boost/test/mp11_test.cc delete mode 100644 third_party/rules_boost/test/msm_test.cc delete mode 100644 third_party/rules_boost/test/multiprecision_test.cc delete mode 100644 third_party/rules_boost/test/nowide_test.cc delete mode 100644 third_party/rules_boost/test/numeric_conversion_test.cc delete mode 100644 third_party/rules_boost/test/numeric_odeint_test.cc delete mode 100644 third_party/rules_boost/test/optional_test.cc delete mode 100644 third_party/rules_boost/test/pfr_test.cc delete mode 100644 third_party/rules_boost/test/poly_collection_test.cc delete mode 100644 third_party/rules_boost/test/process_test.cc delete mode 100644 third_party/rules_boost/test/program_options_test.cc delete mode 100644 third_party/rules_boost/test/property_tree_test.cc delete mode 100644 third_party/rules_boost/test/ptr_container_test.cc delete mode 100644 third_party/rules_boost/test/qvm_test.cc delete mode 100644 third_party/rules_boost/test/random_test.cc delete mode 100644 third_party/rules_boost/test/rational_test.cc delete mode 100644 third_party/rules_boost/test/scope_exit_test.cc delete mode 100644 third_party/rules_boost/test/signals2_test.cc delete mode 100644 third_party/rules_boost/test/smart_ptr_test.cc delete mode 100644 third_party/rules_boost/test/spirit_test.cc delete mode 100644 third_party/rules_boost/test/stacktrace_test.cc delete mode 100644 third_party/rules_boost/test/static_string_test.cc delete mode 100644 third_party/rules_boost/test/stl_interfaces_test.cc delete mode 100644 third_party/rules_boost/test/test_dynamic_test.cc delete mode 100644 third_party/rules_boost/test/test_included_test.cc delete mode 100644 third_party/rules_boost/test/test_static_test.cc delete mode 100644 third_party/rules_boost/test/thread_test.cc delete mode 100644 third_party/rules_boost/test/throw_exception_test.cc delete mode 100644 third_party/rules_boost/test/tokenizer_test.cc delete mode 100644 third_party/rules_boost/test/tribool_test.cc delete mode 100644 third_party/rules_boost/test/tti_test.cc delete mode 100644 third_party/rules_boost/test/unordered_test.cc delete mode 100644 third_party/rules_boost/test/url_test.cc delete mode 100644 third_party/rules_boost/test/uuid_nil_generator_test.cc delete mode 100644 third_party/rules_boost/test/uuid_random_generator_test.cc delete mode 100644 third_party/rules_boost/test/variant2_test.cc delete mode 100755 third_party/rules_boost/update_lzma_config_header.sh delete mode 100644 third_party/rules_boost/zlib.BUILD delete mode 100644 third_party/rules_boost/zstd.BUILD diff --git a/third_party/rules_boost/.bazelci/presubmit.yml b/third_party/rules_boost/.bazelci/presubmit.yml deleted file mode 100644 index 4af1555c..00000000 --- a/third_party/rules_boost/.bazelci/presubmit.yml +++ /dev/null @@ -1,48 +0,0 @@ ---- -tasks: - ubuntu1804: - working_directory: test - build_targets: - - "//..." - test_targets: - - "//..." - ubuntu2004: - working_directory: test - build_targets: - - "//..." - test_targets: - - "//..." - macos: - working_directory: test - build_targets: - - "//..." - test_targets: - - "//..." - macos_arm64: - working_directory: test - build_targets: - - "//..." - test_targets: - - "//..." - windows: - working_directory: test - build_targets: - - "//..." - test_targets: - - "//..." - layering_check: - platform: ubuntu2204 - environment: - CC: clang - CC_CONFIGURE_DEBUG: 1 - name: "Layering Check" - working_directory: test - build_flags: - - "--features=layering_check" - - "--cxxopt=-std=c++17" - build_targets: - - "//..." - # boringssl is not layering_check clean - - "-//:asio_ssl_test" - # backtrace.h not found - - "-//:stacktrace_test" diff --git a/third_party/rules_boost/.circleci/config.yml b/third_party/rules_boost/.circleci/config.yml deleted file mode 100644 index 5029251a..00000000 --- a/third_party/rules_boost/.circleci/config.yml +++ /dev/null @@ -1,21 +0,0 @@ -version: 2 -jobs: - build: - docker: - - image: ubuntu:24.04 - - steps: - - run: - command: apt-get update && apt-get -y install openssh-client git pkg-config zip g++ zlib1g-dev unzip curl ocl-icd-opencl-dev opencl-headers - environment: - DEBIAN_FRONTEND: noninteractive - - run: cd /tmp/ && - curl -LO https://github.com/bazelbuild/bazelisk/releases/download/v1.19.0/bazelisk-linux-amd64 && - chmod +x bazelisk-linux-amd64 && - mv bazelisk-linux-amd64 /usr/local/bin/bazel - - checkout - - restore_cache: - keys: - - bazel-cache - - run: cd test && cat .bazelrc.ci >> .bazelrc - - run: cd test && bazel test --test_output=errors //... diff --git a/third_party/rules_boost/.gitignore b/third_party/rules_boost/.gitignore deleted file mode 100644 index faaaa49d..00000000 --- a/third_party/rules_boost/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/bazel-* -.DS_Store diff --git a/third_party/rules_boost/BUILD.bazel b/third_party/rules_boost/BUILD.bazel deleted file mode 100644 index 2596c370..00000000 --- a/third_party/rules_boost/BUILD.bazel +++ /dev/null @@ -1,11 +0,0 @@ -exports_files([ - "config.lzma-android.h", - "config.lzma-linux.h", - "config.lzma-linux-aarch64.h", - "config.lzma-osx-arm64.h", - "config.lzma-osx-x86_64.h", - "config.lzma-ios-arm64.h", - "config.lzma-ios-armv7.h", - "config.lzma-ios-i386.h", - "config.lzma-windows.h", -]) diff --git a/third_party/rules_boost/CODE_OF_CONDUCT.md b/third_party/rules_boost/CODE_OF_CONDUCT.md deleted file mode 100644 index f12018a7..00000000 --- a/third_party/rules_boost/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,93 +0,0 @@ -# Code of Conduct - -## Our Pledge - -In the interest of fostering an open and welcoming environment, we as -contributors and maintainers pledge to making participation in our project and -our community a harassment-free experience for everyone, regardless of age, body -size, disability, ethnicity, gender identity and expression, level of -experience, education, socio-economic status, nationality, personal appearance, -race, religion, or sexual identity and orientation. - -## Our Standards - -Examples of behavior that contributes to creating a positive environment -include: - -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members - -Examples of unacceptable behavior by participants include: - -* The use of sexualized language or imagery and unwelcome sexual attention or - advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or electronic - address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting - -## Our Responsibilities - -Project maintainers are responsible for clarifying the standards of acceptable -behavior and are expected to take appropriate and fair corrective action in -response to any instances of unacceptable behavior. - -Project maintainers have the right and responsibility to remove, edit, or reject -comments, commits, code, wiki edits, issues, and other contributions that are -not aligned to this Code of Conduct, or to ban temporarily or permanently any -contributor for other behaviors that they deem inappropriate, threatening, -offensive, or harmful. - -## Scope - -This Code of Conduct applies both within project spaces and in public spaces -when an individual is representing the project or its community. Examples of -representing a project or community include using an official project e-mail -address, posting via an official social media account, or acting as an appointed -representative at an online or offline event. Representation of a project may be -further defined and clarified by project maintainers. - -This Code of Conduct also applies outside the project spaces when the Project -Steward has a reasonable belief that an individual's behavior may have a -negative impact on the project or its community. - -## Conflict Resolution - -We do not believe that all conflict is bad; healthy debate and disagreement -often yield positive results. However, it is never okay to be disrespectful or -to engage in behavior that violates the project’s code of conduct. - -If you see someone violating the code of conduct, you are encouraged to address -the behavior directly with those involved. Many issues can be resolved quickly -and easily, and this gives people more control over the outcome of their -dispute. If you are unable to resolve the matter for any reason, or if the -behavior is threatening or harassing, report it. We are dedicated to providing -an environment where participants feel welcome and safe. - -Reports should be directed to Nelson Elhage , the -Project Steward(s) for `rules_boost`. It is the Project Steward’s duty to -receive and address reported violations of the code of conduct. They will then -work with a committee consisting of representatives from the Open Source -Programs Office and the Google Open Source Strategy team. If for any reason you -are uncomfortable reaching out the Project Steward, please email -opensource@google.com. - -We will investigate every complaint, but you may not receive a direct response. -We will use our discretion in determining when and how to follow up on reported -incidents, which may range from not taking action to permanent expulsion from -the project and project-sponsored spaces. We will notify the accused of the -report and provide them an opportunity to discuss it before any action is taken. -The identity of the reporter will be omitted from the details of the report -supplied to the accused. In potentially harmful situations, such as ongoing -harassment or threats to anyone's safety, we may take action without notice. - -## Attribution - -This Code of Conduct is adapted from the Contributor Covenant, version 1.4, -available at -https://www.contributor-covenant.org/version/1/4/code-of-conduct.html diff --git a/third_party/rules_boost/LICENSE b/third_party/rules_boost/LICENSE deleted file mode 100644 index 5c304d1a..00000000 --- a/third_party/rules_boost/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/third_party/rules_boost/README.md b/third_party/rules_boost/README.md deleted file mode 100644 index c7cf3c6b..00000000 --- a/third_party/rules_boost/README.md +++ /dev/null @@ -1,70 +0,0 @@ -# `rules_boost` -- Bazel build rules for [Boost](https://www.boost.org) - -Copy this into your Bazel `WORKSPACE` file to add this repo as an external dependency, making sure to update to the [latest commit](https://github.com/nelhage/rules_boost/commits/master) per the instructions below. - -```Starlark -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") - -# Boost -# Famous C++ library that has given rise to many new additions to the C++ Standard Library -# Makes @boost available for use: For example, add `@boost//:algorithm` to your deps. -# For more, see https://github.com/nelhage/rules_boost and https://www.boost.org -http_archive( - name = "com_github_nelhage_rules_boost", - - # Replace the commit hash in both places (below) with the latest, rather than using the stale one here. - # Even better, set up Renovate and let it do the work for you (see "Suggestion: Updates" in the README). - url = "https://github.com/nelhage/rules_boost/archive/96e9b631f104b43a53c21c87b01ac538ad6f3b48.tar.gz", - strip_prefix = "rules_boost-96e9b631f104b43a53c21c87b01ac538ad6f3b48", - # When you first run this tool, it'll recommend a sha256 hash to put here with a message like: "DEBUG: Rule 'com_github_nelhage_rules_boost' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = ..." -) -load("@com_github_nelhage_rules_boost//:boost/boost.bzl", "boost_deps") -boost_deps() -``` - -You can now use libraries in `deps` through the `@boost` repository, for example `@boost//:algorithm`. - -## If you're using the Apple or Android-specific rules... - -As with all platform-dependent C/C++ in Bazel, you'll need to use Bazel 7+ (and a similarly recent version of rules_apple) for per-platform configuration to work automatically out of the box. (Please file a PR to delete this section if Bazel 7 is now so old as to be standard.) - -## Suggestion: Updates - -Improvements come frequently to the underlying libraries, including security patches, so we'd recommend keeping up-to-date. - -We'd strongly recommend you set up [Renovate](https://github.com/renovatebot/renovate) (or similar) at some point to keep this dependency (and others) up-to-date by default. [We aren't affiliated with Renovate or anything, but we think it's awesome. It watches for new versions and sends you PRs for review or automated testing. It's free and easy to set up. It's been astoundingly useful in our codebase, and we've worked with the wonderful maintainer to make things great for Bazel use. And it's used in official Bazel repositories--and this one!] - -If not now, maybe come back to this step later, or watch this repo for updates. [Or hey, maybe give us a quick star, while you're thinking about watching.] Like Abseil, we live at head; the latest commit to the main branch is the commit you want. So don't rely on release notifications; use [Renovate](https://github.com/renovatebot/renovate) or poll manually for new commits. - -## Configuration of Sub-Libraries - -### ASIO - -#### SSL Support - -These rules implement support for Boost ASIO's SSL support. To use -ASIO-SSL, you must depend on the `"@boost//:asio_ssl"` target, instead -of `"@boost//:asio"`. ASIO-SSL depends on OpenSSL; By default, -`rules_boost` will download and build the latest -[BoringSSL](https://boringssl.googlesource.com/boringssl/) commit; To -use a different OpenSSL implementation, create a remote named -`openssl` before calling `boost_deps`. This remote must make available -OpenSSL's libssl at `@openssl//:ssl`. - -#### io\_uring support - -To enable io\_uring for asio, use `--@boost//:asio_has_io_uring`. -Optionally, pass`--@boost//:asio_disable_epoll` to use io\_uring -for all operations. - -### Beast - -Boost Beast uses `beast::string_view` for things like request/response headers, -which by default is a type alias of `boost::string_view`. If you're using a -C++17 compiler that supports `std::string_view` you can use -`--@boost//:beast_use_std_string_view` to make `beast::string_view` instead be a -type alias of `std::string_view`. - ---- - -Based in part on rules from https://github.com/mzhaom/trunk. diff --git a/third_party/rules_boost/WORKSPACE.bazel b/third_party/rules_boost/WORKSPACE.bazel deleted file mode 100644 index 83aba6c6..00000000 --- a/third_party/rules_boost/WORKSPACE.bazel +++ /dev/null @@ -1 +0,0 @@ -workspace(name = "com_github_nelhage_rules_boost") diff --git a/third_party/rules_boost/boost.BUILD b/third_party/rules_boost/boost.BUILD deleted file mode 100644 index b4aa94f9..00000000 --- a/third_party/rules_boost/boost.BUILD +++ /dev/null @@ -1,2662 +0,0 @@ -load("@bazel_skylib//rules:copy_file.bzl", "copy_file") -load("@bazel_skylib//lib:selects.bzl", "selects") -load("@bazel_skylib//rules:common_settings.bzl", "bool_flag") -load("@com_github_nelhage_rules_boost//:boost/boost.bzl", "boost_library", "boost_so_library", "default_copts", "default_defines", "hdr_list") - -_repo_dir = repository_name().removeprefix("@") - -# Hopefully, the need for these OSxCPU config_setting()s will be obviated by a fix to https://github.com/bazelbuild/platforms/issues/36 - -config_setting( - name = "linux_arm", - constraint_values = [ - "@platforms//os:linux", - "@platforms//cpu:arm", - ], -) - -config_setting( - name = "linux_ppc", - constraint_values = [ - "@platforms//os:linux", - "@platforms//cpu:ppc", - ], -) - -config_setting( - name = "linux_aarch64", - constraint_values = [ - "@platforms//os:linux", - "@platforms//cpu:aarch64", - ], -) - -config_setting( - name = "linux_x86_64", - constraint_values = [ - "@platforms//os:linux", - "@platforms//cpu:x86_64", - ], -) - -config_setting( - name = "osx_arm64", - constraint_values = [ - "@platforms//os:osx", - "@platforms//cpu:aarch64", - ], -) - -config_setting( - name = "osx_x86_64", - constraint_values = [ - "@platforms//os:osx", - "@platforms//cpu:x86_64", - ], -) - -config_setting( - name = "windows_x86_64", - constraint_values = [ - "@platforms//os:windows", - "@platforms//cpu:x86_64", - ], -) - -config_setting( - name = "android_arm", - constraint_values = [ - "@platforms//os:android", - "@platforms//cpu:arm", - ], -) - -config_setting( - name = "android_aarch64", - constraint_values = [ - "@platforms//os:android", - "@platforms//cpu:aarch64", - ], -) - -# Rename .asm to .S so that it will be handled with the C preprocessor. -[copy_file( - name = "rename_%s" % name, - src = "libs/context/src/asm/%s_x86_64_ms_pe_masm.asm" % name, - out = "libs/context/src/asm/%s_x86_64_ms_pe_masm.S" % name, -) for name in [ - "make", - "jump", - "ontop", -]] - -BOOST_CTX_ASM_SOURCES = selects.with_or({ - (":linux_aarch64", ":android_aarch64"): [ - "libs/context/src/asm/jump_arm64_aapcs_elf_gas.S", - "libs/context/src/asm/make_arm64_aapcs_elf_gas.S", - "libs/context/src/asm/ontop_arm64_aapcs_elf_gas.S", - ], - (":linux_arm", ":android_arm"): [ - "libs/context/src/asm/jump_arm_aapcs_elf_gas.S", - "libs/context/src/asm/make_arm_aapcs_elf_gas.S", - "libs/context/src/asm/ontop_arm_aapcs_elf_gas.S", - ], - ":linux_ppc": [ - "libs/context/src/asm/jump_ppc64_sysv_elf_gas.S", - "libs/context/src/asm/make_ppc64_sysv_elf_gas.S", - "libs/context/src/asm/ontop_ppc64_sysv_elf_gas.S", - ], - ":linux_x86_64": [ - "libs/context/src/asm/jump_x86_64_sysv_elf_gas.S", - "libs/context/src/asm/make_x86_64_sysv_elf_gas.S", - "libs/context/src/asm/ontop_x86_64_sysv_elf_gas.S", - ], - ("@platforms//os:osx", "@platforms//os:ios", "@platforms//os:watchos", "@platforms//os:tvos"): ["apple_ctx_asm_sources"], - ":windows_x86_64": [ - "libs/context/src/asm/make_x86_64_ms_pe_masm.S", - "libs/context/src/asm/jump_x86_64_ms_pe_masm.S", - "libs/context/src/asm/ontop_x86_64_ms_pe_masm.S", - ], - "//conditions:default": [], -}) - -filegroup( - name = "apple_ctx_asm_sources", - srcs = select({ - "@platforms//cpu:aarch64": [ - "libs/context/src/asm/jump_arm64_aapcs_macho_gas.S", - "libs/context/src/asm/make_arm64_aapcs_macho_gas.S", - "libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S", - ], - "@platforms//cpu:arm": [ - "libs/context/src/asm/jump_arm_aapcs_macho_gas.S", - "libs/context/src/asm/make_arm_aapcs_macho_gas.S", - "libs/context/src/asm/ontop_arm_aapcs_macho_gas.S", - ], - "@platforms//cpu:x86_64": [ - "libs/context/src/asm/jump_x86_64_sysv_macho_gas.S", - "libs/context/src/asm/make_x86_64_sysv_macho_gas.S", - "libs/context/src/asm/ontop_x86_64_sysv_macho_gas.S", - ], - }), -) - -boost_library( - name = "context", - srcs = BOOST_CTX_ASM_SOURCES + selects.with_or({ - ("@platforms//os:linux", "@platforms//os:android", "@platforms//os:osx", "@platforms//os:ios", "@platforms//os:watchos", "@platforms//os:tvos"): [ - "libs/context/src/posix/stack_traits.cpp", - ], - ":windows_x86_64": [ - "libs/context/src/windows/stack_traits.cpp", - ], - "//conditions:default": [], - }), - exclude_src = [ - "libs/context/src/fiber.cpp", - "libs/context/src/untested.cpp", - "libs/context/src/continuation.cpp", - ], - local_defines = select({ - ":windows_x86_64": ["BOOST_CONTEXT_EXPORT="], - "//conditions:default": [], - }), - visibility = ["//visibility:public"], - deps = [ - ":assert", - ":config", - ":cstdint", - ":detail", - ":intrusive_ptr", - ":mp11", - ":pool", - ], -) - -BOOST_FIBER_NUMA_SRCS = select({ - ":linux_arm": [ - ], - ":linux_ppc": [ - "libs/fiber/src/numa/linux/pin_thread.cpp", - "libs/fiber/src/numa/linux/topology.cpp", - ], # MAYBE SHOULD BE BLANK - ":linux_x86_64": [ - "libs/fiber/src/numa/linux/pin_thread.cpp", - "libs/fiber/src/numa/linux/topology.cpp", - ], - ":windows_x86_64": [ - "libs/fiber/src/numa/windows/pin_thread.cpp", - "libs/fiber/src/numa/windows/topology.cpp", - ], - "//conditions:default": [], -}) - -boost_library( - name = "fiber", - srcs = BOOST_FIBER_NUMA_SRCS + glob(["libs/fiber/src/algo/**/*.cpp"]) + [ - "libs/fiber/examples/asio/detail/yield.hpp", - ], - hdrs = [ - "libs/fiber/examples/asio/round_robin.hpp", - "libs/fiber/examples/asio/yield.hpp", - ], - copts = select({ - ":windows_x86_64": [ - "/D_WIN32_WINNT=0x0601", - ], - "//conditions:default": [], - }), - exclude_src = ["libs/fiber/src/numa/**/*.cpp"], - linkopts = selects.with_or({ - ("@platforms//os:linux", "@platforms//os:osx", "@platforms//os:ios", "@platforms//os:watchos", "@platforms//os:tvos"): ["-lpthread"], - "//conditions:default": [], - }), - visibility = ["//visibility:public"], - deps = [ - ":algorithm", - ":assert", - ":atomic", - ":config", - ":context", - ":core", - ":filesystem", - ":format", - ":intrusive", - ":intrusive_ptr", - ":pool", - ":predef", - ":static_assert", - ":system", - ":throw_exception", - ], -) - -boost_library( - name = "pool", - deps = [ - ":integer", - ], -) - -boost_library( - name = "accumulators", - deps = [ - ":circular_buffer", - ":concept_check", - ":config", - ":fusion", - ":mpl", - ":parameter", - ":serialization", - ":type_traits", - ":utility", - ], -) - -boost_library( - name = "algorithm", - deps = [ - ":function", - ":iterator", - ":range", - ], -) - -boost_library( - name = "align", -) - -boost_library( - name = "any", - deps = [ - ":config", - ":mpl", - ":static_assert", - ":throw_exception", - ":type_index", - ":type_traits", - ":utility", - ], -) - -boost_library( - name = "assign", - deps = [ - ":config", - ":detail", - ":mpl", - ":preprocessor", - ":ptr_container", - ":range", - ":static_assert", - ":type_traits", - ], -) - -BOOST_ATOMIC_SSE_SRCS = glob( - [ - "libs/atomic/src/*sse2.cpp", - "libs/atomic/src/*sse41.cpp", - ], - allow_empty = True, -) - -BOOST_ATOMIC_DEPS = [ - ":align", - ":assert", - ":config", - ":cstdint", - ":predef", - ":type_traits", - ":winapi", - ":static_assert", - ":preprocessor", -] - -cc_library( - name = "atomic_sse", - srcs = BOOST_ATOMIC_SSE_SRCS + glob([ - "libs/atomic/src/*.hpp", - "libs/atomic/include/boost/atomic/detail/*.hpp", - ]), - copts = default_copts + [ - "-msse2", - "-msse4.1", - "-Iexternal/%s/libs/atomic/src" % _repo_dir, - "-Iexternal/%s/libs/atomic/include" % _repo_dir, - ], - defines = default_defines, - linkstatic = select({ - ":windows_x86_64": True, - "//conditions:default": False, - }), - visibility = ["//visibility:private"], - deps = BOOST_ATOMIC_DEPS, -) - -boost_library( - name = "atomic", - srcs = select({ - ":windows_x86_64": ["libs/atomic/src/wait_on_address.cpp"], - "//conditions:default": [], - }), - copts = ["-Iexternal/%s/libs/atomic/src" % _repo_dir], - exclude_src = ["libs/atomic/src/wait_on_address.cpp"] + BOOST_ATOMIC_SSE_SRCS, - deps = BOOST_ATOMIC_DEPS + select({ - "@platforms//cpu:x86_64": [":atomic_sse"], - "//conditions:default": [], - }), -) - -boost_library( - name = "archive", - deps = [ - ":assert", - ":cstdint", - ":integer", - ":io", - ":iterator", - ":mpl", - ":noncopyable", - ":smart_ptr", - ":spirit", - ], -) - -boost_library( - name = "array", - deps = [ - ":assert", - ":concept_check", - ":config", - ":core", - ":functional", - ":swap", - ":throw_exception", - ], -) - -bool_flag( - name = "asio_disable_epoll", - build_setting_default = False, -) - -config_setting( - name = "asio_no_epoll", - flag_values = { - ":asio_disable_epoll": "True", - }, -) - -bool_flag( - name = "asio_has_io_uring", - build_setting_default = False, -) - -config_setting( - name = "asio_io_uring", - flag_values = { - ":asio_has_io_uring": "True", - }, -) - -boost_library( - name = "asio", - srcs = [ - "@com_github_nelhage_rules_boost//src:build_asio.cpp", - ], - defines = [ - "BOOST_ASIO_SEPARATE_COMPILATION", - ] + selects.with_or({ - ("@platforms//os:osx", "@platforms//os:ios", "@platforms//os:watchos", "@platforms//os:tvos"): [ - "BOOST_ASIO_DISABLE_STD_EXPERIMENTAL_STRING_VIEW", - ], - "//conditions:default": [], - }) + select({ - ":asio_no_epoll": ["BOOST_ASIO_DISABLE_EPOLL"], - "//conditions:default": [], - }) + select({ - ":asio_io_uring": ["BOOST_ASIO_HAS_IO_URING"], - "//conditions:default": [], - }), - linkopts = select({ - "@platforms//os:android": [], - "//conditions:default": ["-lpthread"], - }) + select({ - ":asio_io_uring": ["-luring"], - "//conditions:default": [], - }), - deps = [ - ":assert", - ":bind", - ":cerrno", - ":config", - ":date_time", - ":limits", - ":regex", - ":static_assert", - ":system", - ":throw_exception", - ], -) - -cc_library( - name = "asio_ssl", - srcs = [ - "@com_github_nelhage_rules_boost//src:build_asio_ssl.cpp", - ], - visibility = ["//visibility:public"], - deps = [ - ":asio", - "@openssl//:ssl", - ], -) - -boost_library( - name = "assert", - deps = [ - ":current_function", - ], -) - -bool_flag( - name = "beast_use_std_string_view", - build_setting_default = False, -) - -config_setting( - name = "beast_std_string_view", - flag_values = { - ":beast_use_std_string_view": "True", - }, -) - -boost_library( - name = "beast", - srcs = [ - "@com_github_nelhage_rules_boost//src:build_beast.cpp", - ], - defines = [ - "BOOST_BEAST_SEPARATE_COMPILATION", - ] + select({ - ":beast_std_string_view": ["BOOST_BEAST_USE_STD_STRING_VIEW"], - "//conditions:default": [], - }), - deps = [ - ":asio", - ":assert", - ":config", - ":core", - ":detail", - ":endian", - ":intrusive", - ":is_placeholder", - ":mp11", - ":optional", - ":preprocessor", - ":shared_ptr", - ":smart_ptr", - ":static_assert", - ":static_string", - ":system", - ":throw_exception", - ":tribool", - ":type_traits", - ":utility", - ], -) - -boost_library( - name = "bimap", - deps = [ - ":concept_check", - ":functional", - ":multi_index", - ":serialization", - ], -) - -boost_library( - name = "bind", - deps = [ - ":get_pointer", - ":is_placeholder", - ":mem_fn", - ":ref", - ":type", - ":visit_each", - ], -) - -boost_library( - name = "callable_traits", -) - -boost_library( - name = "call_traits", -) - -boost_library( - name = "cerrno", -) - -boost_library( - name = "checked_delete", -) - -boost_library( - name = "chrono", - deps = [ - ":assert", - ":config", - ":cstdint", - ":detail", - ":integer", - ":mpl", - ":operators", - ":predef", - ":ratio", - ":system", - ":throw_exception", - ":type_traits", - ":utility", - ], -) - -boost_library( - name = "circular_buffer", - deps = [ - ":call_traits", - ":concept_check", - ":config", - ":container", - ":detail", - ":iterator", - ":limits", - ":move", - ":static_assert", - ":throw_exception", - ":type_traits", - ":utility", - ], -) - -boost_library( - name = "compute", - linkopts = selects.with_or({ - # OpenCL (required for Boost.Compute) is deprecated on macOS and not supported on other Apple OSs. - # This will at least produce the right error message, indicating that OpenCL is not present - ("@platforms//os:osx", "@platforms//os:ios", "@platforms//os:watchos", "@platforms//os:tvos"): [ - "-framework OpenCL", - ], - "//conditions:default": [ - "-lOpenCL", - ], - }), - deps = [ - ":algorithm", - ":chrono", - ":config", - ":throw_exception", - ], -) - -boost_library( - name = "concept_archetype", - deps = [ - ":config", - ":iterator", - ":mpl", - ], -) - -boost_library( - name = "concept_check", - deps = [ - ":concept", - ":concept_archetype", - ], -) - -boost_library( - name = "config", -) - -boost_library( - name = "concept", -) - -BOOST_CONTAINER_INCLUDES_WITH_SRC_EXTENSION = [ - "libs/container/src/dlmalloc_ext_2_8_6.c", - "libs/container/src/dlmalloc_2_8_6.c", -] - -boost_library( - name = "container", - hdrs = BOOST_CONTAINER_INCLUDES_WITH_SRC_EXTENSION, - exclude_src = BOOST_CONTAINER_INCLUDES_WITH_SRC_EXTENSION, - deps = [ - ":config", - ":core", - ":intrusive", - ":move", - ":static_assert", - ], -) - -boost_library( - name = "container_hash", - defines = ["BOOST_NO_CXX98_FUNCTION_BASE"], - deps = [ - ":assert", - ":config", - ":core", - ":describe", - ":integer", - ":limits", - ":type_traits", - ], -) - -boost_library( - name = "conversion", - hdrs = [ - "libs/lexical_cast/include/boost/lexical_cast.hpp", - "libs/lexical_cast/include/boost/lexical_cast/bad_lexical_cast.hpp", - "libs/numeric/conversion/include/boost/cast.hpp", - ], - deps = [ - ":assert", - ":config", - ":fusion", - ":throw_exception", - ], -) - -boost_library( - name = "core", - deps = [ - ":config", - ], -) - -BOOST_CORO_SRCS = selects.with_or({ - ("@platforms//os:linux", "@platforms//os:android", "@platforms//os:osx", "@platforms//os:ios", "@platforms//os:watchos", "@platforms//os:tvos"): [ - "libs/coroutine/src/posix/stack_traits.cpp", - ], - ":windows_x86_64": [ - "libs/coroutine/src/windows/stack_traits.cpp", - ], -}) - -boost_library( - name = "coroutine", - srcs = BOOST_CORO_SRCS + [ - "libs/coroutine/src/detail/coroutine_context.cpp", - ], - deps = [ - ":assert", - ":config", - ":context", - ":core", - ":move", - ":range", - ":static_assert", - ":system", - ":thread", - ":type_traits", - ], -) - -boost_library( - name = "coroutine2", - deps = [ - ":assert", - ":config", - ":context", - ":detail", - ], -) - -boost_library( - name = "crc", - deps = [ - ":array", - ":config", - ":cstdint", - ":integer", - ":limits", - ], -) - -boost_library( - name = "cstdint", - deps = [ - ":config", - ":limits", - ], -) - -boost_library( - name = "current_function", -) - -boost_library( - name = "date_time", - deps = [ - ":algorithm", - ":io", - ":lexical_cast", - ":mpl", - ":operators", - ":static_assert", - ":tokenizer", - ":type_traits", - ], -) - -boost_library( - name = "detail", - deps = [ - ":limits", - ":winapi", - ], -) - -boost_library( - name = "describe", - deps = [ - ":mp11", - ], -) - -boost_library( - name = "dll", - deps = [ - ":filesystem", - ], -) - -boost_library( - name = "dynamic_bitset", - deps = [ - ":config", - ":core", - ":detail", - ":functional", - ":integer", - ":move", - ":throw_exception", - ":utility", - ], -) - -boost_library( - name = "enable_shared_from_this", -) - -boost_library( - name = "endian", - deps = [ - ":config", - ":core", - ":cstdint", - ":detail", - ":predef", - ":type_traits", - ], -) - -boost_library( - name = "exception", - deps = [ - ":assert", - ":config", - ":current_function", - ":detail", - ":smart_ptr", - ":tuple", - ":type_traits", - ], -) - -boost_library( - name = "exception_ptr", - deps = [ - ":config", - ], -) - -boost_library( - name = "filesystem", - defines = [ - "BOOST_FILESYSTEM_NO_CXX20_ATOMIC_REF", - ] + select({ - "@platforms//os:linux": [ - "BOOST_FILESYSTEM_HAS_POSIX_AT_APIS", - ], - "//conditions:default": [], - }), - deps = [ - ":assert", - ":atomic", - ":config", - ":core", - ":cstdint", - ":detail", - ":functional", - ":io", - ":iterator", - ":predef", - ":range", - ":scoped_array", - ":smart_ptr", - ":static_assert", - ":system", - ":throw_exception", - ":type_traits", - ], -) - -boost_library( - name = "flyweight", - deps = [ - ":core", - ":detail", - ":interprocess", - ":mpl", - ":multi_index", - ":parameter", - ":preprocessor", - ":serialization", - ":smart_ptr", - ":throw_exception", - ":type_traits", - ], -) - -boost_library( - name = "foreach", - deps = [ - ":config", - ":detail", - ":iterator", - ":mpl", - ":noncopyable", - ":range", - ":type_traits", - ":utility", - ], -) - -boost_library( - name = "format", - deps = [ - ":assert", - ":config", - ":detail", - ":limits", - ":optional", - ":smart_ptr", - ":throw_exception", - ":timer", - ":utility", - ], -) - -boost_library( - name = "function", - deps = [ - ":bind", - ":integer", - ":type_index", - ], -) - -boost_library( - name = "function_types", -) - -boost_library( - name = "functional", - deps = [ - ":container_hash", - ":detail", - ":integer", - ], -) - -boost_library( - name = "fusion", - deps = [ - ":call_traits", - ":config", - ":core", - ":detail", - ":function_types", - ":functional", - ":get_pointer", - ":mpl", - ":preprocessor", - ":ref", - ":static_assert", - ":tuple", - ":type_traits", - ":typeof", - ":utility", - ], -) - -boost_library( - name = "geometry", - deps = [ - ":algorithm", - ":call_traits", - ":config", - ":function_types", - ":lexical_cast", - ":math", - ":mpl", - ":multiprecision", - ":numeric_conversion", - ":qvm", - ":range", - ":rational", - ":tokenizer", - ":variant", - ], -) - -boost_library( - name = "gil", - deps = [ - ":concept_check", - ":config", - ":integer", - ":iterator", - ":mp11", - ":mpl", - ":ref", - ":type_traits", - ], -) - -boost_library( - name = "property_tree", - deps = [ - ":any", - ":bind", - ":format", - ":multi_index", - ":optional", - ":range", - ":ref", - ":throw_exception", - ":utility", - ], -) - -boost_library( - name = "python", - exclude_src = ["**/fabscript"], - deps = [ - "@python", - ":config", - ":function", - ":align", - ":shared_ptr", - ":smart_ptr", - ":numeric_conversion", - ":implicit_cast", - ":iterator", - ":conversion", - ], -) - -boost_library( - name = "get_pointer", -) - -boost_library( - name = "heap", - deps = [ - ":array", - ":intrusive", - ":parameter", - ], -) - -boost_library( - name = "icl", - deps = [ - ":assert", - ":concept_check", - ":config", - ":container", - ":core", - ":date_time", - ":detail", - ":iterator", - ":move", - ":mpl", - ":range", - ":rational", - ":static_assert", - ":type_traits", - ":utility" - ], -) - -boost_library( - name = "implicit_cast", -) - -boost_library( - name = "is_placeholder", -) - -boost_library( - name = "integer", - deps = [ - ":cstdint", - ":static_assert", - ], -) - -boost_library( - name = "interprocess", - linkopts = select({ - "@platforms//os:linux": [ - "-lpthread", - "-lrt", - ], - "//conditions:default": [], - }), - deps = [ - ":assert", - ":checked_delete", - ":config", - ":container", - ":core", - ":date_time", - ":detail", - ":integer", - ":intrusive", - ":limits", - ":move", - ":static_assert", - ":type_traits", - ":unordered", - ":utility", - ], -) - -boost_library( - name = "iterator", - deps = [ - ":detail", - ":static_assert", - ":type_traits", - ":utility", - ], -) - -boost_library( - name = "intrusive", - deps = [ - ":assert", - ":cstdint", - ":noncopyable", - ":static_assert", - ], -) - -alias( - name = "intrusive_ptr", - actual = ":smart_ptr", - visibility = ["//visibility:public"], -) - -boost_library( - name = "io", -) - -boost_library( - name = "iostreams", - deps = [ - ":assert", - ":bind", - ":call_traits", - ":checked_delete", - ":config", - ":core", - ":cstdint", - ":detail", - ":function", - ":integer", - ":mpl", - ":noncopyable", - ":numeric_conversion", - ":preprocessor", - ":random", - ":range", - ":ref", - ":regex", - ":shared_ptr", - ":static_assert", - ":throw_exception", - ":type", - ":type_traits", - ":utility", - "@com_github_facebook_zstd//:zstd", - "@org_bzip_bzip2//:bz2lib", - "@org_lzma_lzma//:lzma", - "@zlib", - ], -) - -boost_library( - name = "lexical_cast", - deps = [ - ":array", - ":chrono", - ":config", - ":container", - ":detail", - ":integer", - ":limits", - ":math", - ":mpl", - ":noncopyable", - ":numeric_conversion", - ":range", - ":static_assert", - ":throw_exception", - ":type_traits", - ], -) - -boost_library( - name = "limits", -) - -BOOST_LOCALE_COMMON_SOURCES = glob( - [ - "libs/locale/src/boost/locale/encoding/*.cpp", - "libs/locale/src/boost/locale/encoding/*.hpp", - "libs/locale/src/boost/locale/shared/*.cpp", - "libs/locale/src/boost/locale/shared/*.hpp", - "libs/locale/src/boost/locale/std/*.cpp", - "libs/locale/src/boost/locale/std/*.hpp", - "libs/locale/src/boost/locale/util/*.cpp", - "libs/locale/src/boost/locale/util/*.hpp", - ], - exclude = [ - "libs/locale/src/boost/locale/util/iconv.hpp", - ], -) - -BOOST_LOCALE_STD_SOURCES = BOOST_LOCALE_COMMON_SOURCES + [ - "libs/locale/src/boost/locale/util/iconv.hpp", -] - -BOOST_LOCALE_POSIX_SOURCES = BOOST_LOCALE_COMMON_SOURCES + [ - "libs/locale/src/boost/locale/util/iconv.hpp", -] + glob([ - "libs/locale/src/boost/locale/posix/*.cpp", - "libs/locale/src/boost/locale/posix/*.hpp", -]) - -BOOST_LOCALE_WIN32_SOURCES = BOOST_LOCALE_COMMON_SOURCES + glob([ - "libs/locale/src/boost/locale/win32/*.cpp", - "libs/locale/src/boost/locale/win32/*.hpp", -]) - -BOST_LOCALE_STD_COPTS = [ - "-DBOOST_LOCALE_NO_POSIX_BACKEND=1", - "-DBOOST_LOCALE_NO_WINAPI_BACKEND", - "-DBOOST_LOCALE_WITH_ICONV", -] - -BOOST_LOCALE_POSIX_COPTS = [ - "-DBOOST_LOCALE_WITH_ICONV", - "-DBOOST_LOCALE_NO_WINAPI_BACKEND", -] - -BOOST_LOCALE_WIN32_COPTS = [ - "-DBOOST_LOCALE_NO_POSIX_BACKEND", -] - -boost_library( - name = "locale", - srcs = selects.with_or({ - "@platforms//os:android": BOOST_LOCALE_STD_SOURCES, - ("@platforms//os:linux", "@platforms//os:osx", "@platforms//os:ios", "@platforms//os:watchos", "@platforms//os:tvos"): BOOST_LOCALE_POSIX_SOURCES, - ":windows_x86_64": BOOST_LOCALE_WIN32_SOURCES, - }), - copts = selects.with_or({ - "@platforms//os:android": BOST_LOCALE_STD_COPTS, - ("@platforms//os:linux", "@platforms//os:osx", "@platforms//os:ios", "@platforms//os:watchos", "@platforms//os:tvos"): BOOST_LOCALE_POSIX_COPTS, - ":windows_x86_64": BOOST_LOCALE_WIN32_COPTS, - }), - includes = ["libs/locale/src/"], - deps = [ - ":assert", - ":config", - ":core", - ":cstdint", - ":function", - ":iterator", - ":predef", - ":shared_ptr", - ":smart_ptr", - ":static_assert", - ":thread", - ":type_traits", - ":unordered", - ":utility", - ], - linkopts = selects.with_or({ - ("@platforms//os:osx", "@platforms//os:ios", "@platforms//os:watchos", "@platforms//os:tvos"): ["-liconv"], - ("@platforms//os:android", "@platforms//os:linux", ":windows_x86_64"): [], - }), -) - -boost_library( - name = "lockfree", - deps = [ - ":align", - ":array", - ":assert", - ":config", - ":detail", - ":iterator", - ":noncopyable", - ":parameter", - ":predef", - ":static_assert", - ":tuple", - ":type_traits", - ":utility", - ], -) - -boost_library( - name = "math", - srcs = [ - # See https://github.com/boostorg/math/blob/boost-1.56.0/doc/overview/roadmap.qbk#L11-L14 - "libs/math/include_private/boost/math/tools/remez.hpp", - "libs/math/include_private/boost/math/constants/generate.hpp", - "libs/math/include_private/boost/math/tools/solve.hpp", - "libs/math/include_private/boost/math/tools/test.hpp", - ], - includes = ["libs/math/include_private"], - deps = [ - ":array", - ":assert", - ":atomic", - ":concept_check", - ":config", - ":core", - ":cstdint", - ":detail", - ":fusion", - ":integer", - ":lambda", - # https://github.com/boostorg/lexical_cast/issues/27 - #":lexical_cast", - ":limits", - ":mp11", - ":mpl", - # https://github.com/boostorg/math/issues/201 - #":multiprecision", - ":predef", - ":range", - ":scoped_array", - ":static_assert", - ":throw_exception", - ":tuple", - ":type", - ":type_traits", - ":utility", - ], -) - -boost_library( - name = "mem_fn", -) - -boost_library( - name = "move", - deps = [ - ":assert", - ":detail", - ":static_assert", - ], -) - -boost_library( - name = "mp11", - deps = [ - ":config", - ":detail", - ], -) - -boost_library( - name = "mpl", - deps = [ - ":move", - ":preprocessor", - ], -) - -boost_library( - name = "hana", -) - -boost_library( - name = "msm", - deps = [ - ":any", - ":bind", - ":detail", - ":function", - ":fusion", - ":mpl", - ":noncopyable", - ":parameter", - ":proto", - ":serialization", - ":type_traits", - ], -) - -boost_library( - name = "multi_index", - deps = [ - ":foreach", - ":serialization", - ":static_assert", - ":tuple", - ], -) - -boost_library( - name = "multiprecision", - deps = [ - ":config", - ":cstdint", - ":lexical_cast", - ":math", - ":mpl", - ":predef", - ":rational", - ":throw_exception", - ":type_traits", - ":utility", - ], -) - -boost_library( - name = "nowide", - deps = [ - ":config", - ":filesystem", - ], -) - -boost_library( - name = "noncopyable", - deps = [ - ":core", - ], -) - -boost_library( - name = "none", - hdrs = [ - "libs/optional/include/boost/none_t.hpp", - ], -) - -boost_library( - name = "numeric_conversion", - boost_name = "numeric/conversion", - deps = [ - ":config", - ":detail", - ":integer", - ":limits", - ":mpl", - ":throw_exception", - ":type", - ":type_traits", - ], -) - -boost_library( - name = "numeric_ublas", - boost_name = "numeric/ublas", - deps = [ - ":concept_check", - ":config", - ":core", - ":iterator", - ":mpl", - ":noncopyable", - ":numeric_interval", - ":range", - ":serialization", - ":shared_array", - ":static_assert", - ":timer", - ":type_traits", - ":typeof", - ":utility", - ], -) - -boost_library( - name = "numeric_odeint", - boost_name = "numeric/odeint", - linkopts = select({ - "@platforms//os:android": ["-lm"], - "//conditions:default": [], - }), - deps = [ - ":fusion", - ":lexical_cast", - ":math", - # There is currently a circular dependency between math and - # multiprecision. We know that :numeric_odeint triggers it, - # despite only depending directly on :math, so we include - # :multiprecision here. Some users of :math will need to do - # so as well. - # See: https://github.com/boostorg/math/issues/201 - ":multiprecision", - ":multi_array", - ":numeric_ublas", - ":serialization", - ":units", - ], -) - -boost_library( - name = "multi_array", -) - -boost_library( - name = "units", - deps = [ - ":assert", - ":config", - ":core", - ":integer", - ":io", - ":lambda", - ":math", - ":mpl", - ":preprocessor", - ":serialization", - ":static_assert", - ":type_traits", - ":typeof", - ":utility", - ], -) - -boost_library( - name = "operators", - deps = [ - ":config", - ":core", - ":detail", - ], -) - -boost_library( - name = "optional", - deps = [ - ":assert", - ":config", - ":detail", - ":none", - ":static_assert", - ":throw_exception", - ":type", - ":type_traits", - ":utility", - ], -) - -boost_library( - name = "outcome", - deps = [ - ":config", - ":exception", - ":smart_ptr", - ":system", - ], -) - -boost_library( - name = "parameter", - deps = [ - ":mp11", - ], -) - -boost_library( - name = "polygon", - deps = [ - ":config", - ":integer", - ":mpl", - ":utility", - ], -) - -boost_library( - name = "predef", -) - -boost_library( - name = "preprocessor", -) - -boost_library( - name = "process", - deps = [ - ":algorithm", - ":asio", - ":config", - ":filesystem", - ":fusion", - ":system", - ":winapi", - ], -) - -boost_library( - name = "program_options", - deps = [ - ":any", - ":bind", - ":config", - ":detail", - ":function", - ":iterator", - ":lexical_cast", - ":limits", - ":noncopyable", - ":shared_ptr", - ":static_assert", - ":throw_exception", - ":tokenizer", - ":type_traits", - ], -) - -boost_library( - name = "ptr_container", - deps = [ - ":assert", - ":checked_delete", - ":circular_buffer", - ":config", - ":iterator", - ":mpl", - ":range", - ":serialization", - ":static_assert", - ":type_traits", - ":unordered", - ":utility", - ], -) - -boost_library( - name = "qvm", - linkopts = select({ - "@platforms//os:android": ["-lm"], - "//conditions:default": [], - }), - deps = [ - ":assert", - ":core", - ":exception", - ":static_assert", - ":throw_exception", - ":utility", - ], -) - -boost_library( - name = "random", - linkopts = select({ - "@platforms//os:windows": ["-defaultlib:bcrypt.lib"], - "//conditions:default": [], - }), - deps = [ - ":assert", - ":config", - ":detail", - ":foreach", - ":integer", - ":lexical_cast", - ":limits", - ":math", - ":mpl", - ":noncopyable", - ":operators", - ":range", - ":regex", - ":shared_ptr", - ":static_assert", - ":system", - ":throw_exception", - ":timer", - ":tuple", - ":type_traits", - ":utility", - ], -) - -boost_library( - name = "range", - deps = [ - ":array", - ":assert", - ":concept_check", - ":config", - ":detail", - ":functional", - ":integer", - ":iterator", - ":mpl", - ":noncopyable", - ":optional", - ":preprocessor", - ":ref", - ":regex", - ":static_assert", - ":tuple", - ":type_traits", - ":utility", - ], -) - -boost_library( - name = "ratio", - deps = [ - ":integer", - ], -) - -boost_library( - name = "rational", - deps = [ - ":assert", - ":call_traits", - ":config", - ":detail", - ":integer", - ":operators", - ":static_assert", - ":throw_exception", - ":type_traits", - ":utility", - ], -) - -boost_library( - name = "ref", - deps = [ - ":config", - ":core", - ":detail", - ":utility", - ], -) - -boost_library( - name = "regex", - deps = [ - ":assert", - ":config", - ":core", - ":cstdint", - ":detail", - ":exception", - ":functional", - ":integer", - ":limits", - ":mpl", - ":predef", - ":ref", - ":smart_ptr", - ":throw_exception", - ":type_traits", - ], -) - -boost_library( - name = "safe_numerics", - deps = [ - ":concept_check", - ":config", - ":core", - ":integer", - ":mp11", - ":tribool", - ], -) - -boost_library( - name = "scope_exit", - deps = [ - ":config", - ":detail", - ":function", - ":mpl", - ":preprocessor", - ":type_traits", - ":typeof", - ":utility", - ], -) - -boost_library( - name = "scoped_array", - deps = [ - ":checked_delete", - ], -) - -boost_library( - name = "scoped_ptr", - deps = [ - ":checked_delete", - ], -) - -boost_library( - name = "shared_ptr", - deps = [ - ":checked_delete", - ], -) - -boost_library( - name = "shared_array", - deps = [ - ":checked_delete", - ], -) - -boost_library( - name = "signals2", - deps = [ - ":assert", - ":bind", - ":checked_delete", - ":config", - ":core", - ":detail", - ":function", - ":iterator", - ":mpl", - ":multi_index", - ":noncopyable", - ":optional", - ":parameter", - ":predef", - ":preprocessor", - ":ref", - ":scoped_ptr", - ":shared_ptr", - ":smart_ptr", - ":swap", - ":throw_exception", - ":tuple", - ":type_traits", - ":utility", - ":variant", - ":visit_each", - ], -) - -boost_library( - name = "serialization", - deps = [ - ":archive", - ":array", - ":assert", - ":call_traits", - ":config", - ":core", - ":cstdint", - ":detail", - ":function", - ":integer", - ":io", - ":limits", - ":mpl", - ":noncopyable", - ":operators", - ":preprocessor", - ":spirit", - ":static_assert", - ":type_traits", - ], -) - -boost_library( - name = "smart_ptr", - deps = [ - ":align", - ":core", - ":predef", - ":scoped_array", - ":scoped_ptr", - ":shared_array", - ":shared_ptr", - ":throw_exception", - ":utility", - ], -) - -boost_library( - name = "spirit", - deps = [ - ":endian", - ":foreach", - ":function", - ":iostreams", - ":optional", - ":phoenix", - ":range", - ":ref", - ":tti", - ":utility", - ":variant", - ], -) - -BOOST_STACKTRACE_SOURCES = selects.with_or({ - "@platforms//os:android": [ - "libs/stacktrace/src/basic.cpp", - #"libs/stacktrace/src/noop.cpp", - ], - ":linux_arm": [ - "libs/stacktrace/src/basic.cpp", - "libs/stacktrace/src/noop.cpp", - ], - ":linux_aarch64": [ - "libs/stacktrace/src/basic.cpp", - # "libs/stacktrace/src/noop.cpp", - ], - ":linux_ppc": [ - "libs/stacktrace/src/backtrace.cpp", - ], - ":linux_x86_64": [ - "libs/stacktrace/src/backtrace.cpp", - ], - ("@platforms//os:osx", "@platforms//os:ios", "@platforms//os:watchos", "@platforms//os:tvos"): [ - "libs/stacktrace/src/addr2line.cpp", - ], - ":windows_x86_64": [ - "libs/stacktrace/src/windbg.cpp", - "libs/stacktrace/src/windbg_cached.cpp", - ], - "//conditions:default": [], -}) - -boost_library( - name = "stacktrace", - srcs = BOOST_STACKTRACE_SOURCES, - defines = selects.with_or({ - ("@platforms//os:osx", "@platforms//os:ios", "@platforms//os:watchos", "@platforms//os:tvos"): [ - "BOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED", - ], - "//conditions:default": [], - }), - exclude_src = ["libs/stacktrace/src/*.cpp"], - linkopts = select({ - ":linux_ppc": [ - "-lbacktrace -ldl", - ], - ":linux_x86_64": [ - "-lbacktrace -ldl", - ], - ":linux_aarch64": [ - "-lbacktrace -ldl", - ], - "//conditions:default": [], - }), - deps = [ - ":array", - ":config", - ":core", - ":detail", - ":lexical_cast", - ":predef", - ":static_assert", - ":type_traits", - ], -) - -boost_library( - name = "static_assert", - hdrs = [ - "libs/config/include/boost/config/workaround.hpp", - ], -) - -boost_library( - name = "static_string", - deps = [ - ":container_hash", - ":static_assert", - ":throw_exception", - ":utility", - ], -) - -boost_library( - name = "stl_interfaces", - deps = [ - ":assert", - ":config", - ], -) - -boost_library( - name = "system", - deps = [ - ":assert", - ":cerrno", - ":config", - ":core", - ":cstdint", - ":noncopyable", - ":predef", - ":utility", - ":variant2", - ":winapi", - ], -) - -boost_library( - name = "swap", - deps = [ - ":core", - ], -) - -boost_library( - name = "throw_exception", - deps = [ - ":assert", - ":config", - ":cstdint", - ":current_function", - ":detail", - ], -) - -boost_library( - name = "thread", - srcs = selects.with_or({ - ("@platforms//os:linux", "@platforms//os:android", "@platforms//os:osx", "@platforms//os:ios", "@platforms//os:watchos", "@platforms//os:tvos"): [ - "libs/thread/src/pthread/once.cpp", - "libs/thread/src/pthread/thread.cpp", - ], - ":windows_x86_64": [ - "libs/thread/src/win32/thread.cpp", - "libs/thread/src/win32/tss_dll.cpp", - "libs/thread/src/win32/tss_pe.cpp", - ], - }), - hdrs = selects.with_or({ - ("@platforms//os:linux", "@platforms//os:android", "@platforms//os:osx", "@platforms//os:ios", "@platforms//os:watchos", "@platforms//os:tvos"): [ - "libs/thread/src/pthread/once_atomic.cpp", - ], - ":windows_x86_64": [], - }), - linkopts = selects.with_or({ - ("@platforms//os:linux", "@platforms//os:osx", "@platforms//os:ios", "@platforms//os:watchos", "@platforms//os:tvos"): ["-lpthread"], - ":windows_x86_64": [], - "@platforms//os:android": [], - }), - local_defines = selects.with_or({ - ("@platforms//os:linux", "@platforms//os:osx", "@platforms//os:ios", "@platforms//os:watchos", "@platforms//os:tvos"): [], - ":windows_x86_64": [ - "BOOST_ALL_NO_LIB", - "BOOST_THREAD_BUILD_LIB", - "BOOST_THREAD_USE_LIB", - "BOOST_WIN32_THREAD", - ], - "//conditions:default": [], - }), - deps = [ - ":algorithm", - ":assert", - ":atomic", - ":bind", - ":chrono", - ":config", - ":core", - ":cstdint", - ":date_time", - ":detail", - ":enable_shared_from_this", - ":exception", - ":function", - ":functional", - ":io", - ":iterator", - ":lexical_cast", - ":move", - ":optional", - ":predef", - ":preprocessor", - ":scoped_array", - ":shared_ptr", - ":smart_ptr", - ":static_assert", - ":system", - ":throw_exception", - ":tuple", - ":type_traits", - ":utility", - ], -) - -boost_library( - name = "tokenizer", - deps = [ - ":assert", - ":config", - ":detail", - ":iterator", - ":mpl", - ":throw_exception", - ], -) - -boost_library( - name = "tribool", - boost_name = "logic", - exclude_hdr = [ - "libs/logic/include/boost/logic/tribool_io.hpp", - ], - deps = [ - ":config", - ":detail", - ], -) - -boost_library( - name = "tti", - deps = [ - ":config", - ":function_types", - ":mpl", - ":preprocessor", - ":type_traits", - ], -) - -boost_library( - name = "type", - deps = [ - ":core", - ], -) - -boost_library( - name = "type_index", - deps = [ - ":container_hash", - ":core", - ":functional", - ":throw_exception", - ], -) - -boost_library( - name = "type_traits", - deps = [ - ":config", - ":core", - ":mpl", - ":static_assert", - ], -) - -boost_library( - name = "typeof", - deps = [ - ":config", - ":detail", - ":mpl", - ":preprocessor", - ":type_traits", - ":utility", - ], -) - -boost_library( - name = "tuple", - deps = [ - ":ref", - ], -) - -boost_library( - name = "unordered", - deps = [ - ":assert", - ":config", - ":container", - ":detail", - ":functional", - ":iterator", - ":limits", - ":move", - ":mp11", - ":preprocessor", - ":smart_ptr", - ":swap", - ":throw_exception", - ":tuple", - ":type_traits", - ":utility", - ], -) - -boost_library( - name = "utility", - deps = [ - ":config", - ":container_hash", - ":core", - ":cstdint", - ":detail", - ":io", - ":preprocessor", - ":static_assert", - ":swap", - ":throw_exception", - ":type_traits", - ], -) - -boost_library( - name = "uuid", - deps = [ - ":assert", - ":config", - ":core", - ":detail", - ":io", - ":random", - ":serialization", - ":static_assert", - ":throw_exception", - ":tti", - ":type_traits", - ], -) - -boost_library( - name = "variant", - deps = [ - ":call_traits", - ":config", - ":detail", - ":functional", - ":math", - ":static_assert", - ":type_index", - ":type_traits", - ":utility", - ], -) - -boost_library( - name = "variant2", - deps = [ - ":assert", - ":cstdint", - ":mp11", - ], -) - -boost_library( - name = "visit_each", -) - -boost_library( - name = "vmd", - deps = [ - ":preprocessor", - ], -) - -boost_library( - name = "timer", - deps = [ - ":cerrno", - ":chrono", - ":config", - ":cstdint", - ":io", - ":limits", - ":predef", - ":system", - ":throw_exception", - ], -) - -boost_library( - name = "numeric_interval", - boost_name = "numeric/interval", -) - -_BOOST_TEST_DEPS = [ - ":algorithm", - ":assert", - ":bind", - ":call_traits", - ":config", - ":core", - ":cstdint", - ":current_function", - ":detail", - ":exception", - ":function", - ":io", - ":iterator", - ":limits", - ":mpl", - ":numeric_conversion", - ":optional", - ":preprocessor", - ":scoped_array", - ":scoped_ptr", - ":shared_ptr", - ":smart_ptr", - ":static_assert", - ":timer", - ":type", - ":type_traits", - ":utility", -] - -# An uncompiled Boost.Test library, to be used through boost/test/included/*. -boost_library( - name = "test", - exclude_src = glob([ - "libs/test/src/*.cpp", - ]), - deps = _BOOST_TEST_DEPS, -) - -# A statically linked Boost.Test library, used through boost/test/* and without -# defining BOOST_TEST_DYN_LINK. -boost_library( - name = "test.a", - boost_name = "test", - exclude_hdr = glob([ - "libs/test/include/boost/test/included/*.hpp", - ]), - exclude_src = [ - "libs/test/src/test_main.cpp", - "libs/test/src/cpp_main.cpp", - ], - linkstatic = True, - deps = _BOOST_TEST_DEPS, -) - -# A dynamically linked Boost.Test library, used through boost/test/*. Bazel -# will add -DBOOST_TEST_DYN_LINK for you if you depend on this library. -boost_so_library( - name = "test.so", - boost_name = "test", - defines = ["BOOST_TEST_DYN_LINK"], - exclude_hdr = glob([ - "libs/test/include/boost/test/included/*.hpp", - ]), - exclude_src = [ - "libs/test/src/test_main.cpp", - "libs/test/src/cpp_main.cpp", - ], - deps = _BOOST_TEST_DEPS, -) - -boost_library( - name = "proto", - deps = [ - ":fusion", - ], -) - -boost_library( - name = "phoenix", - deps = [ - ":bind", - ":proto", - ], -) - -BOOST_LOG_CFLAGS = select({ - "@platforms//cpu:x86_64": [ - "-msse4.2", - ], - "//conditions:default": [ - ], -}) - -BOOST_LOG_DEFINES = [ - "BOOST_LOG_WITHOUT_WCHAR_T", - "BOOST_LOG_USE_STD_REGEX", - "BOOST_LOG_WITHOUT_DEBUG_OUTPUT", - "BOOST_LOG_WITHOUT_EVENT_LOG", - "BOOST_LOG_WITHOUT_SYSLOG", -] - -BOOST_LOG_DEPS = [ - ":align", - ":array", - ":asio", - ":assert", - ":atomic", - ":bind", - ":config", - ":core", - ":cstdint", - ":current_function", - ":date_time", - ":detail", - ":exception", - ":filesystem", - ":fusion", - ":interprocess", - ":intrusive", - ":io", - ":iterator", - ":lexical_cast", - ":limits", - ":move", - ":mpl", - ":none", - ":optional", - ":parameter", - ":phoenix", - ":predef", - ":preprocessor", - ":property_tree", - ":proto", - ":random", - ":range", - ":ref", - ":smart_ptr", - ":spirit", - ":static_assert", - ":system", - ":thread", - ":throw_exception", - ":type_index", - ":type_traits", - ":utility", - ":variant", -] - -BOOST_LOG_SSSE3_DEP = select({ - "@platforms//cpu:x86_64": [ - ":log_dump_ssse3", - ], - "//conditions:default": [ - ], -}) - -cc_library( - name = "log_dump_ssse3", - srcs = ["libs/log/src/dump_ssse3.cpp"] + hdr_list("log"), - copts = default_copts + [ - "-msse4.2", - "-Iexternal/%s/libs/log/include" % _repo_dir, - ], - defines = default_defines, - licenses = ["notice"], - local_defines = BOOST_LOG_DEFINES, - visibility = ["//visibility:public"], - deps = BOOST_LOG_DEPS, -) - -boost_library( - name = "log", - srcs = glob([ - "libs/log/src/setup/*.hpp", - "libs/log/src/setup/*.cpp", - ]) + ["libs/locale/include/boost/locale/utf.hpp"], - copts = BOOST_LOG_CFLAGS + [ - "-Iexternal/%s/libs/log/src/" % _repo_dir, - ], - exclude_src = [ - "libs/log/src/dump_avx2.cpp", - "libs/log/src/dump_ssse3.cpp", - ], - local_defines = BOOST_LOG_DEFINES, - deps = BOOST_LOG_DEPS + BOOST_LOG_SSSE3_DEP, -) - -boost_library( - name = "statechart", -) - -boost_library( - name = "winapi", - visibility = ["//visibility:private"], -) - -boost_library( - name = "xpressive", - deps = [ - ":config", - ":core", - ":type_traits", - ], -) - -boost_library( - name = "property_map", - deps = [ - ":config", - ":core", - ":function", - ":lexical_cast", - ":type_traits", - ], -) - -boost_library( - name = "graph", - deps = [ - ":algorithm", - ":any", - ":assert", - ":concept", - ":concept_check", - ":config", - ":conversion", - ":core", - ":foreach", - ":function", - ":functional", - ":fusion", - ":integer", - ":intrusive_ptr", - ":iterator", - ":lexical_cast", - ":limits", - ":mpl", - ":multi_index", - ":operators", - ":optional", - ":parameter", - ":property_map", - ":property_tree", - ":proto", - ":range", - ":ref", - ":regex", - ":scoped_ptr", - ":spirit", - ":static_assert", - ":throw_exception", - ":tti", - ":tuple", - ":type_traits", - ":typeof", - ":unordered", - ":utility", - ":xpressive", - ], -) - -boost_library( - name = "lambda", - deps = [ - ":is_placeholder", - ], -) - -boost_library( - name = "lambda2", -) - -boost_library( - name = "sort", -) - -boost_library( - name = "contract", - deps = [ - ":any", - ":assert", - ":config", - ":detail", - ":exception", - ":function", - ":function_types", - ":mpl", - ":noncopyable", - ":optional", - ":preprocessor", - ":shared_ptr", - ":smart_ptr", - ":static_assert", - ":thread", - ":type_traits", - ":typeof", - ":utility", - ], -) - -boost_library( - name = "json", - deps = [ - ":align", - ":assert", - ":config", - ":container", - ":core", - ":describe", - ":exception", - ":mp11", - ":shared_ptr", - ":smart_ptr", - ":system", - ":throw_exception", - ":utility", - ], -) - -boost_library( - name = "leaf", -) - -boost_library( - name = "pfr", -) - -boost_library( - name = "histogram", - deps = [ - ":config", - ":core", - ":mp11", - ":throw_exception", - ":variant2", - ], -) - -boost_library( - name = "poly_collection", - deps = [ - ":assert", - ":config", - ":core", - ":iterator", - ":mp11", - ":type_erasure", - ":type_traits", - ], -) - -boost_library( - name = "type_erasure", - deps = [ - ":assert", - ":config", - ":fusion", - ":iterator", - ":mp11", - ":mpl", - ":preprocessor", - ":shared_ptr", - ":static_assert", - ":thread", - ":throw_exception", - ":type_traits", - ":typeof", - ":utility", - ":vmd", - ], -) - -boost_library( - name = "url", - srcs = glob([ - "libs/url/src/detail/**/*.cpp", - "libs/url/src/grammar/**/*.cpp", - "libs/url/src/rfc/**/*.cpp", - ]), - deps = [ - ":align", - ":assert", - ":config", - ":core", - ":mp11", - ":optional", - ":static_assert", - ":system", - ":throw_exception", - ":type_traits", - ":variant2", - ], -) diff --git a/third_party/rules_boost/boost/boost.bzl b/third_party/rules_boost/boost/boost.bzl deleted file mode 100644 index 8e7a8206..00000000 --- a/third_party/rules_boost/boost/boost.bzl +++ /dev/null @@ -1,174 +0,0 @@ -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") - -# Building boost results in many warnings. Downstream users won't be interested, so just disable them. -default_copts = select({ - "@platforms//os:windows": ["/W0"], - "//conditions:default": ["-w"], -}) - -default_defines = select({ - ":windows_x86_64": ["BOOST_ALL_NO_LIB"], # Turn auto_link off in MSVC compiler - "//conditions:default": [], -}) - -def srcs_list(library_name, exclude): - return native.glob( - ["libs/%s/src/*" % library_name], - exclude = ["**/*.asm", "**/*.S", "**/*.doc"] + exclude, - allow_empty = True, - ) - -def hdr_list(library_name, exclude = []): - return native.glob(["libs/%s/include/boost/**" % library_name], exclude = exclude, allow_empty = True) - -def boost_library( - name, - boost_name = None, - defines = [], - includes = [], - hdrs = [], - srcs = [], - copts = [], - exclude_hdr = [], - exclude_src = [], - visibility = ["//visibility:public"], - **kwargs): - if boost_name == None: - boost_name = name - - return native.cc_library( - name = name, - visibility = visibility, - defines = default_defines + defines, - includes = ["libs/%s/include" % boost_name] + includes, - hdrs = hdr_list(boost_name, exclude_hdr) + hdrs, - srcs = srcs_list(boost_name, exclude_src) + srcs, - copts = default_copts + copts, - licenses = ["notice"], - **kwargs - ) - -# Some boost libraries are not safe to use as dynamic libraries unless a -# BOOST_*_DYN_LINK define is set when they are compiled and included, notably -# Boost.Test. When the define is set, the libraries are not safe to use -# statically. This is an attempt to work around that. We build an explicit .so -# with cc_binary's linkshared=True and then we reimport it as a C++ library and -# expose it as a boost_library. - -def boost_so_library( - name, - boost_name = None, - defines = [], - includes = [], - hdrs = [], - srcs = [], - deps = [], - copts = [], - exclude_hdr = [], - exclude_src = [], - **kwargs): - if boost_name == None: - boost_name = name - - native.cc_binary( - name = "lib_internal_%s" % name, - defines = default_defines + defines, - includes = ["libs/%s/include" % boost_name] + includes, - srcs = hdr_list(boost_name, exclude_hdr) + hdrs + srcs_list(boost_name, exclude_src) + srcs, - deps = deps, - copts = default_copts + copts, - linkshared = True, - visibility = ["//visibility:private"], - **kwargs - ) - native.filegroup( - name = "%s_dll_interface_file" % name, - srcs = [":lib_internal_%s" % name], - output_group = "interface_library", - visibility = ["//visibility:private"], - ) - native.cc_import( - name = "_imported_%s" % name, - shared_library = ":lib_internal_%s" % name, - interface_library = ":%s_dll_interface_file" % name, - visibility = ["//visibility:private"], - ) - return boost_library( - name = name, - boost_name = boost_name, - defines = defines, - includes = includes, - hdrs = hdrs, - exclude_hdr = exclude_hdr, - exclude_src = native.glob(["**"]), - deps = deps + [":_imported_%s" % name], - **kwargs - ) - -def boost_deps(): - maybe( - http_archive, - name = "bazel_skylib", - url = "https://github.com/bazelbuild/bazel-skylib/releases/download/1.6.1/bazel-skylib-1.6.1.tar.gz", - sha256 = "9f38886a40548c6e96c106b752f242130ee11aaa068a56ba7e56f4511f33e4f2", - ) - - maybe( - http_archive, - name = "zlib", - build_file = "@com_github_nelhage_rules_boost//:zlib.BUILD", - url = "https://github.com/madler/zlib/releases/download/v1.3/zlib-1.3.tar.gz", - sha256 = "ff0ba4c292013dbc27530b3a81e1f9a813cd39de01ca5e0f8bf355702efa593e", - strip_prefix = "zlib-1.3", - ) - - maybe( - http_archive, - name = "org_bzip_bzip2", - build_file = "@com_github_nelhage_rules_boost//:bzip2.BUILD", - sha256 = "ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269", - strip_prefix = "bzip2-1.0.8", - urls = [ - "https://mirror.bazel.build/sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz", - "https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz", - ], - ) - - maybe( - http_archive, - name = "org_lzma_lzma", - build_file = "@com_github_nelhage_rules_boost//:lzma.BUILD", - url = "https://src.fedoraproject.org/lookaside/extras/xz/xz-5.4.6.tar.gz/sha512/b08a61d8d478d3b4675cb1ddacdbbd98dc6941a55bcdd81a28679e54e9367d3a595fa123ac97874a17da571c1b712e2a3e901c2737099a9d268616a1ba3de497/xz-5.4.6.tar.gz", - sha256 = "aeba3e03bf8140ddedf62a0a367158340520f6b384f75ca6045ccc6c0d43fd5c", - strip_prefix = "xz-5.4.6", - ) - - maybe( - http_archive, - name = "com_github_facebook_zstd", - build_file = "@com_github_nelhage_rules_boost//:zstd.BUILD", - url = "https://github.com/facebook/zstd/releases/download/v1.5.6/zstd-1.5.6.tar.gz", - sha256 = "8c29e06cf42aacc1eafc4077ae2ec6c6fcb96a626157e0593d5e82a34fd403c1", - strip_prefix = "zstd-1.5.6", - ) - - maybe( - http_archive, - name = "boost", - build_file = "@com_github_nelhage_rules_boost//:boost.BUILD", - patch_cmds = ["rm -f doc/pdf/BUILD"], - patch_cmds_win = ["Remove-Item -Force doc/pdf/BUILD"], - url = "https://github.com/boostorg/boost/releases/download/boost-1.84.0/boost-1.84.0.tar.gz", - sha256 = "4d27e9efed0f6f152dc28db6430b9d3dfb40c0345da7342eaa5a987dde57bd95", - strip_prefix = "boost-1.84.0", - ) - - # We're pointing at hedronvision's mirror of google/boringssl:master-with-bazel to get Renovate auto-update. Otherwise, Renovate will keep moving us back to master, which doesn't support Bazel. See https://github.com/renovatebot/renovate/discussions/24854 - maybe( - http_archive, - name = "openssl", - url = "https://github.com/hedronvision/boringssl/archive/0f1a639954dd7ab86f5f4ddd8b4e2edbea492acd.tar.gz", - sha256 = "7ce152bdce1b85344cc36c6b255aab36905d39187c2c2f797a69d5ad220076ee", - strip_prefix = "boringssl-0f1a639954dd7ab86f5f4ddd8b4e2edbea492acd", - ) diff --git a/third_party/rules_boost/bzip2.BUILD b/third_party/rules_boost/bzip2.BUILD deleted file mode 100644 index 7b8124d4..00000000 --- a/third_party/rules_boost/bzip2.BUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Description: -# bzip2 is a high-quality data compressor. - -load("@bazel_skylib//lib:selects.bzl", "selects") - -licenses(["notice"]) # BSD derivative - -alias( - name = "bz2lib", - actual = selects.with_or({ - ("@platforms//os:osx", "@platforms//os:ios", "@platforms//os:watchos", "@platforms//os:tvos"): ":bz2lib_system", - "//conditions:default": ":bz2lib_source", - }), - visibility = ["//visibility:public"], -) - -cc_library( - name = "bz2lib_source", - srcs = [ - "blocksort.c", - "bzlib.c", - "bzlib_private.h", - "compress.c", - "crctable.c", - "decompress.c", - "huffman.c", - "randtable.c", - ], - hdrs = [ - "bzlib.h", - ], - includes = ["."], -) - -# For OSs that bundle bz2lib -cc_library( - name = "bz2lib_system", - linkopts = ["-lbz2"], -) diff --git a/third_party/rules_boost/config.lzma-android.h b/third_party/rules_boost/config.lzma-android.h deleted file mode 100644 index 333beb80..00000000 --- a/third_party/rules_boost/config.lzma-android.h +++ /dev/null @@ -1,501 +0,0 @@ -/* config.h. Generated from config.h.in by configure. */ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* Define if building universal (internal helper macro) */ -/* #undef AC_APPLE_UNIVERSAL_BUILD */ - -/* How many MiB of RAM to assume if the real amount cannot be determined. */ -#define ASSUME_RAM 128 - -/* Define to 1 if translation of program messages to the user's native - language is requested. */ -#define ENABLE_NLS 1 - -/* Define to 1 if bswap_16 is available. */ -#define HAVE_BSWAP_16 1 - -/* Define to 1 if bswap_32 is available. */ -#define HAVE_BSWAP_32 1 - -/* Define to 1 if bswap_64 is available. */ -#define HAVE_BSWAP_64 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_BYTESWAP_H 1 - -/* Define to 1 if Capsicum is available. */ -/* #undef HAVE_CAPSICUM */ - -/* Define to 1 if the system has the type `CC_SHA256_CTX'. */ -/* #undef HAVE_CC_SHA256_CTX */ - -/* Define to 1 if you have the `CC_SHA256_Init' function. */ -/* #undef HAVE_CC_SHA256_INIT */ - -/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the - CoreFoundation framework. */ -/* #undef HAVE_CFLOCALECOPYCURRENT */ - -/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in - the CoreFoundation framework. */ -/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */ - -/* Define to 1 if crc32 integrity check is enabled. */ -#define HAVE_CHECK_CRC32 1 - -/* Define to 1 if crc64 integrity check is enabled. */ -#define HAVE_CHECK_CRC64 1 - -/* Define to 1 if sha256 integrity check is enabled. */ -#define HAVE_CHECK_SHA256 1 - -/* Define to 1 if you have the `clock_gettime' function. */ -#define HAVE_CLOCK_GETTIME 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_COMMONCRYPTO_COMMONDIGEST_H */ - -/* Define if the GNU dcgettext() function is already present or preinstalled. - */ -#define HAVE_DCGETTEXT 1 - -/* Define to 1 if you have the declaration of `CLOCK_MONOTONIC', and to 0 if - you don't. */ -#define HAVE_DECL_CLOCK_MONOTONIC 1 - -/* Define to 1 if you have the declaration of `program_invocation_name', and - to 0 if you don't. */ -#define HAVE_DECL_PROGRAM_INVOCATION_NAME 1 - -/* Define to 1 if any of HAVE_DECODER_foo have been defined. */ -#define HAVE_DECODERS 1 - -/* Define to 1 if arm decoder is enabled. */ -#define HAVE_DECODER_ARM 1 - -/* Define to 1 if armthumb decoder is enabled. */ -#define HAVE_DECODER_ARMTHUMB 1 - -/* Define to 1 if delta decoder is enabled. */ -#define HAVE_DECODER_DELTA 1 - -/* Define to 1 if ia64 decoder is enabled. */ -#define HAVE_DECODER_IA64 1 - -/* Define to 1 if lzma1 decoder is enabled. */ -#define HAVE_DECODER_LZMA1 1 - -/* Define to 1 if lzma2 decoder is enabled. */ -#define HAVE_DECODER_LZMA2 1 - -/* Define to 1 if powerpc decoder is enabled. */ -#define HAVE_DECODER_POWERPC 1 - -/* Define to 1 if sparc decoder is enabled. */ -#define HAVE_DECODER_SPARC 1 - -/* Define to 1 if x86 decoder is enabled. */ -#define HAVE_DECODER_X86 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_DLFCN_H 1 - -/* Define to 1 if any of HAVE_ENCODER_foo have been defined. */ -#define HAVE_ENCODERS 1 - -/* Define to 1 if arm encoder is enabled. */ -#define HAVE_ENCODER_ARM 1 - -/* Define to 1 if armthumb encoder is enabled. */ -#define HAVE_ENCODER_ARMTHUMB 1 - -/* Define to 1 if delta encoder is enabled. */ -#define HAVE_ENCODER_DELTA 1 - -/* Define to 1 if ia64 encoder is enabled. */ -#define HAVE_ENCODER_IA64 1 - -/* Define to 1 if lzma1 encoder is enabled. */ -#define HAVE_ENCODER_LZMA1 1 - -/* Define to 1 if lzma2 encoder is enabled. */ -#define HAVE_ENCODER_LZMA2 1 - -/* Define to 1 if powerpc encoder is enabled. */ -#define HAVE_ENCODER_POWERPC 1 - -/* Define to 1 if sparc encoder is enabled. */ -#define HAVE_ENCODER_SPARC 1 - -/* Define to 1 if x86 encoder is enabled. */ -#define HAVE_ENCODER_X86 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_FCNTL_H 1 - -/* Define to 1 if you have the `futimens' function. */ -#define HAVE_FUTIMENS 1 - -/* Define to 1 if you have the `futimes' function. */ -/* #undef HAVE_FUTIMES */ - -/* Define to 1 if you have the `futimesat' function. */ -/* #undef HAVE_FUTIMESAT */ - -/* Define to 1 if you have the header file. */ -#define HAVE_GETOPT_H 1 - -/* Define to 1 if you have the `getopt_long' function. */ -#define HAVE_GETOPT_LONG 1 - -/* Define if the GNU gettext() function is already present or preinstalled. */ -#define HAVE_GETTEXT 1 - -/* Define if you have the iconv() function and it works. */ -/* #undef HAVE_ICONV */ - -/* Define to 1 if you have the header file. */ -#undef HAVE_IMMINTRIN_H - -/* Define to 1 if you have the header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_LIMITS_H 1 - -/* Define to 1 if mbrtowc and mbstate_t are properly declared. */ -#define HAVE_MBRTOWC 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_MEMORY_H 1 - -/* Define to 1 to enable bt2 match finder. */ -#define HAVE_MF_BT2 1 - -/* Define to 1 to enable bt3 match finder. */ -#define HAVE_MF_BT3 1 - -/* Define to 1 to enable bt4 match finder. */ -#define HAVE_MF_BT4 1 - -/* Define to 1 to enable hc3 match finder. */ -#define HAVE_MF_HC3 1 - -/* Define to 1 to enable hc4 match finder. */ -#define HAVE_MF_HC4 1 - -/* Define to 1 if getopt.h declares extern int optreset. */ -/* #undef HAVE_OPTRESET */ - -/* Define to 1 if you have the `posix_fadvise' function. */ -#define HAVE_POSIX_FADVISE 1 - -/* Define to 1 if you have the `pthread_condattr_setclock' function. */ -#define HAVE_PTHREAD_CONDATTR_SETCLOCK 1 - -/* Have PTHREAD_PRIO_INHERIT. */ -#define HAVE_PTHREAD_PRIO_INHERIT 1 - -/* Define to 1 if you have the `SHA256Init' function. */ -/* #undef HAVE_SHA256INIT */ - -/* Define to 1 if the system has the type `SHA256_CTX'. */ -/* #undef HAVE_SHA256_CTX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SHA256_H */ - -/* Define to 1 if you have the `SHA256_Init' function. */ -/* #undef HAVE_SHA256_INIT */ - -/* Define to 1 if the system has the type `SHA2_CTX'. */ -/* #undef HAVE_SHA2_CTX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SHA2_H */ - -/* Define to 1 if optimizing for size. */ -/* #undef HAVE_SMALL */ - -/* Define to 1 if stdbool.h conforms to C99. */ -#define HAVE_STDBOOL_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRINGS_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 if `st_atimensec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */ - -/* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC */ - -/* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */ - -/* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */ -#define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1 - -/* Define to 1 if `st_uatime' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_UATIME */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_BYTEORDER_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_CAPSICUM_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_ENDIAN_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_PARAM_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_STAT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TIME_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define to 1 if the system has the type `uintptr_t'. */ -#define HAVE_UINTPTR_T 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_UNISTD_H 1 - -/* Define to 1 if you have the `utime' function. */ -/* #undef HAVE_UTIME */ - -/* Define to 1 if you have the `utimes' function. */ -/* #undef HAVE_UTIMES */ - -/* Define to 1 or 0, depending whether the compiler supports simple visibility - declarations. */ -#define HAVE_VISIBILITY 1 - -/* Define to 1 if you have the `wcwidth' function. */ -#define HAVE_WCWIDTH 1 - -/* Define to 1 if the system has the type `_Bool'. */ -#define HAVE__BOOL 1 - -/* Define to 1 if you have the `_futime' function. */ -/* #undef HAVE__FUTIME */ - -/* Define to 1 if _mm_movemask_epi8 is available. */ -#define HAVE__MM_MOVEMASK_EPI8 1 - -/* Define to the sub-directory where libtool stores uninstalled libraries. */ -#define LT_OBJDIR ".libs/" - -/* Define to 1 when using POSIX threads (pthreads). */ -#define MYTHREAD_POSIX 1 - -/* Define to 1 when using Windows Vista compatible threads. This uses features - that are not available on Windows XP. */ -/* #undef MYTHREAD_VISTA */ - -/* Define to 1 when using Windows 95 (and thus XP) compatible threads. This - avoids use of features that were added in Windows Vista. */ -/* #undef MYTHREAD_WIN95 */ - -/* Define to 1 to disable debugging code. */ -#define NDEBUG 1 - -/* Name of package */ -#define PACKAGE "xz" - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "lasse.collin@tukaani.org" - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "XZ Utils" - -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "XZ Utils 5.2.3" - -/* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "xz" - -/* Define to the home page for this package. */ -#define PACKAGE_URL "http://tukaani.org/xz/" - -/* Define to the version of this package. */ -#define PACKAGE_VERSION "5.2.3" - -/* Define to necessary symbol if this constant uses a non-standard name on - your system. */ -/* #undef PTHREAD_CREATE_JOINABLE */ - -/* The size of `size_t', as computed by sizeof. */ -#define SIZEOF_SIZE_T 8 - -/* Define to 1 if you have the ANSI C header files. */ -#define STDC_HEADERS 1 - -/* Define to 1 if the number of available CPU cores can be detected with - cpuset(2). */ -/* #undef TUKLIB_CPUCORES_CPUSET */ - -/* Define to 1 if the number of available CPU cores can be detected with - pstat_getdynamic(). */ -/* #undef TUKLIB_CPUCORES_PSTAT_GETDYNAMIC */ - -/* Define to 1 if the number of available CPU cores can be detected with - sched_getaffinity() */ -#define TUKLIB_CPUCORES_SCHED_GETAFFINITY 1 - -/* Define to 1 if the number of available CPU cores can be detected with - sysconf(_SC_NPROCESSORS_ONLN) or sysconf(_SC_NPROC_ONLN). */ -/* #undef TUKLIB_CPUCORES_SYSCONF */ - -/* Define to 1 if the number of available CPU cores can be detected with - sysctl(). */ -/* #undef TUKLIB_CPUCORES_SYSCTL */ - -/* Define to 1 if the system supports fast unaligned access to 16-bit and - 32-bit integers. */ -#undef TUKLIB_FAST_UNALIGNED_ACCESS - -/* Define to 1 if the amount of physical memory can be detected with - _system_configuration.physmem. */ -/* #undef TUKLIB_PHYSMEM_AIX */ - -/* Define to 1 if the amount of physical memory can be detected with - getinvent_r(). */ -/* #undef TUKLIB_PHYSMEM_GETINVENT_R */ - -/* Define to 1 if the amount of physical memory can be detected with - getsysinfo(). */ -/* #undef TUKLIB_PHYSMEM_GETSYSINFO */ - -/* Define to 1 if the amount of physical memory can be detected with - pstat_getstatic(). */ -/* #undef TUKLIB_PHYSMEM_PSTAT_GETSTATIC */ - -/* Define to 1 if the amount of physical memory can be detected with - sysconf(_SC_PAGESIZE) and sysconf(_SC_PHYS_PAGES). */ -#define TUKLIB_PHYSMEM_SYSCONF 1 - -/* Define to 1 if the amount of physical memory can be detected with sysctl(). - */ -/* #undef TUKLIB_PHYSMEM_SYSCTL */ - -/* Define to 1 if the amount of physical memory can be detected with Linux - sysinfo(). */ -/* #undef TUKLIB_PHYSMEM_SYSINFO */ - -/* Enable extensions on AIX 3, Interix. */ -#ifndef _ALL_SOURCE -#define _ALL_SOURCE 1 -#endif -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -#define _GNU_SOURCE 1 -#endif -/* Enable threading extensions on Solaris. */ -#ifndef _POSIX_PTHREAD_SEMANTICS -#define _POSIX_PTHREAD_SEMANTICS 1 -#endif -/* Enable extensions on HP NonStop. */ -#ifndef _TANDEM_SOURCE -#define _TANDEM_SOURCE 1 -#endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -#define __EXTENSIONS__ 1 -#endif - -/* Version number of package */ -#define VERSION "5.2.3" - -/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most - significant byte first (like Motorola and SPARC, unlike Intel). */ -#if defined AC_APPLE_UNIVERSAL_BUILD -#if defined __BIG_ENDIAN__ -#define WORDS_BIGENDIAN 1 -#endif -#else -#ifndef WORDS_BIGENDIAN -/* # undef WORDS_BIGENDIAN */ -#endif -#endif - -/* Enable large inode numbers on Mac OS X 10.5. */ -#ifndef _DARWIN_USE_64_BIT_INODE -#define _DARWIN_USE_64_BIT_INODE 1 -#endif - -/* Number of bits in a file offset, on hosts where this is settable. */ -/* #undef _FILE_OFFSET_BITS */ - -/* Define for large files, on AIX-style hosts. */ -/* #undef _LARGE_FILES */ - -/* Define to 1 if on MINIX. */ -/* #undef _MINIX */ - -/* Define to 2 if the system does not provide POSIX.1 features except with - this defined. */ -/* #undef _POSIX_1_SOURCE */ - -/* Define to 1 if you need to in order for `stat' and other things to work. */ -/* #undef _POSIX_SOURCE */ - -/* Define for Solaris 2.5.1 so the uint32_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT32_T */ - -/* Define for Solaris 2.5.1 so the uint64_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT64_T */ - -/* Define for Solaris 2.5.1 so the uint8_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT8_T */ - -/* Define to rpl_ if the getopt replacement functions and variables should be - used. */ -/* #undef __GETOPT_PREFIX */ - -/* Define to the type of a signed integer type of width exactly 32 bits if - such a type exists and the standard includes do not define it. */ -/* #undef int32_t */ - -/* Define to the type of a signed integer type of width exactly 64 bits if - such a type exists and the standard includes do not define it. */ -/* #undef int64_t */ - -/* Define to the type of an unsigned integer type of width exactly 16 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint16_t */ - -/* Define to the type of an unsigned integer type of width exactly 32 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint32_t */ - -/* Define to the type of an unsigned integer type of width exactly 64 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint64_t */ - -/* Define to the type of an unsigned integer type of width exactly 8 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint8_t */ - -/* Define to the type of an unsigned integer type wide enough to hold a - pointer, if such a type exists, and if the system does not define it. */ -/* #undef uintptr_t */ diff --git a/third_party/rules_boost/config.lzma-ios-arm64.h b/third_party/rules_boost/config.lzma-ios-arm64.h deleted file mode 100644 index de9ce8b6..00000000 --- a/third_party/rules_boost/config.lzma-ios-arm64.h +++ /dev/null @@ -1,602 +0,0 @@ -/* config.h. Generated from config.h.in by configure. */ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* Define if building universal (internal helper macro) */ -/* #undef AC_APPLE_UNIVERSAL_BUILD */ - -/* How many MiB of RAM to assume if the real amount cannot be determined. */ -#define ASSUME_RAM 128 - -/* Define to 1 if translation of program messages to the user's native - language is requested. */ -/* #undef ENABLE_NLS */ - -/* Define to 1 if bswap_16 is available. */ -/* #undef HAVE_BSWAP_16 */ - -/* Define to 1 if bswap_32 is available. */ -/* #undef HAVE_BSWAP_32 */ - -/* Define to 1 if bswap_64 is available. */ -/* #undef HAVE_BSWAP_64 */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_BYTESWAP_H */ - -/* Define to 1 if Capsicum is available. */ -/* #undef HAVE_CAPSICUM */ - -/* Define to 1 if the system has the type `CC_SHA256_CTX'. */ -/* #undef HAVE_CC_SHA256_CTX */ - -/* Define to 1 if you have the `CC_SHA256_Init' function. */ -/* #undef HAVE_CC_SHA256_INIT */ - -/* Define to 1 if you have the Mac OS X function - CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ -#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1 - -/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in - the CoreFoundation framework. */ -#define HAVE_CFPREFERENCESCOPYAPPVALUE 1 - -/* Define to 1 if crc32 integrity check is enabled. */ -#define HAVE_CHECK_CRC32 1 - -/* Define to 1 if crc64 integrity check is enabled. */ -#define HAVE_CHECK_CRC64 1 - -/* Define to 1 if sha256 integrity check is enabled. */ -#define HAVE_CHECK_SHA256 1 - -/* Define to 1 if you have the `clock_gettime' function. */ -#define HAVE_CLOCK_GETTIME 1 - -/* Define to 1 if `CLOCK_MONOTONIC' is declared in . */ -#define HAVE_CLOCK_MONOTONIC 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_COMMONCRYPTO_COMMONDIGEST_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_CPUID_H */ - -/* Define if the GNU dcgettext() function is already present or preinstalled. - */ -/* #undef HAVE_DCGETTEXT */ - -/* Define to 1 if any of HAVE_DECODER_foo have been defined. */ -#define HAVE_DECODERS 1 - -/* Define to 1 if arm decoder is enabled. */ -#define HAVE_DECODER_ARM 1 - -/* Define to 1 if arm64 decoder is enabled. */ -#define HAVE_DECODER_ARM64 1 - -/* Define to 1 if armthumb decoder is enabled. */ -#define HAVE_DECODER_ARMTHUMB 1 - -/* Define to 1 if delta decoder is enabled. */ -#define HAVE_DECODER_DELTA 1 - -/* Define to 1 if ia64 decoder is enabled. */ -#define HAVE_DECODER_IA64 1 - -/* Define to 1 if lzma1 decoder is enabled. */ -#define HAVE_DECODER_LZMA1 1 - -/* Define to 1 if lzma2 decoder is enabled. */ -#define HAVE_DECODER_LZMA2 1 - -/* Define to 1 if powerpc decoder is enabled. */ -#define HAVE_DECODER_POWERPC 1 - -/* Define to 1 if sparc decoder is enabled. */ -#define HAVE_DECODER_SPARC 1 - -/* Define to 1 if x86 decoder is enabled. */ -#define HAVE_DECODER_X86 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_DLFCN_H 1 - -/* Define to 1 if any of HAVE_ENCODER_foo have been defined. */ -#define HAVE_ENCODERS 1 - -/* Define to 1 if arm encoder is enabled. */ -#define HAVE_ENCODER_ARM 1 - -/* Define to 1 if arm64 encoder is enabled. */ -#define HAVE_ENCODER_ARM64 1 - -/* Define to 1 if armthumb encoder is enabled. */ -#define HAVE_ENCODER_ARMTHUMB 1 - -/* Define to 1 if delta encoder is enabled. */ -#define HAVE_ENCODER_DELTA 1 - -/* Define to 1 if ia64 encoder is enabled. */ -#define HAVE_ENCODER_IA64 1 - -/* Define to 1 if lzma1 encoder is enabled. */ -#define HAVE_ENCODER_LZMA1 1 - -/* Define to 1 if lzma2 encoder is enabled. */ -#define HAVE_ENCODER_LZMA2 1 - -/* Define to 1 if powerpc encoder is enabled. */ -#define HAVE_ENCODER_POWERPC 1 - -/* Define to 1 if sparc encoder is enabled. */ -#define HAVE_ENCODER_SPARC 1 - -/* Define to 1 if x86 encoder is enabled. */ -#define HAVE_ENCODER_X86 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_FCNTL_H 1 - -/* Define to 1 if __attribute__((__constructor__)) is supported for functions. - */ -#define HAVE_FUNC_ATTRIBUTE_CONSTRUCTOR 1 - -/* Define to 1 if you have the `futimens' function. */ -#define HAVE_FUTIMENS 1 - -/* Define to 1 if you have the `futimes' function. */ -/* #undef HAVE_FUTIMES */ - -/* Define to 1 if you have the `futimesat' function. */ -/* #undef HAVE_FUTIMESAT */ - -/* Define to 1 if you have the header file. */ -#define HAVE_GETOPT_H 1 - -/* Define to 1 if you have the `getopt_long' function. */ -#define HAVE_GETOPT_LONG 1 - -/* Define if the GNU gettext() function is already present or preinstalled. */ -/* #undef HAVE_GETTEXT */ - -/* Define if you have the iconv() function and it works. */ -#define HAVE_ICONV 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_IMMINTRIN_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_LIMITS_H 1 - -/* Define to 1 if .lz (lzip) decompression support is enabled. */ -#define HAVE_LZIP_DECODER 1 - -/* Define to 1 if mbrtowc and mbstate_t are properly declared. */ -#define HAVE_MBRTOWC 1 - -/* Define to 1 to enable bt2 match finder. */ -#define HAVE_MF_BT2 1 - -/* Define to 1 to enable bt3 match finder. */ -#define HAVE_MF_BT3 1 - -/* Define to 1 to enable bt4 match finder. */ -#define HAVE_MF_BT4 1 - -/* Define to 1 to enable hc3 match finder. */ -#define HAVE_MF_HC3 1 - -/* Define to 1 to enable hc4 match finder. */ -#define HAVE_MF_HC4 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_MINIX_CONFIG_H */ - -/* Define to 1 if getopt.h declares extern int optreset. */ -#define HAVE_OPTRESET 1 - -/* Define to 1 if you have the `pledge' function. */ -/* #undef HAVE_PLEDGE */ - -/* Define to 1 if you have the `posix_fadvise' function. */ -/* #undef HAVE_POSIX_FADVISE */ - -/* Define to 1 if `program_invocation_name' is declared in . */ -/* #undef HAVE_PROGRAM_INVOCATION_NAME */ - -/* Define to 1 if you have the `pthread_condattr_setclock' function. */ -/* #undef HAVE_PTHREAD_CONDATTR_SETCLOCK */ - -/* Have PTHREAD_PRIO_INHERIT. */ -#define HAVE_PTHREAD_PRIO_INHERIT 1 - -/* Define to 1 if you have the `SHA256Init' function. */ -/* #undef HAVE_SHA256INIT */ - -/* Define to 1 if the system has the type `SHA256_CTX'. */ -/* #undef HAVE_SHA256_CTX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SHA256_H */ - -/* Define to 1 if you have the `SHA256_Init' function. */ -/* #undef HAVE_SHA256_INIT */ - -/* Define to 1 if the system has the type `SHA2_CTX'. */ -/* #undef HAVE_SHA2_CTX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SHA2_H */ - -/* Define to 1 if optimizing for size. */ -/* #undef HAVE_SMALL */ - -/* Define to 1 if stdbool.h conforms to C99. */ -#define HAVE_STDBOOL_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDIO_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRINGS_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 if `st_atimensec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */ - -/* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */ -#define HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1 - -/* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */ - -/* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC */ - -/* Define to 1 if `st_uatime' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_UATIME */ - -/* Define to 1 to if GNU/Linux-specific details are unconditionally wanted for - symbol versioning. Define to 2 to if these are wanted only if also PIC is - defined (allows building both shared and static liblzma at the same time - with Libtool if neither --with-pic nor --without-pic is used). This define - must be used together with liblzma_linux.map. */ -/* #undef HAVE_SYMBOL_VERSIONS_LINUX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_BYTEORDER_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_CAPSICUM_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_ENDIAN_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_PARAM_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_STAT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TIME_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define to 1 if the system has the type `uintptr_t'. */ -#define HAVE_UINTPTR_T 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_UNISTD_H 1 - -/* Define to 1 if _mm_set_epi64x and _mm_clmulepi64_si128 are usable. See - configure.ac for details. */ -/* #undef HAVE_USABLE_CLMUL */ - -/* Define to 1 if you have the `utime' function. */ -/* #undef HAVE_UTIME */ - -/* Define to 1 if you have the `utimes' function. */ -/* #undef HAVE_UTIMES */ - -/* Define to 1 or 0, depending whether the compiler supports simple visibility - declarations. */ -#define HAVE_VISIBILITY 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_WCHAR_H 1 - -/* Define to 1 if you have the `wcwidth' function. */ -#define HAVE_WCWIDTH 1 - -/* Define to 1 if the system has the type `_Bool'. */ -#define HAVE__BOOL 1 - -/* Define to 1 if you have the `_futime' function. */ -/* #undef HAVE__FUTIME */ - -/* Define to 1 if _mm_movemask_epi8 is available. */ -/* #undef HAVE__MM_MOVEMASK_EPI8 */ - -/* Define to 1 if the GNU C extension __builtin_assume_aligned is supported. - */ -#define HAVE___BUILTIN_ASSUME_ALIGNED 1 - -/* Define to 1 if the GNU C extensions __builtin_bswap16/32/64 are supported. - */ -#define HAVE___BUILTIN_BSWAPXX 1 - -/* Define to the sub-directory where libtool stores uninstalled libraries. */ -#define LT_OBJDIR ".libs/" - -/* Define to 1 when using POSIX threads (pthreads). */ -#define MYTHREAD_POSIX 1 - -/* Define to 1 when using Windows Vista compatible threads. This uses features - that are not available on Windows XP. */ -/* #undef MYTHREAD_VISTA */ - -/* Define to 1 when using Windows 95 (and thus XP) compatible threads. This - avoids use of features that were added in Windows Vista. */ -/* #undef MYTHREAD_WIN95 */ - -/* Define to 1 to disable debugging code. */ -#define NDEBUG 1 - -/* Name of package */ -#define PACKAGE "xz" - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "xz@tukaani.org" - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "XZ Utils" - -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "XZ Utils 5.4.2" - -/* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "xz" - -/* Define to the home page for this package. */ -#define PACKAGE_URL "https://tukaani.org/xz/" - -/* Define to the version of this package. */ -#define PACKAGE_VERSION "5.4.2" - -/* Define to necessary symbol if this constant uses a non-standard name on - your system. */ -/* #undef PTHREAD_CREATE_JOINABLE */ - -/* The size of `size_t', as computed by sizeof. */ -#define SIZEOF_SIZE_T 8 - -/* Define to 1 if all of the C90 standard headers exist (not just the ones - required in a freestanding environment). This macro is provided for - backward compatibility; new code need not use it. */ -#define STDC_HEADERS 1 - -/* Define to 1 if the number of available CPU cores can be detected with - cpuset(2). */ -/* #undef TUKLIB_CPUCORES_CPUSET */ - -/* Define to 1 if the number of available CPU cores can be detected with - pstat_getdynamic(). */ -/* #undef TUKLIB_CPUCORES_PSTAT_GETDYNAMIC */ - -/* Define to 1 if the number of available CPU cores can be detected with - sched_getaffinity() */ -/* #undef TUKLIB_CPUCORES_SCHED_GETAFFINITY */ - -/* Define to 1 if the number of available CPU cores can be detected with - sysconf(_SC_NPROCESSORS_ONLN) or sysconf(_SC_NPROC_ONLN). */ -/* #undef TUKLIB_CPUCORES_SYSCONF */ - -/* Define to 1 if the number of available CPU cores can be detected with - sysctl(). */ -#define TUKLIB_CPUCORES_SYSCTL 1 - -/* Define to 1 if the system supports fast unaligned access to 16-bit, 32-bit, - and 64-bit integers. */ -#define TUKLIB_FAST_UNALIGNED_ACCESS 1 - -/* Define to 1 if the amount of physical memory can be detected with - _system_configuration.physmem. */ -/* #undef TUKLIB_PHYSMEM_AIX */ - -/* Define to 1 if the amount of physical memory can be detected with - getinvent_r(). */ -/* #undef TUKLIB_PHYSMEM_GETINVENT_R */ - -/* Define to 1 if the amount of physical memory can be detected with - getsysinfo(). */ -/* #undef TUKLIB_PHYSMEM_GETSYSINFO */ - -/* Define to 1 if the amount of physical memory can be detected with - pstat_getstatic(). */ -/* #undef TUKLIB_PHYSMEM_PSTAT_GETSTATIC */ - -/* Define to 1 if the amount of physical memory can be detected with - sysconf(_SC_PAGESIZE) and sysconf(_SC_PHYS_PAGES). */ -#define TUKLIB_PHYSMEM_SYSCONF 1 - -/* Define to 1 if the amount of physical memory can be detected with sysctl(). - */ -/* #undef TUKLIB_PHYSMEM_SYSCTL */ - -/* Define to 1 if the amount of physical memory can be detected with Linux - sysinfo(). */ -/* #undef TUKLIB_PHYSMEM_SYSINFO */ - -/* Define to 1 to use unsafe type punning, e.g. char *x = ...; *(int *)x = - 123; which violates strict aliasing rules and thus is undefined behavior - and might result in broken code. */ -/* #undef TUKLIB_USE_UNSAFE_TYPE_PUNNING */ - -/* Enable extensions on AIX 3, Interix. */ -#ifndef _ALL_SOURCE -# define _ALL_SOURCE 1 -#endif -/* Enable general extensions on macOS. */ -#ifndef _DARWIN_C_SOURCE -# define _DARWIN_C_SOURCE 1 -#endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -# define __EXTENSIONS__ 1 -#endif -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 -#endif -/* Enable X/Open compliant socket functions that do not require linking - with -lxnet on HP-UX 11.11. */ -#ifndef _HPUX_ALT_XOPEN_SOCKET_API -# define _HPUX_ALT_XOPEN_SOCKET_API 1 -#endif -/* Identify the host operating system as Minix. - This macro does not affect the system headers' behavior. - A future release of Autoconf may stop defining this macro. */ -#ifndef _MINIX -/* # undef _MINIX */ -#endif -/* Enable general extensions on NetBSD. - Enable NetBSD compatibility extensions on Minix. */ -#ifndef _NETBSD_SOURCE -# define _NETBSD_SOURCE 1 -#endif -/* Enable OpenBSD compatibility extensions on NetBSD. - Oddly enough, this does nothing on OpenBSD. */ -#ifndef _OPENBSD_SOURCE -# define _OPENBSD_SOURCE 1 -#endif -/* Define to 1 if needed for POSIX-compatible behavior. */ -#ifndef _POSIX_SOURCE -/* # undef _POSIX_SOURCE */ -#endif -/* Define to 2 if needed for POSIX-compatible behavior. */ -#ifndef _POSIX_1_SOURCE -/* # undef _POSIX_1_SOURCE */ -#endif -/* Enable POSIX-compatible threading on Solaris. */ -#ifndef _POSIX_PTHREAD_SEMANTICS -# define _POSIX_PTHREAD_SEMANTICS 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ -#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ -# define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ -#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ -# define __STDC_WANT_IEC_60559_BFP_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ -#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ -# define __STDC_WANT_IEC_60559_DFP_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ -#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ -# define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ -#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ -# define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ -#ifndef __STDC_WANT_LIB_EXT2__ -# define __STDC_WANT_LIB_EXT2__ 1 -#endif -/* Enable extensions specified by ISO/IEC 24747:2009. */ -#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ -# define __STDC_WANT_MATH_SPEC_FUNCS__ 1 -#endif -/* Enable extensions on HP NonStop. */ -#ifndef _TANDEM_SOURCE -# define _TANDEM_SOURCE 1 -#endif -/* Enable X/Open extensions. Define to 500 only if necessary - to make mbstate_t available. */ -#ifndef _XOPEN_SOURCE -/* # undef _XOPEN_SOURCE */ -#endif - - -/* Version number of package */ -#define VERSION "5.4.2" - -/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most - significant byte first (like Motorola and SPARC, unlike Intel). */ -#if defined AC_APPLE_UNIVERSAL_BUILD -# if defined __BIG_ENDIAN__ -# define WORDS_BIGENDIAN 1 -# endif -#else -# ifndef WORDS_BIGENDIAN -/* # undef WORDS_BIGENDIAN */ -# endif -#endif - -/* Number of bits in a file offset, on hosts where this is settable. */ -/* #undef _FILE_OFFSET_BITS */ - -/* Define for large files, on AIX-style hosts. */ -/* #undef _LARGE_FILES */ - -/* Define for Solaris 2.5.1 so the uint32_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT32_T */ - -/* Define for Solaris 2.5.1 so the uint64_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT64_T */ - -/* Define for Solaris 2.5.1 so the uint8_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT8_T */ - -/* Define to rpl_ if the getopt replacement functions and variables should be - used. */ -/* #undef __GETOPT_PREFIX */ - -/* Define to the type of a signed integer type of width exactly 32 bits if - such a type exists and the standard includes do not define it. */ -/* #undef int32_t */ - -/* Define to the type of a signed integer type of width exactly 64 bits if - such a type exists and the standard includes do not define it. */ -/* #undef int64_t */ - -/* Define to the type of an unsigned integer type of width exactly 16 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint16_t */ - -/* Define to the type of an unsigned integer type of width exactly 32 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint32_t */ - -/* Define to the type of an unsigned integer type of width exactly 64 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint64_t */ - -/* Define to the type of an unsigned integer type of width exactly 8 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint8_t */ - -/* Define to the type of an unsigned integer type wide enough to hold a - pointer, if such a type exists, and if the system does not define it. */ -/* #undef uintptr_t */ diff --git a/third_party/rules_boost/config.lzma-ios-armv7.h b/third_party/rules_boost/config.lzma-ios-armv7.h deleted file mode 100644 index 0661ab80..00000000 --- a/third_party/rules_boost/config.lzma-ios-armv7.h +++ /dev/null @@ -1,602 +0,0 @@ -/* config.h. Generated from config.h.in by configure. */ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* Define if building universal (internal helper macro) */ -/* #undef AC_APPLE_UNIVERSAL_BUILD */ - -/* How many MiB of RAM to assume if the real amount cannot be determined. */ -#define ASSUME_RAM 128 - -/* Define to 1 if translation of program messages to the user's native - language is requested. */ -/* #undef ENABLE_NLS */ - -/* Define to 1 if bswap_16 is available. */ -/* #undef HAVE_BSWAP_16 */ - -/* Define to 1 if bswap_32 is available. */ -/* #undef HAVE_BSWAP_32 */ - -/* Define to 1 if bswap_64 is available. */ -/* #undef HAVE_BSWAP_64 */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_BYTESWAP_H */ - -/* Define to 1 if Capsicum is available. */ -/* #undef HAVE_CAPSICUM */ - -/* Define to 1 if the system has the type `CC_SHA256_CTX'. */ -/* #undef HAVE_CC_SHA256_CTX */ - -/* Define to 1 if you have the `CC_SHA256_Init' function. */ -/* #undef HAVE_CC_SHA256_INIT */ - -/* Define to 1 if you have the Mac OS X function - CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ -#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1 - -/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in - the CoreFoundation framework. */ -#define HAVE_CFPREFERENCESCOPYAPPVALUE 1 - -/* Define to 1 if crc32 integrity check is enabled. */ -#define HAVE_CHECK_CRC32 1 - -/* Define to 1 if crc64 integrity check is enabled. */ -#define HAVE_CHECK_CRC64 1 - -/* Define to 1 if sha256 integrity check is enabled. */ -#define HAVE_CHECK_SHA256 1 - -/* Define to 1 if you have the `clock_gettime' function. */ -#define HAVE_CLOCK_GETTIME 1 - -/* Define to 1 if `CLOCK_MONOTONIC' is declared in . */ -#define HAVE_CLOCK_MONOTONIC 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_COMMONCRYPTO_COMMONDIGEST_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_CPUID_H */ - -/* Define if the GNU dcgettext() function is already present or preinstalled. - */ -/* #undef HAVE_DCGETTEXT */ - -/* Define to 1 if any of HAVE_DECODER_foo have been defined. */ -#define HAVE_DECODERS 1 - -/* Define to 1 if arm decoder is enabled. */ -#define HAVE_DECODER_ARM 1 - -/* Define to 1 if arm64 decoder is enabled. */ -#define HAVE_DECODER_ARM64 1 - -/* Define to 1 if armthumb decoder is enabled. */ -#define HAVE_DECODER_ARMTHUMB 1 - -/* Define to 1 if delta decoder is enabled. */ -#define HAVE_DECODER_DELTA 1 - -/* Define to 1 if ia64 decoder is enabled. */ -#define HAVE_DECODER_IA64 1 - -/* Define to 1 if lzma1 decoder is enabled. */ -#define HAVE_DECODER_LZMA1 1 - -/* Define to 1 if lzma2 decoder is enabled. */ -#define HAVE_DECODER_LZMA2 1 - -/* Define to 1 if powerpc decoder is enabled. */ -#define HAVE_DECODER_POWERPC 1 - -/* Define to 1 if sparc decoder is enabled. */ -#define HAVE_DECODER_SPARC 1 - -/* Define to 1 if x86 decoder is enabled. */ -#define HAVE_DECODER_X86 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_DLFCN_H 1 - -/* Define to 1 if any of HAVE_ENCODER_foo have been defined. */ -#define HAVE_ENCODERS 1 - -/* Define to 1 if arm encoder is enabled. */ -#define HAVE_ENCODER_ARM 1 - -/* Define to 1 if arm64 encoder is enabled. */ -#define HAVE_ENCODER_ARM64 1 - -/* Define to 1 if armthumb encoder is enabled. */ -#define HAVE_ENCODER_ARMTHUMB 1 - -/* Define to 1 if delta encoder is enabled. */ -#define HAVE_ENCODER_DELTA 1 - -/* Define to 1 if ia64 encoder is enabled. */ -#define HAVE_ENCODER_IA64 1 - -/* Define to 1 if lzma1 encoder is enabled. */ -#define HAVE_ENCODER_LZMA1 1 - -/* Define to 1 if lzma2 encoder is enabled. */ -#define HAVE_ENCODER_LZMA2 1 - -/* Define to 1 if powerpc encoder is enabled. */ -#define HAVE_ENCODER_POWERPC 1 - -/* Define to 1 if sparc encoder is enabled. */ -#define HAVE_ENCODER_SPARC 1 - -/* Define to 1 if x86 encoder is enabled. */ -#define HAVE_ENCODER_X86 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_FCNTL_H 1 - -/* Define to 1 if __attribute__((__constructor__)) is supported for functions. - */ -#define HAVE_FUNC_ATTRIBUTE_CONSTRUCTOR 1 - -/* Define to 1 if you have the `futimens' function. */ -#define HAVE_FUTIMENS 1 - -/* Define to 1 if you have the `futimes' function. */ -/* #undef HAVE_FUTIMES */ - -/* Define to 1 if you have the `futimesat' function. */ -/* #undef HAVE_FUTIMESAT */ - -/* Define to 1 if you have the header file. */ -#define HAVE_GETOPT_H 1 - -/* Define to 1 if you have the `getopt_long' function. */ -#define HAVE_GETOPT_LONG 1 - -/* Define if the GNU gettext() function is already present or preinstalled. */ -/* #undef HAVE_GETTEXT */ - -/* Define if you have the iconv() function and it works. */ -#define HAVE_ICONV 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_IMMINTRIN_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_LIMITS_H 1 - -/* Define to 1 if .lz (lzip) decompression support is enabled. */ -#define HAVE_LZIP_DECODER 1 - -/* Define to 1 if mbrtowc and mbstate_t are properly declared. */ -#define HAVE_MBRTOWC 1 - -/* Define to 1 to enable bt2 match finder. */ -#define HAVE_MF_BT2 1 - -/* Define to 1 to enable bt3 match finder. */ -#define HAVE_MF_BT3 1 - -/* Define to 1 to enable bt4 match finder. */ -#define HAVE_MF_BT4 1 - -/* Define to 1 to enable hc3 match finder. */ -#define HAVE_MF_HC3 1 - -/* Define to 1 to enable hc4 match finder. */ -#define HAVE_MF_HC4 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_MINIX_CONFIG_H */ - -/* Define to 1 if getopt.h declares extern int optreset. */ -#define HAVE_OPTRESET 1 - -/* Define to 1 if you have the `pledge' function. */ -/* #undef HAVE_PLEDGE */ - -/* Define to 1 if you have the `posix_fadvise' function. */ -/* #undef HAVE_POSIX_FADVISE */ - -/* Define to 1 if `program_invocation_name' is declared in . */ -/* #undef HAVE_PROGRAM_INVOCATION_NAME */ - -/* Define to 1 if you have the `pthread_condattr_setclock' function. */ -/* #undef HAVE_PTHREAD_CONDATTR_SETCLOCK */ - -/* Have PTHREAD_PRIO_INHERIT. */ -#define HAVE_PTHREAD_PRIO_INHERIT 1 - -/* Define to 1 if you have the `SHA256Init' function. */ -/* #undef HAVE_SHA256INIT */ - -/* Define to 1 if the system has the type `SHA256_CTX'. */ -/* #undef HAVE_SHA256_CTX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SHA256_H */ - -/* Define to 1 if you have the `SHA256_Init' function. */ -/* #undef HAVE_SHA256_INIT */ - -/* Define to 1 if the system has the type `SHA2_CTX'. */ -/* #undef HAVE_SHA2_CTX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SHA2_H */ - -/* Define to 1 if optimizing for size. */ -/* #undef HAVE_SMALL */ - -/* Define to 1 if stdbool.h conforms to C99. */ -#define HAVE_STDBOOL_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDIO_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRINGS_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 if `st_atimensec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */ - -/* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */ -#define HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1 - -/* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */ - -/* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC */ - -/* Define to 1 if `st_uatime' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_UATIME */ - -/* Define to 1 to if GNU/Linux-specific details are unconditionally wanted for - symbol versioning. Define to 2 to if these are wanted only if also PIC is - defined (allows building both shared and static liblzma at the same time - with Libtool if neither --with-pic nor --without-pic is used). This define - must be used together with liblzma_linux.map. */ -/* #undef HAVE_SYMBOL_VERSIONS_LINUX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_BYTEORDER_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_CAPSICUM_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_ENDIAN_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_PARAM_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_STAT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TIME_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define to 1 if the system has the type `uintptr_t'. */ -#define HAVE_UINTPTR_T 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_UNISTD_H 1 - -/* Define to 1 if _mm_set_epi64x and _mm_clmulepi64_si128 are usable. See - configure.ac for details. */ -/* #undef HAVE_USABLE_CLMUL */ - -/* Define to 1 if you have the `utime' function. */ -/* #undef HAVE_UTIME */ - -/* Define to 1 if you have the `utimes' function. */ -/* #undef HAVE_UTIMES */ - -/* Define to 1 or 0, depending whether the compiler supports simple visibility - declarations. */ -#define HAVE_VISIBILITY 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_WCHAR_H 1 - -/* Define to 1 if you have the `wcwidth' function. */ -#define HAVE_WCWIDTH 1 - -/* Define to 1 if the system has the type `_Bool'. */ -#define HAVE__BOOL 1 - -/* Define to 1 if you have the `_futime' function. */ -/* #undef HAVE__FUTIME */ - -/* Define to 1 if _mm_movemask_epi8 is available. */ -/* #undef HAVE__MM_MOVEMASK_EPI8 */ - -/* Define to 1 if the GNU C extension __builtin_assume_aligned is supported. - */ -#define HAVE___BUILTIN_ASSUME_ALIGNED 1 - -/* Define to 1 if the GNU C extensions __builtin_bswap16/32/64 are supported. - */ -#define HAVE___BUILTIN_BSWAPXX 1 - -/* Define to the sub-directory where libtool stores uninstalled libraries. */ -#define LT_OBJDIR ".libs/" - -/* Define to 1 when using POSIX threads (pthreads). */ -#define MYTHREAD_POSIX 1 - -/* Define to 1 when using Windows Vista compatible threads. This uses features - that are not available on Windows XP. */ -/* #undef MYTHREAD_VISTA */ - -/* Define to 1 when using Windows 95 (and thus XP) compatible threads. This - avoids use of features that were added in Windows Vista. */ -/* #undef MYTHREAD_WIN95 */ - -/* Define to 1 to disable debugging code. */ -#define NDEBUG 1 - -/* Name of package */ -#define PACKAGE "xz" - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "xz@tukaani.org" - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "XZ Utils" - -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "XZ Utils 5.4.2" - -/* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "xz" - -/* Define to the home page for this package. */ -#define PACKAGE_URL "https://tukaani.org/xz/" - -/* Define to the version of this package. */ -#define PACKAGE_VERSION "5.4.2" - -/* Define to necessary symbol if this constant uses a non-standard name on - your system. */ -/* #undef PTHREAD_CREATE_JOINABLE */ - -/* The size of `size_t', as computed by sizeof. */ -#define SIZEOF_SIZE_T 4 - -/* Define to 1 if all of the C90 standard headers exist (not just the ones - required in a freestanding environment). This macro is provided for - backward compatibility; new code need not use it. */ -#define STDC_HEADERS 1 - -/* Define to 1 if the number of available CPU cores can be detected with - cpuset(2). */ -/* #undef TUKLIB_CPUCORES_CPUSET */ - -/* Define to 1 if the number of available CPU cores can be detected with - pstat_getdynamic(). */ -/* #undef TUKLIB_CPUCORES_PSTAT_GETDYNAMIC */ - -/* Define to 1 if the number of available CPU cores can be detected with - sched_getaffinity() */ -/* #undef TUKLIB_CPUCORES_SCHED_GETAFFINITY */ - -/* Define to 1 if the number of available CPU cores can be detected with - sysconf(_SC_NPROCESSORS_ONLN) or sysconf(_SC_NPROC_ONLN). */ -/* #undef TUKLIB_CPUCORES_SYSCONF */ - -/* Define to 1 if the number of available CPU cores can be detected with - sysctl(). */ -#define TUKLIB_CPUCORES_SYSCTL 1 - -/* Define to 1 if the system supports fast unaligned access to 16-bit, 32-bit, - and 64-bit integers. */ -#define TUKLIB_FAST_UNALIGNED_ACCESS 1 - -/* Define to 1 if the amount of physical memory can be detected with - _system_configuration.physmem. */ -/* #undef TUKLIB_PHYSMEM_AIX */ - -/* Define to 1 if the amount of physical memory can be detected with - getinvent_r(). */ -/* #undef TUKLIB_PHYSMEM_GETINVENT_R */ - -/* Define to 1 if the amount of physical memory can be detected with - getsysinfo(). */ -/* #undef TUKLIB_PHYSMEM_GETSYSINFO */ - -/* Define to 1 if the amount of physical memory can be detected with - pstat_getstatic(). */ -/* #undef TUKLIB_PHYSMEM_PSTAT_GETSTATIC */ - -/* Define to 1 if the amount of physical memory can be detected with - sysconf(_SC_PAGESIZE) and sysconf(_SC_PHYS_PAGES). */ -#define TUKLIB_PHYSMEM_SYSCONF 1 - -/* Define to 1 if the amount of physical memory can be detected with sysctl(). - */ -/* #undef TUKLIB_PHYSMEM_SYSCTL */ - -/* Define to 1 if the amount of physical memory can be detected with Linux - sysinfo(). */ -/* #undef TUKLIB_PHYSMEM_SYSINFO */ - -/* Define to 1 to use unsafe type punning, e.g. char *x = ...; *(int *)x = - 123; which violates strict aliasing rules and thus is undefined behavior - and might result in broken code. */ -/* #undef TUKLIB_USE_UNSAFE_TYPE_PUNNING */ - -/* Enable extensions on AIX 3, Interix. */ -#ifndef _ALL_SOURCE -# define _ALL_SOURCE 1 -#endif -/* Enable general extensions on macOS. */ -#ifndef _DARWIN_C_SOURCE -# define _DARWIN_C_SOURCE 1 -#endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -# define __EXTENSIONS__ 1 -#endif -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 -#endif -/* Enable X/Open compliant socket functions that do not require linking - with -lxnet on HP-UX 11.11. */ -#ifndef _HPUX_ALT_XOPEN_SOCKET_API -# define _HPUX_ALT_XOPEN_SOCKET_API 1 -#endif -/* Identify the host operating system as Minix. - This macro does not affect the system headers' behavior. - A future release of Autoconf may stop defining this macro. */ -#ifndef _MINIX -/* # undef _MINIX */ -#endif -/* Enable general extensions on NetBSD. - Enable NetBSD compatibility extensions on Minix. */ -#ifndef _NETBSD_SOURCE -# define _NETBSD_SOURCE 1 -#endif -/* Enable OpenBSD compatibility extensions on NetBSD. - Oddly enough, this does nothing on OpenBSD. */ -#ifndef _OPENBSD_SOURCE -# define _OPENBSD_SOURCE 1 -#endif -/* Define to 1 if needed for POSIX-compatible behavior. */ -#ifndef _POSIX_SOURCE -/* # undef _POSIX_SOURCE */ -#endif -/* Define to 2 if needed for POSIX-compatible behavior. */ -#ifndef _POSIX_1_SOURCE -/* # undef _POSIX_1_SOURCE */ -#endif -/* Enable POSIX-compatible threading on Solaris. */ -#ifndef _POSIX_PTHREAD_SEMANTICS -# define _POSIX_PTHREAD_SEMANTICS 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ -#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ -# define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ -#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ -# define __STDC_WANT_IEC_60559_BFP_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ -#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ -# define __STDC_WANT_IEC_60559_DFP_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ -#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ -# define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ -#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ -# define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ -#ifndef __STDC_WANT_LIB_EXT2__ -# define __STDC_WANT_LIB_EXT2__ 1 -#endif -/* Enable extensions specified by ISO/IEC 24747:2009. */ -#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ -# define __STDC_WANT_MATH_SPEC_FUNCS__ 1 -#endif -/* Enable extensions on HP NonStop. */ -#ifndef _TANDEM_SOURCE -# define _TANDEM_SOURCE 1 -#endif -/* Enable X/Open extensions. Define to 500 only if necessary - to make mbstate_t available. */ -#ifndef _XOPEN_SOURCE -/* # undef _XOPEN_SOURCE */ -#endif - - -/* Version number of package */ -#define VERSION "5.4.2" - -/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most - significant byte first (like Motorola and SPARC, unlike Intel). */ -#if defined AC_APPLE_UNIVERSAL_BUILD -# if defined __BIG_ENDIAN__ -# define WORDS_BIGENDIAN 1 -# endif -#else -# ifndef WORDS_BIGENDIAN -/* # undef WORDS_BIGENDIAN */ -# endif -#endif - -/* Number of bits in a file offset, on hosts where this is settable. */ -/* #undef _FILE_OFFSET_BITS */ - -/* Define for large files, on AIX-style hosts. */ -/* #undef _LARGE_FILES */ - -/* Define for Solaris 2.5.1 so the uint32_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT32_T */ - -/* Define for Solaris 2.5.1 so the uint64_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT64_T */ - -/* Define for Solaris 2.5.1 so the uint8_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT8_T */ - -/* Define to rpl_ if the getopt replacement functions and variables should be - used. */ -/* #undef __GETOPT_PREFIX */ - -/* Define to the type of a signed integer type of width exactly 32 bits if - such a type exists and the standard includes do not define it. */ -/* #undef int32_t */ - -/* Define to the type of a signed integer type of width exactly 64 bits if - such a type exists and the standard includes do not define it. */ -/* #undef int64_t */ - -/* Define to the type of an unsigned integer type of width exactly 16 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint16_t */ - -/* Define to the type of an unsigned integer type of width exactly 32 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint32_t */ - -/* Define to the type of an unsigned integer type of width exactly 64 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint64_t */ - -/* Define to the type of an unsigned integer type of width exactly 8 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint8_t */ - -/* Define to the type of an unsigned integer type wide enough to hold a - pointer, if such a type exists, and if the system does not define it. */ -/* #undef uintptr_t */ diff --git a/third_party/rules_boost/config.lzma-ios-i386.h b/third_party/rules_boost/config.lzma-ios-i386.h deleted file mode 100644 index 3f5a9a74..00000000 --- a/third_party/rules_boost/config.lzma-ios-i386.h +++ /dev/null @@ -1,602 +0,0 @@ -/* config.h. Generated from config.h.in by configure. */ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* Define if building universal (internal helper macro) */ -/* #undef AC_APPLE_UNIVERSAL_BUILD */ - -/* How many MiB of RAM to assume if the real amount cannot be determined. */ -#define ASSUME_RAM 128 - -/* Define to 1 if translation of program messages to the user's native - language is requested. */ -/* #undef ENABLE_NLS */ - -/* Define to 1 if bswap_16 is available. */ -/* #undef HAVE_BSWAP_16 */ - -/* Define to 1 if bswap_32 is available. */ -/* #undef HAVE_BSWAP_32 */ - -/* Define to 1 if bswap_64 is available. */ -/* #undef HAVE_BSWAP_64 */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_BYTESWAP_H */ - -/* Define to 1 if Capsicum is available. */ -/* #undef HAVE_CAPSICUM */ - -/* Define to 1 if the system has the type `CC_SHA256_CTX'. */ -/* #undef HAVE_CC_SHA256_CTX */ - -/* Define to 1 if you have the `CC_SHA256_Init' function. */ -/* #undef HAVE_CC_SHA256_INIT */ - -/* Define to 1 if you have the Mac OS X function - CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ -#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1 - -/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in - the CoreFoundation framework. */ -#define HAVE_CFPREFERENCESCOPYAPPVALUE 1 - -/* Define to 1 if crc32 integrity check is enabled. */ -#define HAVE_CHECK_CRC32 1 - -/* Define to 1 if crc64 integrity check is enabled. */ -#define HAVE_CHECK_CRC64 1 - -/* Define to 1 if sha256 integrity check is enabled. */ -#define HAVE_CHECK_SHA256 1 - -/* Define to 1 if you have the `clock_gettime' function. */ -#define HAVE_CLOCK_GETTIME 1 - -/* Define to 1 if `CLOCK_MONOTONIC' is declared in . */ -#define HAVE_CLOCK_MONOTONIC 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_COMMONCRYPTO_COMMONDIGEST_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_CPUID_H 1 - -/* Define if the GNU dcgettext() function is already present or preinstalled. - */ -/* #undef HAVE_DCGETTEXT */ - -/* Define to 1 if any of HAVE_DECODER_foo have been defined. */ -#define HAVE_DECODERS 1 - -/* Define to 1 if arm decoder is enabled. */ -#define HAVE_DECODER_ARM 1 - -/* Define to 1 if arm64 decoder is enabled. */ -#define HAVE_DECODER_ARM64 1 - -/* Define to 1 if armthumb decoder is enabled. */ -#define HAVE_DECODER_ARMTHUMB 1 - -/* Define to 1 if delta decoder is enabled. */ -#define HAVE_DECODER_DELTA 1 - -/* Define to 1 if ia64 decoder is enabled. */ -#define HAVE_DECODER_IA64 1 - -/* Define to 1 if lzma1 decoder is enabled. */ -#define HAVE_DECODER_LZMA1 1 - -/* Define to 1 if lzma2 decoder is enabled. */ -#define HAVE_DECODER_LZMA2 1 - -/* Define to 1 if powerpc decoder is enabled. */ -#define HAVE_DECODER_POWERPC 1 - -/* Define to 1 if sparc decoder is enabled. */ -#define HAVE_DECODER_SPARC 1 - -/* Define to 1 if x86 decoder is enabled. */ -#define HAVE_DECODER_X86 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_DLFCN_H 1 - -/* Define to 1 if any of HAVE_ENCODER_foo have been defined. */ -#define HAVE_ENCODERS 1 - -/* Define to 1 if arm encoder is enabled. */ -#define HAVE_ENCODER_ARM 1 - -/* Define to 1 if arm64 encoder is enabled. */ -#define HAVE_ENCODER_ARM64 1 - -/* Define to 1 if armthumb encoder is enabled. */ -#define HAVE_ENCODER_ARMTHUMB 1 - -/* Define to 1 if delta encoder is enabled. */ -#define HAVE_ENCODER_DELTA 1 - -/* Define to 1 if ia64 encoder is enabled. */ -#define HAVE_ENCODER_IA64 1 - -/* Define to 1 if lzma1 encoder is enabled. */ -#define HAVE_ENCODER_LZMA1 1 - -/* Define to 1 if lzma2 encoder is enabled. */ -#define HAVE_ENCODER_LZMA2 1 - -/* Define to 1 if powerpc encoder is enabled. */ -#define HAVE_ENCODER_POWERPC 1 - -/* Define to 1 if sparc encoder is enabled. */ -#define HAVE_ENCODER_SPARC 1 - -/* Define to 1 if x86 encoder is enabled. */ -#define HAVE_ENCODER_X86 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_FCNTL_H 1 - -/* Define to 1 if __attribute__((__constructor__)) is supported for functions. - */ -#define HAVE_FUNC_ATTRIBUTE_CONSTRUCTOR 1 - -/* Define to 1 if you have the `futimens' function. */ -#define HAVE_FUTIMENS 1 - -/* Define to 1 if you have the `futimes' function. */ -/* #undef HAVE_FUTIMES */ - -/* Define to 1 if you have the `futimesat' function. */ -/* #undef HAVE_FUTIMESAT */ - -/* Define to 1 if you have the header file. */ -#define HAVE_GETOPT_H 1 - -/* Define to 1 if you have the `getopt_long' function. */ -#define HAVE_GETOPT_LONG 1 - -/* Define if the GNU gettext() function is already present or preinstalled. */ -/* #undef HAVE_GETTEXT */ - -/* Define if you have the iconv() function and it works. */ -#define HAVE_ICONV 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_IMMINTRIN_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_LIMITS_H 1 - -/* Define to 1 if .lz (lzip) decompression support is enabled. */ -#define HAVE_LZIP_DECODER 1 - -/* Define to 1 if mbrtowc and mbstate_t are properly declared. */ -#define HAVE_MBRTOWC 1 - -/* Define to 1 to enable bt2 match finder. */ -#define HAVE_MF_BT2 1 - -/* Define to 1 to enable bt3 match finder. */ -#define HAVE_MF_BT3 1 - -/* Define to 1 to enable bt4 match finder. */ -#define HAVE_MF_BT4 1 - -/* Define to 1 to enable hc3 match finder. */ -#define HAVE_MF_HC3 1 - -/* Define to 1 to enable hc4 match finder. */ -#define HAVE_MF_HC4 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_MINIX_CONFIG_H */ - -/* Define to 1 if getopt.h declares extern int optreset. */ -#define HAVE_OPTRESET 1 - -/* Define to 1 if you have the `pledge' function. */ -/* #undef HAVE_PLEDGE */ - -/* Define to 1 if you have the `posix_fadvise' function. */ -/* #undef HAVE_POSIX_FADVISE */ - -/* Define to 1 if `program_invocation_name' is declared in . */ -/* #undef HAVE_PROGRAM_INVOCATION_NAME */ - -/* Define to 1 if you have the `pthread_condattr_setclock' function. */ -/* #undef HAVE_PTHREAD_CONDATTR_SETCLOCK */ - -/* Have PTHREAD_PRIO_INHERIT. */ -#define HAVE_PTHREAD_PRIO_INHERIT 1 - -/* Define to 1 if you have the `SHA256Init' function. */ -/* #undef HAVE_SHA256INIT */ - -/* Define to 1 if the system has the type `SHA256_CTX'. */ -/* #undef HAVE_SHA256_CTX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SHA256_H */ - -/* Define to 1 if you have the `SHA256_Init' function. */ -/* #undef HAVE_SHA256_INIT */ - -/* Define to 1 if the system has the type `SHA2_CTX'. */ -/* #undef HAVE_SHA2_CTX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SHA2_H */ - -/* Define to 1 if optimizing for size. */ -/* #undef HAVE_SMALL */ - -/* Define to 1 if stdbool.h conforms to C99. */ -#define HAVE_STDBOOL_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDIO_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRINGS_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 if `st_atimensec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */ - -/* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */ -#define HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1 - -/* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */ - -/* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC */ - -/* Define to 1 if `st_uatime' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_UATIME */ - -/* Define to 1 to if GNU/Linux-specific details are unconditionally wanted for - symbol versioning. Define to 2 to if these are wanted only if also PIC is - defined (allows building both shared and static liblzma at the same time - with Libtool if neither --with-pic nor --without-pic is used). This define - must be used together with liblzma_linux.map. */ -/* #undef HAVE_SYMBOL_VERSIONS_LINUX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_BYTEORDER_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_CAPSICUM_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_ENDIAN_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_PARAM_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_STAT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TIME_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define to 1 if the system has the type `uintptr_t'. */ -#define HAVE_UINTPTR_T 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_UNISTD_H 1 - -/* Define to 1 if _mm_set_epi64x and _mm_clmulepi64_si128 are usable. See - configure.ac for details. */ -#define HAVE_USABLE_CLMUL 1 - -/* Define to 1 if you have the `utime' function. */ -/* #undef HAVE_UTIME */ - -/* Define to 1 if you have the `utimes' function. */ -/* #undef HAVE_UTIMES */ - -/* Define to 1 or 0, depending whether the compiler supports simple visibility - declarations. */ -#define HAVE_VISIBILITY 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_WCHAR_H 1 - -/* Define to 1 if you have the `wcwidth' function. */ -#define HAVE_WCWIDTH 1 - -/* Define to 1 if the system has the type `_Bool'. */ -#define HAVE__BOOL 1 - -/* Define to 1 if you have the `_futime' function. */ -/* #undef HAVE__FUTIME */ - -/* Define to 1 if _mm_movemask_epi8 is available. */ -#define HAVE__MM_MOVEMASK_EPI8 1 - -/* Define to 1 if the GNU C extension __builtin_assume_aligned is supported. - */ -#define HAVE___BUILTIN_ASSUME_ALIGNED 1 - -/* Define to 1 if the GNU C extensions __builtin_bswap16/32/64 are supported. - */ -#define HAVE___BUILTIN_BSWAPXX 1 - -/* Define to the sub-directory where libtool stores uninstalled libraries. */ -#define LT_OBJDIR ".libs/" - -/* Define to 1 when using POSIX threads (pthreads). */ -#define MYTHREAD_POSIX 1 - -/* Define to 1 when using Windows Vista compatible threads. This uses features - that are not available on Windows XP. */ -/* #undef MYTHREAD_VISTA */ - -/* Define to 1 when using Windows 95 (and thus XP) compatible threads. This - avoids use of features that were added in Windows Vista. */ -/* #undef MYTHREAD_WIN95 */ - -/* Define to 1 to disable debugging code. */ -#define NDEBUG 1 - -/* Name of package */ -#define PACKAGE "xz" - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "xz@tukaani.org" - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "XZ Utils" - -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "XZ Utils 5.4.2" - -/* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "xz" - -/* Define to the home page for this package. */ -#define PACKAGE_URL "https://tukaani.org/xz/" - -/* Define to the version of this package. */ -#define PACKAGE_VERSION "5.4.2" - -/* Define to necessary symbol if this constant uses a non-standard name on - your system. */ -/* #undef PTHREAD_CREATE_JOINABLE */ - -/* The size of `size_t', as computed by sizeof. */ -#define SIZEOF_SIZE_T 4 - -/* Define to 1 if all of the C90 standard headers exist (not just the ones - required in a freestanding environment). This macro is provided for - backward compatibility; new code need not use it. */ -#define STDC_HEADERS 1 - -/* Define to 1 if the number of available CPU cores can be detected with - cpuset(2). */ -/* #undef TUKLIB_CPUCORES_CPUSET */ - -/* Define to 1 if the number of available CPU cores can be detected with - pstat_getdynamic(). */ -/* #undef TUKLIB_CPUCORES_PSTAT_GETDYNAMIC */ - -/* Define to 1 if the number of available CPU cores can be detected with - sched_getaffinity() */ -/* #undef TUKLIB_CPUCORES_SCHED_GETAFFINITY */ - -/* Define to 1 if the number of available CPU cores can be detected with - sysconf(_SC_NPROCESSORS_ONLN) or sysconf(_SC_NPROC_ONLN). */ -/* #undef TUKLIB_CPUCORES_SYSCONF */ - -/* Define to 1 if the number of available CPU cores can be detected with - sysctl(). */ -#define TUKLIB_CPUCORES_SYSCTL 1 - -/* Define to 1 if the system supports fast unaligned access to 16-bit, 32-bit, - and 64-bit integers. */ -/* #undef TUKLIB_FAST_UNALIGNED_ACCESS */ - -/* Define to 1 if the amount of physical memory can be detected with - _system_configuration.physmem. */ -/* #undef TUKLIB_PHYSMEM_AIX */ - -/* Define to 1 if the amount of physical memory can be detected with - getinvent_r(). */ -/* #undef TUKLIB_PHYSMEM_GETINVENT_R */ - -/* Define to 1 if the amount of physical memory can be detected with - getsysinfo(). */ -/* #undef TUKLIB_PHYSMEM_GETSYSINFO */ - -/* Define to 1 if the amount of physical memory can be detected with - pstat_getstatic(). */ -/* #undef TUKLIB_PHYSMEM_PSTAT_GETSTATIC */ - -/* Define to 1 if the amount of physical memory can be detected with - sysconf(_SC_PAGESIZE) and sysconf(_SC_PHYS_PAGES). */ -#define TUKLIB_PHYSMEM_SYSCONF 1 - -/* Define to 1 if the amount of physical memory can be detected with sysctl(). - */ -/* #undef TUKLIB_PHYSMEM_SYSCTL */ - -/* Define to 1 if the amount of physical memory can be detected with Linux - sysinfo(). */ -/* #undef TUKLIB_PHYSMEM_SYSINFO */ - -/* Define to 1 to use unsafe type punning, e.g. char *x = ...; *(int *)x = - 123; which violates strict aliasing rules and thus is undefined behavior - and might result in broken code. */ -/* #undef TUKLIB_USE_UNSAFE_TYPE_PUNNING */ - -/* Enable extensions on AIX 3, Interix. */ -#ifndef _ALL_SOURCE -# define _ALL_SOURCE 1 -#endif -/* Enable general extensions on macOS. */ -#ifndef _DARWIN_C_SOURCE -# define _DARWIN_C_SOURCE 1 -#endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -# define __EXTENSIONS__ 1 -#endif -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 -#endif -/* Enable X/Open compliant socket functions that do not require linking - with -lxnet on HP-UX 11.11. */ -#ifndef _HPUX_ALT_XOPEN_SOCKET_API -# define _HPUX_ALT_XOPEN_SOCKET_API 1 -#endif -/* Identify the host operating system as Minix. - This macro does not affect the system headers' behavior. - A future release of Autoconf may stop defining this macro. */ -#ifndef _MINIX -/* # undef _MINIX */ -#endif -/* Enable general extensions on NetBSD. - Enable NetBSD compatibility extensions on Minix. */ -#ifndef _NETBSD_SOURCE -# define _NETBSD_SOURCE 1 -#endif -/* Enable OpenBSD compatibility extensions on NetBSD. - Oddly enough, this does nothing on OpenBSD. */ -#ifndef _OPENBSD_SOURCE -# define _OPENBSD_SOURCE 1 -#endif -/* Define to 1 if needed for POSIX-compatible behavior. */ -#ifndef _POSIX_SOURCE -/* # undef _POSIX_SOURCE */ -#endif -/* Define to 2 if needed for POSIX-compatible behavior. */ -#ifndef _POSIX_1_SOURCE -/* # undef _POSIX_1_SOURCE */ -#endif -/* Enable POSIX-compatible threading on Solaris. */ -#ifndef _POSIX_PTHREAD_SEMANTICS -# define _POSIX_PTHREAD_SEMANTICS 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ -#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ -# define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ -#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ -# define __STDC_WANT_IEC_60559_BFP_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ -#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ -# define __STDC_WANT_IEC_60559_DFP_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ -#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ -# define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ -#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ -# define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ -#ifndef __STDC_WANT_LIB_EXT2__ -# define __STDC_WANT_LIB_EXT2__ 1 -#endif -/* Enable extensions specified by ISO/IEC 24747:2009. */ -#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ -# define __STDC_WANT_MATH_SPEC_FUNCS__ 1 -#endif -/* Enable extensions on HP NonStop. */ -#ifndef _TANDEM_SOURCE -# define _TANDEM_SOURCE 1 -#endif -/* Enable X/Open extensions. Define to 500 only if necessary - to make mbstate_t available. */ -#ifndef _XOPEN_SOURCE -/* # undef _XOPEN_SOURCE */ -#endif - - -/* Version number of package */ -#define VERSION "5.4.2" - -/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most - significant byte first (like Motorola and SPARC, unlike Intel). */ -#if defined AC_APPLE_UNIVERSAL_BUILD -# if defined __BIG_ENDIAN__ -# define WORDS_BIGENDIAN 1 -# endif -#else -# ifndef WORDS_BIGENDIAN -/* # undef WORDS_BIGENDIAN */ -# endif -#endif - -/* Number of bits in a file offset, on hosts where this is settable. */ -/* #undef _FILE_OFFSET_BITS */ - -/* Define for large files, on AIX-style hosts. */ -/* #undef _LARGE_FILES */ - -/* Define for Solaris 2.5.1 so the uint32_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT32_T */ - -/* Define for Solaris 2.5.1 so the uint64_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT64_T */ - -/* Define for Solaris 2.5.1 so the uint8_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT8_T */ - -/* Define to rpl_ if the getopt replacement functions and variables should be - used. */ -/* #undef __GETOPT_PREFIX */ - -/* Define to the type of a signed integer type of width exactly 32 bits if - such a type exists and the standard includes do not define it. */ -/* #undef int32_t */ - -/* Define to the type of a signed integer type of width exactly 64 bits if - such a type exists and the standard includes do not define it. */ -/* #undef int64_t */ - -/* Define to the type of an unsigned integer type of width exactly 16 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint16_t */ - -/* Define to the type of an unsigned integer type of width exactly 32 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint32_t */ - -/* Define to the type of an unsigned integer type of width exactly 64 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint64_t */ - -/* Define to the type of an unsigned integer type of width exactly 8 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint8_t */ - -/* Define to the type of an unsigned integer type wide enough to hold a - pointer, if such a type exists, and if the system does not define it. */ -/* #undef uintptr_t */ diff --git a/third_party/rules_boost/config.lzma-linux-aarch64.h b/third_party/rules_boost/config.lzma-linux-aarch64.h deleted file mode 100644 index 2d36b61f..00000000 --- a/third_party/rules_boost/config.lzma-linux-aarch64.h +++ /dev/null @@ -1,604 +0,0 @@ -/* config.h. Generated from config.h.in by configure. */ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* Define if building universal (internal helper macro) */ -/* #undef AC_APPLE_UNIVERSAL_BUILD */ - -/* How many MiB of RAM to assume if the real amount cannot be determined. */ -#define ASSUME_RAM 128 - -/* Define to 1 if translation of program messages to the user's native - language is requested. */ -/* #undef ENABLE_NLS */ - -/* Define to 1 if bswap_16 is available. */ -/* #undef HAVE_BSWAP_16 */ - -/* Define to 1 if bswap_32 is available. */ -/* #undef HAVE_BSWAP_32 */ - -/* Define to 1 if bswap_64 is available. */ -/* #undef HAVE_BSWAP_64 */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_BYTESWAP_H */ - -/* Define to 1 if Capsicum is available. */ -/* #undef HAVE_CAPSICUM */ - -/* Define to 1 if the system has the type `CC_SHA256_CTX'. */ -/* #undef HAVE_CC_SHA256_CTX */ - -/* Define to 1 if you have the `CC_SHA256_Init' function. */ -/* #undef HAVE_CC_SHA256_INIT */ - -/* Define to 1 if you have the Mac OS X function - CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ -/* #undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES */ - -/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in - the CoreFoundation framework. */ -/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */ - -/* Define to 1 if crc32 integrity check is enabled. */ -#define HAVE_CHECK_CRC32 1 - -/* Define to 1 if crc64 integrity check is enabled. */ -#define HAVE_CHECK_CRC64 1 - -/* Define to 1 if sha256 integrity check is enabled. */ -#define HAVE_CHECK_SHA256 1 - -/* Define to 1 if you have the `clock_gettime' function. */ -#define HAVE_CLOCK_GETTIME 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_COMMONCRYPTO_COMMONDIGEST_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_CPUID_H */ - -/* Define if the GNU dcgettext() function is already present or preinstalled. - */ -#define HAVE_DCGETTEXT 1 - -/* Define to 1 if you have the declaration of `CLOCK_MONOTONIC', and to 0 if - you don't. */ -#define HAVE_DECL_CLOCK_MONOTONIC 1 - -/* Define to 1 if you have the declaration of `program_invocation_name', and - to 0 if you don't. */ -#define HAVE_DECL_PROGRAM_INVOCATION_NAME 1 - -/* Define to 1 if any of HAVE_DECODER_foo have been defined. */ -#define HAVE_DECODERS 1 - -/* Define to 1 if arm decoder is enabled. */ -#define HAVE_DECODER_ARM 1 - -/* Define to 1 if arm64 decoder is enabled. */ -#define HAVE_DECODER_ARM64 1 - -/* Define to 1 if armthumb decoder is enabled. */ -#define HAVE_DECODER_ARMTHUMB 1 - -/* Define to 1 if delta decoder is enabled. */ -#define HAVE_DECODER_DELTA 1 - -/* Define to 1 if ia64 decoder is enabled. */ -#define HAVE_DECODER_IA64 1 - -/* Define to 1 if lzma1 decoder is enabled. */ -#define HAVE_DECODER_LZMA1 1 - -/* Define to 1 if lzma2 decoder is enabled. */ -#define HAVE_DECODER_LZMA2 1 - -/* Define to 1 if powerpc decoder is enabled. */ -#define HAVE_DECODER_POWERPC 1 - -/* Define to 1 if sparc decoder is enabled. */ -#define HAVE_DECODER_SPARC 1 - -/* Define to 1 if x86 decoder is enabled. */ -#define HAVE_DECODER_X86 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_DLFCN_H 1 - -/* Define to 1 if any of HAVE_ENCODER_foo have been defined. */ -#define HAVE_ENCODERS 1 - -/* Define to 1 if arm encoder is enabled. */ -#define HAVE_ENCODER_ARM 1 - -/* Define to 1 if arm64 encoder is enabled. */ -#define HAVE_ENCODER_ARM64 1 - -/* Define to 1 if armthumb encoder is enabled. */ -#define HAVE_ENCODER_ARMTHUMB 1 - -/* Define to 1 if delta encoder is enabled. */ -#define HAVE_ENCODER_DELTA 1 - -/* Define to 1 if ia64 encoder is enabled. */ -#define HAVE_ENCODER_IA64 1 - -/* Define to 1 if lzma1 encoder is enabled. */ -#define HAVE_ENCODER_LZMA1 1 - -/* Define to 1 if lzma2 encoder is enabled. */ -#define HAVE_ENCODER_LZMA2 1 - -/* Define to 1 if powerpc encoder is enabled. */ -#define HAVE_ENCODER_POWERPC 1 - -/* Define to 1 if sparc encoder is enabled. */ -#define HAVE_ENCODER_SPARC 1 - -/* Define to 1 if x86 encoder is enabled. */ -#define HAVE_ENCODER_X86 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_FCNTL_H 1 - -/* Define to 1 if __attribute__((__constructor__)) is supported for functions. - */ -#define HAVE_FUNC_ATTRIBUTE_CONSTRUCTOR 1 - -/* Define to 1 if you have the `futimens' function. */ -#define HAVE_FUTIMENS 1 - -/* Define to 1 if you have the `futimes' function. */ -/* #undef HAVE_FUTIMES */ - -/* Define to 1 if you have the `futimesat' function. */ -/* #undef HAVE_FUTIMESAT */ - -/* Define to 1 if you have the header file. */ -#define HAVE_GETOPT_H 1 - -/* Define to 1 if you have the `getopt_long' function. */ -#define HAVE_GETOPT_LONG 1 - -/* Define if the GNU gettext() function is already present or preinstalled. */ -#define HAVE_GETTEXT 1 - -/* Define if you have the iconv() function and it works. */ -/* #undef HAVE_ICONV */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_IMMINTRIN_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_LIMITS_H 1 - -/* Define to 1 if .lz (lzip) decompression support is enabled. */ -#define HAVE_LZIP_DECODER 1 - -/* Define to 1 if mbrtowc and mbstate_t are properly declared. */ -#define HAVE_MBRTOWC 1 - -/* Define to 1 to enable bt2 match finder. */ -#define HAVE_MF_BT2 1 - -/* Define to 1 to enable bt3 match finder. */ -#define HAVE_MF_BT3 1 - -/* Define to 1 to enable bt4 match finder. */ -#define HAVE_MF_BT4 1 - -/* Define to 1 to enable hc3 match finder. */ -#define HAVE_MF_HC3 1 - -/* Define to 1 to enable hc4 match finder. */ -#define HAVE_MF_HC4 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_MINIX_CONFIG_H */ - -/* Define to 1 if getopt.h declares extern int optreset. */ -/* #undef HAVE_OPTRESET */ - -/* Define to 1 if you have the `pledge' function. */ -/* #undef HAVE_PLEDGE */ - -/* Define to 1 if you have the `posix_fadvise' function. */ -#define HAVE_POSIX_FADVISE 1 - -/* Define to 1 if you have the `pthread_condattr_setclock' function. */ -#define HAVE_PTHREAD_CONDATTR_SETCLOCK 1 - -/* Have PTHREAD_PRIO_INHERIT. */ -#define HAVE_PTHREAD_PRIO_INHERIT 1 - -/* Define to 1 if you have the `SHA256Init' function. */ -/* #undef HAVE_SHA256INIT */ - -/* Define to 1 if the system has the type `SHA256_CTX'. */ -/* #undef HAVE_SHA256_CTX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SHA256_H */ - -/* Define to 1 if you have the `SHA256_Init' function. */ -/* #undef HAVE_SHA256_INIT */ - -/* Define to 1 if the system has the type `SHA2_CTX'. */ -/* #undef HAVE_SHA2_CTX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SHA2_H */ - -/* Define to 1 if optimizing for size. */ -/* #undef HAVE_SMALL */ - -/* Define to 1 if stdbool.h conforms to C99. */ -#define HAVE_STDBOOL_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDIO_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRINGS_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 if `st_atimensec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */ - -/* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC */ - -/* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */ - -/* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */ -#define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1 - -/* Define to 1 if `st_uatime' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_UATIME */ - -/* Define to 1 to if GNU/Linux-specific details are unconditionally wanted for - symbol versioning. Define to 2 to if these are wanted only if also PIC is - defined (allows building both shared and static liblzma at the same time - with Libtool if neither --with-pic nor --without-pic is used). This define - must be used together with liblzma_linux.map. */ -#define HAVE_SYMBOL_VERSIONS_LINUX 2 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_BYTEORDER_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_CAPSICUM_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_ENDIAN_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_PARAM_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_STAT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TIME_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define to 1 if the system has the type `uintptr_t'. */ -#define HAVE_UINTPTR_T 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_UNISTD_H 1 - -/* Define to 1 if _mm_set_epi64x and _mm_clmulepi64_si128 are usable. See - configure.ac for details. */ -/* #undef HAVE_USABLE_CLMUL */ - -/* Define to 1 if you have the `utime' function. */ -/* #undef HAVE_UTIME */ - -/* Define to 1 if you have the `utimes' function. */ -/* #undef HAVE_UTIMES */ - -/* Define to 1 or 0, depending whether the compiler supports simple visibility - declarations. */ -#define HAVE_VISIBILITY 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_WCHAR_H 1 - -/* Define to 1 if you have the `wcwidth' function. */ -#define HAVE_WCWIDTH 1 - -/* Define to 1 if the system has the type `_Bool'. */ -#define HAVE__BOOL 1 - -/* Define to 1 if you have the `_futime' function. */ -/* #undef HAVE__FUTIME */ - -/* Define to 1 if _mm_movemask_epi8 is available. */ -/* #undef HAVE__MM_MOVEMASK_EPI8 */ - -/* Define to 1 if the GNU C extension __builtin_assume_aligned is supported. - */ -#define HAVE___BUILTIN_ASSUME_ALIGNED 1 - -/* Define to 1 if the GNU C extensions __builtin_bswap16/32/64 are supported. - */ -#define HAVE___BUILTIN_BSWAPXX 1 - -/* Define to the sub-directory where libtool stores uninstalled libraries. */ -#define LT_OBJDIR ".libs/" - -/* Define to 1 when using POSIX threads (pthreads). */ -#define MYTHREAD_POSIX 1 - -/* Define to 1 when using Windows Vista compatible threads. This uses features - that are not available on Windows XP. */ -/* #undef MYTHREAD_VISTA */ - -/* Define to 1 when using Windows 95 (and thus XP) compatible threads. This - avoids use of features that were added in Windows Vista. */ -/* #undef MYTHREAD_WIN95 */ - -/* Define to 1 to disable debugging code. */ -#define NDEBUG 1 - -/* Name of package */ -#define PACKAGE "xz" - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "xz@tukaani.org" - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "XZ Utils" - -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "XZ Utils 5.4.2" - -/* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "xz" - -/* Define to the home page for this package. */ -#define PACKAGE_URL "https://tukaani.org/xz/" - -/* Define to the version of this package. */ -#define PACKAGE_VERSION "5.4.2" - -/* Define to necessary symbol if this constant uses a non-standard name on - your system. */ -/* #undef PTHREAD_CREATE_JOINABLE */ - -/* The size of `size_t', as computed by sizeof. */ -#define SIZEOF_SIZE_T 8 - -/* Define to 1 if all of the C90 standard headers exist (not just the ones - required in a freestanding environment). This macro is provided for - backward compatibility; new code need not use it. */ -#define STDC_HEADERS 1 - -/* Define to 1 if the number of available CPU cores can be detected with - cpuset(2). */ -/* #undef TUKLIB_CPUCORES_CPUSET */ - -/* Define to 1 if the number of available CPU cores can be detected with - pstat_getdynamic(). */ -/* #undef TUKLIB_CPUCORES_PSTAT_GETDYNAMIC */ - -/* Define to 1 if the number of available CPU cores can be detected with - sched_getaffinity() */ -#define TUKLIB_CPUCORES_SCHED_GETAFFINITY 1 - -/* Define to 1 if the number of available CPU cores can be detected with - sysconf(_SC_NPROCESSORS_ONLN) or sysconf(_SC_NPROC_ONLN). */ -/* #undef TUKLIB_CPUCORES_SYSCONF */ - -/* Define to 1 if the number of available CPU cores can be detected with - sysctl(). */ -/* #undef TUKLIB_CPUCORES_SYSCTL */ - -/* Define to 1 if the system supports fast unaligned access to 16-bit, 32-bit, - and 64-bit integers. */ -#define TUKLIB_FAST_UNALIGNED_ACCESS 1 - -/* Define to 1 if the amount of physical memory can be detected with - _system_configuration.physmem. */ -/* #undef TUKLIB_PHYSMEM_AIX */ - -/* Define to 1 if the amount of physical memory can be detected with - getinvent_r(). */ -/* #undef TUKLIB_PHYSMEM_GETINVENT_R */ - -/* Define to 1 if the amount of physical memory can be detected with - getsysinfo(). */ -/* #undef TUKLIB_PHYSMEM_GETSYSINFO */ - -/* Define to 1 if the amount of physical memory can be detected with - pstat_getstatic(). */ -/* #undef TUKLIB_PHYSMEM_PSTAT_GETSTATIC */ - -/* Define to 1 if the amount of physical memory can be detected with - sysconf(_SC_PAGESIZE) and sysconf(_SC_PHYS_PAGES). */ -#define TUKLIB_PHYSMEM_SYSCONF 1 - -/* Define to 1 if the amount of physical memory can be detected with sysctl(). - */ -/* #undef TUKLIB_PHYSMEM_SYSCTL */ - -/* Define to 1 if the amount of physical memory can be detected with Linux - sysinfo(). */ -/* #undef TUKLIB_PHYSMEM_SYSINFO */ - -/* Define to 1 to use unsafe type punning, e.g. char *x = ...; *(int *)x = - 123; which violates strict aliasing rules and thus is undefined behavior - and might result in broken code. */ -/* #undef TUKLIB_USE_UNSAFE_TYPE_PUNNING */ - -/* Enable extensions on AIX 3, Interix. */ -#ifndef _ALL_SOURCE -#define _ALL_SOURCE 1 -#endif -/* Enable general extensions on macOS. */ -#ifndef _DARWIN_C_SOURCE -#define _DARWIN_C_SOURCE 1 -#endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -#define __EXTENSIONS__ 1 -#endif -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -#define _GNU_SOURCE 1 -#endif -/* Enable X/Open compliant socket functions that do not require linking - with -lxnet on HP-UX 11.11. */ -#ifndef _HPUX_ALT_XOPEN_SOCKET_API -#define _HPUX_ALT_XOPEN_SOCKET_API 1 -#endif -/* Identify the host operating system as Minix. - This macro does not affect the system headers' behavior. - A future release of Autoconf may stop defining this macro. */ -#ifndef _MINIX -/* # undef _MINIX */ -#endif -/* Enable general extensions on NetBSD. - Enable NetBSD compatibility extensions on Minix. */ -#ifndef _NETBSD_SOURCE -#define _NETBSD_SOURCE 1 -#endif -/* Enable OpenBSD compatibility extensions on NetBSD. - Oddly enough, this does nothing on OpenBSD. */ -#ifndef _OPENBSD_SOURCE -#define _OPENBSD_SOURCE 1 -#endif -/* Define to 1 if needed for POSIX-compatible behavior. */ -#ifndef _POSIX_SOURCE -/* # undef _POSIX_SOURCE */ -#endif -/* Define to 2 if needed for POSIX-compatible behavior. */ -#ifndef _POSIX_1_SOURCE -/* # undef _POSIX_1_SOURCE */ -#endif -/* Enable POSIX-compatible threading on Solaris. */ -#ifndef _POSIX_PTHREAD_SEMANTICS -#define _POSIX_PTHREAD_SEMANTICS 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ -#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ -#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ -#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ -#define __STDC_WANT_IEC_60559_BFP_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ -#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ -#define __STDC_WANT_IEC_60559_DFP_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ -#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ -#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ -#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ -#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ -#ifndef __STDC_WANT_LIB_EXT2__ -#define __STDC_WANT_LIB_EXT2__ 1 -#endif -/* Enable extensions specified by ISO/IEC 24747:2009. */ -#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ -#define __STDC_WANT_MATH_SPEC_FUNCS__ 1 -#endif -/* Enable extensions on HP NonStop. */ -#ifndef _TANDEM_SOURCE -#define _TANDEM_SOURCE 1 -#endif -/* Enable X/Open extensions. Define to 500 only if necessary - to make mbstate_t available. */ -#ifndef _XOPEN_SOURCE -/* # undef _XOPEN_SOURCE */ -#endif - - -/* Version number of package */ -#define VERSION "5.4.2" - -/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most - significant byte first (like Motorola and SPARC, unlike Intel). */ -#if defined AC_APPLE_UNIVERSAL_BUILD -#if defined __BIG_ENDIAN__ -#define WORDS_BIGENDIAN 1 -#endif -#else -#ifndef WORDS_BIGENDIAN -/* # undef WORDS_BIGENDIAN */ -#endif -#endif - -/* Number of bits in a file offset, on hosts where this is settable. */ -/* #undef _FILE_OFFSET_BITS */ - -/* Define for large files, on AIX-style hosts. */ -/* #undef _LARGE_FILES */ - -/* Define for Solaris 2.5.1 so the uint32_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT32_T */ - -/* Define for Solaris 2.5.1 so the uint64_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT64_T */ - -/* Define for Solaris 2.5.1 so the uint8_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT8_T */ - -/* Define to rpl_ if the getopt replacement functions and variables should be - used. */ -/* #undef __GETOPT_PREFIX */ - -/* Define to the type of a signed integer type of width exactly 32 bits if - such a type exists and the standard includes do not define it. */ -/* #undef int32_t */ - -/* Define to the type of a signed integer type of width exactly 64 bits if - such a type exists and the standard includes do not define it. */ -/* #undef int64_t */ - -/* Define to the type of an unsigned integer type of width exactly 16 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint16_t */ - -/* Define to the type of an unsigned integer type of width exactly 32 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint32_t */ - -/* Define to the type of an unsigned integer type of width exactly 64 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint64_t */ - -/* Define to the type of an unsigned integer type of width exactly 8 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint8_t */ - -/* Define to the type of an unsigned integer type wide enough to hold a - pointer, if such a type exists, and if the system does not define it. */ -/* #undef uintptr_t */ diff --git a/third_party/rules_boost/config.lzma-linux.h b/third_party/rules_boost/config.lzma-linux.h deleted file mode 100644 index e8b00d8a..00000000 --- a/third_party/rules_boost/config.lzma-linux.h +++ /dev/null @@ -1,608 +0,0 @@ -/* config.h. Generated from config.h.in by configure. */ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* Define if building universal (internal helper macro) */ -/* #undef AC_APPLE_UNIVERSAL_BUILD */ - -/* How many MiB of RAM to assume if the real amount cannot be determined. */ -#define ASSUME_RAM 128 - -/* Define to 1 if translation of program messages to the user's native - language is requested. */ -#define ENABLE_NLS 1 - -/* Define to 1 if bswap_16 is available. */ -/* #undef HAVE_BSWAP_16 */ - -/* Define to 1 if bswap_32 is available. */ -/* #undef HAVE_BSWAP_32 */ - -/* Define to 1 if bswap_64 is available. */ -/* #undef HAVE_BSWAP_64 */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_BYTESWAP_H */ - -/* Define to 1 if Capsicum is available. */ -/* #undef HAVE_CAPSICUM */ - -/* Define to 1 if the system has the type `CC_SHA256_CTX'. */ -/* #undef HAVE_CC_SHA256_CTX */ - -/* Define to 1 if you have the `CC_SHA256_Init' function. */ -/* #undef HAVE_CC_SHA256_INIT */ - -/* Define to 1 if you have the Mac OS X function - CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ -/* #undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES */ - -/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in - the CoreFoundation framework. */ -/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */ - -/* Define to 1 if crc32 integrity check is enabled. */ -#define HAVE_CHECK_CRC32 1 - -/* Define to 1 if crc64 integrity check is enabled. */ -#define HAVE_CHECK_CRC64 1 - -/* Define to 1 if sha256 integrity check is enabled. */ -#define HAVE_CHECK_SHA256 1 - -/* Define to 1 if you have the `clock_gettime' function. */ -#define HAVE_CLOCK_GETTIME 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_COMMONCRYPTO_COMMONDIGEST_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_CPUID_H 1 - -/* Define if the GNU dcgettext() function is already present or preinstalled. - */ -#define HAVE_DCGETTEXT 1 - -/* Define to 1 if you have the declaration of `CLOCK_MONOTONIC', and to 0 if - you don't. */ -#define HAVE_DECL_CLOCK_MONOTONIC 1 - -/* Define to 1 if you have the declaration of `program_invocation_name', and - to 0 if you don't. */ -#define HAVE_DECL_PROGRAM_INVOCATION_NAME 1 - -/* Define to 1 if any of HAVE_DECODER_foo have been defined. */ -#define HAVE_DECODERS 1 - -/* Define to 1 if arm decoder is enabled. */ -#define HAVE_DECODER_ARM 1 - -/* Define to 1 if arm64 decoder is enabled. */ -#define HAVE_DECODER_ARM64 1 - -/* Define to 1 if armthumb decoder is enabled. */ -#define HAVE_DECODER_ARMTHUMB 1 - -/* Define to 1 if delta decoder is enabled. */ -#define HAVE_DECODER_DELTA 1 - -/* Define to 1 if ia64 decoder is enabled. */ -#define HAVE_DECODER_IA64 1 - -/* Define to 1 if lzma1 decoder is enabled. */ -#define HAVE_DECODER_LZMA1 1 - -/* Define to 1 if lzma2 decoder is enabled. */ -#define HAVE_DECODER_LZMA2 1 - -/* Define to 1 if powerpc decoder is enabled. */ -#define HAVE_DECODER_POWERPC 1 - -/* Define to 1 if sparc decoder is enabled. */ -#define HAVE_DECODER_SPARC 1 - -/* Define to 1 if x86 decoder is enabled. */ -#define HAVE_DECODER_X86 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_DLFCN_H 1 - -/* Define to 1 if any of HAVE_ENCODER_foo have been defined. */ -#define HAVE_ENCODERS 1 - -/* Define to 1 if arm encoder is enabled. */ -#define HAVE_ENCODER_ARM 1 - -/* Define to 1 if arm64 encoder is enabled. */ -#define HAVE_ENCODER_ARM64 1 - -/* Define to 1 if armthumb encoder is enabled. */ -#define HAVE_ENCODER_ARMTHUMB 1 - -/* Define to 1 if delta encoder is enabled. */ -#define HAVE_ENCODER_DELTA 1 - -/* Define to 1 if ia64 encoder is enabled. */ -#define HAVE_ENCODER_IA64 1 - -/* Define to 1 if lzma1 encoder is enabled. */ -#define HAVE_ENCODER_LZMA1 1 - -/* Define to 1 if lzma2 encoder is enabled. */ -#define HAVE_ENCODER_LZMA2 1 - -/* Define to 1 if powerpc encoder is enabled. */ -#define HAVE_ENCODER_POWERPC 1 - -/* Define to 1 if sparc encoder is enabled. */ -#define HAVE_ENCODER_SPARC 1 - -/* Define to 1 if x86 encoder is enabled. */ -#define HAVE_ENCODER_X86 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_FCNTL_H 1 - -/* Define to 1 if __attribute__((__constructor__)) is supported for functions. - */ -#define HAVE_FUNC_ATTRIBUTE_CONSTRUCTOR 1 - -/* Define to 1 if you have the `futimens' function. */ -#define HAVE_FUTIMENS 1 - -/* Define to 1 if you have the `futimes' function. */ -/* #undef HAVE_FUTIMES */ - -/* Define to 1 if you have the `futimesat' function. */ -/* #undef HAVE_FUTIMESAT */ - -/* Define to 1 if you have the header file. */ -#define HAVE_GETOPT_H 1 - -/* Define to 1 if you have the `getopt_long' function. */ -#define HAVE_GETOPT_LONG 1 - -/* Define if the GNU gettext() function is already present or preinstalled. */ -#define HAVE_GETTEXT 1 - -/* Define if you have the iconv() function and it works. */ -/* #undef HAVE_ICONV */ - -/* Define to 1 if you have the header file. */ -#if defined __has_include - #if __has_include () - #define HAVE_IMMINTRIN_H 1 - #endif -#endif - -/* Define to 1 if you have the header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_LIMITS_H 1 - -/* Define to 1 if .lz (lzip) decompression support is enabled. */ -#define HAVE_LZIP_DECODER 1 - -/* Define to 1 if mbrtowc and mbstate_t are properly declared. */ -#define HAVE_MBRTOWC 1 - -/* Define to 1 to enable bt2 match finder. */ -#define HAVE_MF_BT2 1 - -/* Define to 1 to enable bt3 match finder. */ -#define HAVE_MF_BT3 1 - -/* Define to 1 to enable bt4 match finder. */ -#define HAVE_MF_BT4 1 - -/* Define to 1 to enable hc3 match finder. */ -#define HAVE_MF_HC3 1 - -/* Define to 1 to enable hc4 match finder. */ -#define HAVE_MF_HC4 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_MINIX_CONFIG_H */ - -/* Define to 1 if getopt.h declares extern int optreset. */ -/* #undef HAVE_OPTRESET */ - -/* Define to 1 if you have the `pledge' function. */ -/* #undef HAVE_PLEDGE */ - -/* Define to 1 if you have the `posix_fadvise' function. */ -#define HAVE_POSIX_FADVISE 1 - -/* Define to 1 if you have the `pthread_condattr_setclock' function. */ -#define HAVE_PTHREAD_CONDATTR_SETCLOCK 1 - -/* Have PTHREAD_PRIO_INHERIT. */ -#define HAVE_PTHREAD_PRIO_INHERIT 1 - -/* Define to 1 if you have the `SHA256Init' function. */ -/* #undef HAVE_SHA256INIT */ - -/* Define to 1 if the system has the type `SHA256_CTX'. */ -/* #undef HAVE_SHA256_CTX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SHA256_H */ - -/* Define to 1 if you have the `SHA256_Init' function. */ -/* #undef HAVE_SHA256_INIT */ - -/* Define to 1 if the system has the type `SHA2_CTX'. */ -/* #undef HAVE_SHA2_CTX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SHA2_H */ - -/* Define to 1 if optimizing for size. */ -/* #undef HAVE_SMALL */ - -/* Define to 1 if stdbool.h conforms to C99. */ -#define HAVE_STDBOOL_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDIO_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRINGS_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 if `st_atimensec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */ - -/* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC */ - -/* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */ - -/* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */ -#define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1 - -/* Define to 1 if `st_uatime' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_UATIME */ - -/* Define to 1 to if GNU/Linux-specific details are unconditionally wanted for - symbol versioning. Define to 2 to if these are wanted only if also PIC is - defined (allows building both shared and static liblzma at the same time - with Libtool if neither --with-pic nor --without-pic is used). This define - must be used together with liblzma_linux.map. */ -#define HAVE_SYMBOL_VERSIONS_LINUX 2 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_BYTEORDER_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_CAPSICUM_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_ENDIAN_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_PARAM_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_STAT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TIME_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define to 1 if the system has the type `uintptr_t'. */ -#define HAVE_UINTPTR_T 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_UNISTD_H 1 - -/* Define to 1 if _mm_clmulepi64_si128 is usable. See configure.ac for - details. */ -#define HAVE_USABLE_CLMUL 1 - -/* Define to 1 if you have the `utime' function. */ -/* #undef HAVE_UTIME */ - -/* Define to 1 if you have the `utimes' function. */ -/* #undef HAVE_UTIMES */ - -/* Define to 1 or 0, depending whether the compiler supports simple visibility - declarations. */ -#define HAVE_VISIBILITY 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_WCHAR_H 1 - -/* Define to 1 if you have the `wcwidth' function. */ -#define HAVE_WCWIDTH 1 - -/* Define to 1 if the system has the type `_Bool'. */ -#define HAVE__BOOL 1 - -/* Define to 1 if you have the `_futime' function. */ -/* #undef HAVE__FUTIME */ - -/* Define to 1 if _mm_movemask_epi8 is available. */ -#define HAVE__MM_MOVEMASK_EPI8 1 - -/* Define to 1 if the GNU C extension __builtin_assume_aligned is supported. - */ -#define HAVE___BUILTIN_ASSUME_ALIGNED 1 - -/* Define to 1 if the GNU C extensions __builtin_bswap16/32/64 are supported. - */ -#define HAVE___BUILTIN_BSWAPXX 1 - -/* Define to the sub-directory where libtool stores uninstalled libraries. */ -#define LT_OBJDIR ".libs/" - -/* Define to 1 when using POSIX threads (pthreads). */ -#define MYTHREAD_POSIX 1 - -/* Define to 1 when using Windows Vista compatible threads. This uses features - that are not available on Windows XP. */ -/* #undef MYTHREAD_VISTA */ - -/* Define to 1 when using Windows 95 (and thus XP) compatible threads. This - avoids use of features that were added in Windows Vista. */ -/* #undef MYTHREAD_WIN95 */ - -/* Define to 1 to disable debugging code. */ -#define NDEBUG 1 - -/* Name of package */ -#define PACKAGE "xz" - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "xz@tukaani.org" - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "XZ Utils" - -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "XZ Utils 5.4.0" - -/* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "xz" - -/* Define to the home page for this package. */ -#define PACKAGE_URL "https://tukaani.org/xz/" - -/* Define to the version of this package. */ -#define PACKAGE_VERSION "5.4.0" - -/* Define to necessary symbol if this constant uses a non-standard name on - your system. */ -/* #undef PTHREAD_CREATE_JOINABLE */ - -/* The size of `size_t', as computed by sizeof. */ -#define SIZEOF_SIZE_T 8 - -/* Define to 1 if all of the C90 standard headers exist (not just the ones - required in a freestanding environment). This macro is provided for - backward compatibility; new code need not use it. */ -#define STDC_HEADERS 1 - -/* Define to 1 if the number of available CPU cores can be detected with - cpuset(2). */ -/* #undef TUKLIB_CPUCORES_CPUSET */ - -/* Define to 1 if the number of available CPU cores can be detected with - pstat_getdynamic(). */ -/* #undef TUKLIB_CPUCORES_PSTAT_GETDYNAMIC */ - -/* Define to 1 if the number of available CPU cores can be detected with - sched_getaffinity() */ -#define TUKLIB_CPUCORES_SCHED_GETAFFINITY 1 - -/* Define to 1 if the number of available CPU cores can be detected with - sysconf(_SC_NPROCESSORS_ONLN) or sysconf(_SC_NPROC_ONLN). */ -/* #undef TUKLIB_CPUCORES_SYSCONF */ - -/* Define to 1 if the number of available CPU cores can be detected with - sysctl(). */ -/* #undef TUKLIB_CPUCORES_SYSCTL */ - -/* Define to 1 if the system supports fast unaligned access to 16-bit, 32-bit, - and 64-bit integers. */ -#define TUKLIB_FAST_UNALIGNED_ACCESS 1 - -/* Define to 1 if the amount of physical memory can be detected with - _system_configuration.physmem. */ -/* #undef TUKLIB_PHYSMEM_AIX */ - -/* Define to 1 if the amount of physical memory can be detected with - getinvent_r(). */ -/* #undef TUKLIB_PHYSMEM_GETINVENT_R */ - -/* Define to 1 if the amount of physical memory can be detected with - getsysinfo(). */ -/* #undef TUKLIB_PHYSMEM_GETSYSINFO */ - -/* Define to 1 if the amount of physical memory can be detected with - pstat_getstatic(). */ -/* #undef TUKLIB_PHYSMEM_PSTAT_GETSTATIC */ - -/* Define to 1 if the amount of physical memory can be detected with - sysconf(_SC_PAGESIZE) and sysconf(_SC_PHYS_PAGES). */ -#define TUKLIB_PHYSMEM_SYSCONF 1 - -/* Define to 1 if the amount of physical memory can be detected with sysctl(). - */ -/* #undef TUKLIB_PHYSMEM_SYSCTL */ - -/* Define to 1 if the amount of physical memory can be detected with Linux - sysinfo(). */ -/* #undef TUKLIB_PHYSMEM_SYSINFO */ - -/* Define to 1 to use unsafe type punning, e.g. char *x = ...; *(int *)x = - 123; which violates strict aliasing rules and thus is undefined behavior - and might result in broken code. */ -/* #undef TUKLIB_USE_UNSAFE_TYPE_PUNNING */ - -/* Enable extensions on AIX 3, Interix. */ -#ifndef _ALL_SOURCE -# define _ALL_SOURCE 1 -#endif -/* Enable general extensions on macOS. */ -#ifndef _DARWIN_C_SOURCE -# define _DARWIN_C_SOURCE 1 -#endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -# define __EXTENSIONS__ 1 -#endif -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 -#endif -/* Enable X/Open compliant socket functions that do not require linking - with -lxnet on HP-UX 11.11. */ -#ifndef _HPUX_ALT_XOPEN_SOCKET_API -# define _HPUX_ALT_XOPEN_SOCKET_API 1 -#endif -/* Identify the host operating system as Minix. - This macro does not affect the system headers' behavior. - A future release of Autoconf may stop defining this macro. */ -#ifndef _MINIX -/* # undef _MINIX */ -#endif -/* Enable general extensions on NetBSD. - Enable NetBSD compatibility extensions on Minix. */ -#ifndef _NETBSD_SOURCE -# define _NETBSD_SOURCE 1 -#endif -/* Enable OpenBSD compatibility extensions on NetBSD. - Oddly enough, this does nothing on OpenBSD. */ -#ifndef _OPENBSD_SOURCE -# define _OPENBSD_SOURCE 1 -#endif -/* Define to 1 if needed for POSIX-compatible behavior. */ -#ifndef _POSIX_SOURCE -/* # undef _POSIX_SOURCE */ -#endif -/* Define to 2 if needed for POSIX-compatible behavior. */ -#ifndef _POSIX_1_SOURCE -/* # undef _POSIX_1_SOURCE */ -#endif -/* Enable POSIX-compatible threading on Solaris. */ -#ifndef _POSIX_PTHREAD_SEMANTICS -# define _POSIX_PTHREAD_SEMANTICS 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ -#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ -# define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ -#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ -# define __STDC_WANT_IEC_60559_BFP_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ -#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ -# define __STDC_WANT_IEC_60559_DFP_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ -#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ -# define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ -#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ -# define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ -#ifndef __STDC_WANT_LIB_EXT2__ -# define __STDC_WANT_LIB_EXT2__ 1 -#endif -/* Enable extensions specified by ISO/IEC 24747:2009. */ -#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ -# define __STDC_WANT_MATH_SPEC_FUNCS__ 1 -#endif -/* Enable extensions on HP NonStop. */ -#ifndef _TANDEM_SOURCE -# define _TANDEM_SOURCE 1 -#endif -/* Enable X/Open extensions. Define to 500 only if necessary - to make mbstate_t available. */ -#ifndef _XOPEN_SOURCE -/* # undef _XOPEN_SOURCE */ -#endif - - -/* Version number of package */ -#define VERSION "5.4.0" - -/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most - significant byte first (like Motorola and SPARC, unlike Intel). */ -#if defined AC_APPLE_UNIVERSAL_BUILD -# if defined __BIG_ENDIAN__ -# define WORDS_BIGENDIAN 1 -# endif -#else -# ifndef WORDS_BIGENDIAN -/* # undef WORDS_BIGENDIAN */ -# endif -#endif - -/* Number of bits in a file offset, on hosts where this is settable. */ -/* #undef _FILE_OFFSET_BITS */ - -/* Define for large files, on AIX-style hosts. */ -/* #undef _LARGE_FILES */ - -/* Define for Solaris 2.5.1 so the uint32_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT32_T */ - -/* Define for Solaris 2.5.1 so the uint64_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT64_T */ - -/* Define for Solaris 2.5.1 so the uint8_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT8_T */ - -/* Define to rpl_ if the getopt replacement functions and variables should be - used. */ -/* #undef __GETOPT_PREFIX */ - -/* Define to the type of a signed integer type of width exactly 32 bits if - such a type exists and the standard includes do not define it. */ -/* #undef int32_t */ - -/* Define to the type of a signed integer type of width exactly 64 bits if - such a type exists and the standard includes do not define it. */ -/* #undef int64_t */ - -/* Define to the type of an unsigned integer type of width exactly 16 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint16_t */ - -/* Define to the type of an unsigned integer type of width exactly 32 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint32_t */ - -/* Define to the type of an unsigned integer type of width exactly 64 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint64_t */ - -/* Define to the type of an unsigned integer type of width exactly 8 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint8_t */ - -/* Define to the type of an unsigned integer type wide enough to hold a - pointer, if such a type exists, and if the system does not define it. */ -/* #undef uintptr_t */ diff --git a/third_party/rules_boost/config.lzma-osx-arm64.h b/third_party/rules_boost/config.lzma-osx-arm64.h deleted file mode 100644 index de9ce8b6..00000000 --- a/third_party/rules_boost/config.lzma-osx-arm64.h +++ /dev/null @@ -1,602 +0,0 @@ -/* config.h. Generated from config.h.in by configure. */ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* Define if building universal (internal helper macro) */ -/* #undef AC_APPLE_UNIVERSAL_BUILD */ - -/* How many MiB of RAM to assume if the real amount cannot be determined. */ -#define ASSUME_RAM 128 - -/* Define to 1 if translation of program messages to the user's native - language is requested. */ -/* #undef ENABLE_NLS */ - -/* Define to 1 if bswap_16 is available. */ -/* #undef HAVE_BSWAP_16 */ - -/* Define to 1 if bswap_32 is available. */ -/* #undef HAVE_BSWAP_32 */ - -/* Define to 1 if bswap_64 is available. */ -/* #undef HAVE_BSWAP_64 */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_BYTESWAP_H */ - -/* Define to 1 if Capsicum is available. */ -/* #undef HAVE_CAPSICUM */ - -/* Define to 1 if the system has the type `CC_SHA256_CTX'. */ -/* #undef HAVE_CC_SHA256_CTX */ - -/* Define to 1 if you have the `CC_SHA256_Init' function. */ -/* #undef HAVE_CC_SHA256_INIT */ - -/* Define to 1 if you have the Mac OS X function - CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ -#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1 - -/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in - the CoreFoundation framework. */ -#define HAVE_CFPREFERENCESCOPYAPPVALUE 1 - -/* Define to 1 if crc32 integrity check is enabled. */ -#define HAVE_CHECK_CRC32 1 - -/* Define to 1 if crc64 integrity check is enabled. */ -#define HAVE_CHECK_CRC64 1 - -/* Define to 1 if sha256 integrity check is enabled. */ -#define HAVE_CHECK_SHA256 1 - -/* Define to 1 if you have the `clock_gettime' function. */ -#define HAVE_CLOCK_GETTIME 1 - -/* Define to 1 if `CLOCK_MONOTONIC' is declared in . */ -#define HAVE_CLOCK_MONOTONIC 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_COMMONCRYPTO_COMMONDIGEST_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_CPUID_H */ - -/* Define if the GNU dcgettext() function is already present or preinstalled. - */ -/* #undef HAVE_DCGETTEXT */ - -/* Define to 1 if any of HAVE_DECODER_foo have been defined. */ -#define HAVE_DECODERS 1 - -/* Define to 1 if arm decoder is enabled. */ -#define HAVE_DECODER_ARM 1 - -/* Define to 1 if arm64 decoder is enabled. */ -#define HAVE_DECODER_ARM64 1 - -/* Define to 1 if armthumb decoder is enabled. */ -#define HAVE_DECODER_ARMTHUMB 1 - -/* Define to 1 if delta decoder is enabled. */ -#define HAVE_DECODER_DELTA 1 - -/* Define to 1 if ia64 decoder is enabled. */ -#define HAVE_DECODER_IA64 1 - -/* Define to 1 if lzma1 decoder is enabled. */ -#define HAVE_DECODER_LZMA1 1 - -/* Define to 1 if lzma2 decoder is enabled. */ -#define HAVE_DECODER_LZMA2 1 - -/* Define to 1 if powerpc decoder is enabled. */ -#define HAVE_DECODER_POWERPC 1 - -/* Define to 1 if sparc decoder is enabled. */ -#define HAVE_DECODER_SPARC 1 - -/* Define to 1 if x86 decoder is enabled. */ -#define HAVE_DECODER_X86 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_DLFCN_H 1 - -/* Define to 1 if any of HAVE_ENCODER_foo have been defined. */ -#define HAVE_ENCODERS 1 - -/* Define to 1 if arm encoder is enabled. */ -#define HAVE_ENCODER_ARM 1 - -/* Define to 1 if arm64 encoder is enabled. */ -#define HAVE_ENCODER_ARM64 1 - -/* Define to 1 if armthumb encoder is enabled. */ -#define HAVE_ENCODER_ARMTHUMB 1 - -/* Define to 1 if delta encoder is enabled. */ -#define HAVE_ENCODER_DELTA 1 - -/* Define to 1 if ia64 encoder is enabled. */ -#define HAVE_ENCODER_IA64 1 - -/* Define to 1 if lzma1 encoder is enabled. */ -#define HAVE_ENCODER_LZMA1 1 - -/* Define to 1 if lzma2 encoder is enabled. */ -#define HAVE_ENCODER_LZMA2 1 - -/* Define to 1 if powerpc encoder is enabled. */ -#define HAVE_ENCODER_POWERPC 1 - -/* Define to 1 if sparc encoder is enabled. */ -#define HAVE_ENCODER_SPARC 1 - -/* Define to 1 if x86 encoder is enabled. */ -#define HAVE_ENCODER_X86 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_FCNTL_H 1 - -/* Define to 1 if __attribute__((__constructor__)) is supported for functions. - */ -#define HAVE_FUNC_ATTRIBUTE_CONSTRUCTOR 1 - -/* Define to 1 if you have the `futimens' function. */ -#define HAVE_FUTIMENS 1 - -/* Define to 1 if you have the `futimes' function. */ -/* #undef HAVE_FUTIMES */ - -/* Define to 1 if you have the `futimesat' function. */ -/* #undef HAVE_FUTIMESAT */ - -/* Define to 1 if you have the header file. */ -#define HAVE_GETOPT_H 1 - -/* Define to 1 if you have the `getopt_long' function. */ -#define HAVE_GETOPT_LONG 1 - -/* Define if the GNU gettext() function is already present or preinstalled. */ -/* #undef HAVE_GETTEXT */ - -/* Define if you have the iconv() function and it works. */ -#define HAVE_ICONV 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_IMMINTRIN_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_LIMITS_H 1 - -/* Define to 1 if .lz (lzip) decompression support is enabled. */ -#define HAVE_LZIP_DECODER 1 - -/* Define to 1 if mbrtowc and mbstate_t are properly declared. */ -#define HAVE_MBRTOWC 1 - -/* Define to 1 to enable bt2 match finder. */ -#define HAVE_MF_BT2 1 - -/* Define to 1 to enable bt3 match finder. */ -#define HAVE_MF_BT3 1 - -/* Define to 1 to enable bt4 match finder. */ -#define HAVE_MF_BT4 1 - -/* Define to 1 to enable hc3 match finder. */ -#define HAVE_MF_HC3 1 - -/* Define to 1 to enable hc4 match finder. */ -#define HAVE_MF_HC4 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_MINIX_CONFIG_H */ - -/* Define to 1 if getopt.h declares extern int optreset. */ -#define HAVE_OPTRESET 1 - -/* Define to 1 if you have the `pledge' function. */ -/* #undef HAVE_PLEDGE */ - -/* Define to 1 if you have the `posix_fadvise' function. */ -/* #undef HAVE_POSIX_FADVISE */ - -/* Define to 1 if `program_invocation_name' is declared in . */ -/* #undef HAVE_PROGRAM_INVOCATION_NAME */ - -/* Define to 1 if you have the `pthread_condattr_setclock' function. */ -/* #undef HAVE_PTHREAD_CONDATTR_SETCLOCK */ - -/* Have PTHREAD_PRIO_INHERIT. */ -#define HAVE_PTHREAD_PRIO_INHERIT 1 - -/* Define to 1 if you have the `SHA256Init' function. */ -/* #undef HAVE_SHA256INIT */ - -/* Define to 1 if the system has the type `SHA256_CTX'. */ -/* #undef HAVE_SHA256_CTX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SHA256_H */ - -/* Define to 1 if you have the `SHA256_Init' function. */ -/* #undef HAVE_SHA256_INIT */ - -/* Define to 1 if the system has the type `SHA2_CTX'. */ -/* #undef HAVE_SHA2_CTX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SHA2_H */ - -/* Define to 1 if optimizing for size. */ -/* #undef HAVE_SMALL */ - -/* Define to 1 if stdbool.h conforms to C99. */ -#define HAVE_STDBOOL_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDIO_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRINGS_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 if `st_atimensec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */ - -/* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */ -#define HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1 - -/* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */ - -/* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC */ - -/* Define to 1 if `st_uatime' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_UATIME */ - -/* Define to 1 to if GNU/Linux-specific details are unconditionally wanted for - symbol versioning. Define to 2 to if these are wanted only if also PIC is - defined (allows building both shared and static liblzma at the same time - with Libtool if neither --with-pic nor --without-pic is used). This define - must be used together with liblzma_linux.map. */ -/* #undef HAVE_SYMBOL_VERSIONS_LINUX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_BYTEORDER_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_CAPSICUM_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_ENDIAN_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_PARAM_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_STAT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TIME_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define to 1 if the system has the type `uintptr_t'. */ -#define HAVE_UINTPTR_T 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_UNISTD_H 1 - -/* Define to 1 if _mm_set_epi64x and _mm_clmulepi64_si128 are usable. See - configure.ac for details. */ -/* #undef HAVE_USABLE_CLMUL */ - -/* Define to 1 if you have the `utime' function. */ -/* #undef HAVE_UTIME */ - -/* Define to 1 if you have the `utimes' function. */ -/* #undef HAVE_UTIMES */ - -/* Define to 1 or 0, depending whether the compiler supports simple visibility - declarations. */ -#define HAVE_VISIBILITY 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_WCHAR_H 1 - -/* Define to 1 if you have the `wcwidth' function. */ -#define HAVE_WCWIDTH 1 - -/* Define to 1 if the system has the type `_Bool'. */ -#define HAVE__BOOL 1 - -/* Define to 1 if you have the `_futime' function. */ -/* #undef HAVE__FUTIME */ - -/* Define to 1 if _mm_movemask_epi8 is available. */ -/* #undef HAVE__MM_MOVEMASK_EPI8 */ - -/* Define to 1 if the GNU C extension __builtin_assume_aligned is supported. - */ -#define HAVE___BUILTIN_ASSUME_ALIGNED 1 - -/* Define to 1 if the GNU C extensions __builtin_bswap16/32/64 are supported. - */ -#define HAVE___BUILTIN_BSWAPXX 1 - -/* Define to the sub-directory where libtool stores uninstalled libraries. */ -#define LT_OBJDIR ".libs/" - -/* Define to 1 when using POSIX threads (pthreads). */ -#define MYTHREAD_POSIX 1 - -/* Define to 1 when using Windows Vista compatible threads. This uses features - that are not available on Windows XP. */ -/* #undef MYTHREAD_VISTA */ - -/* Define to 1 when using Windows 95 (and thus XP) compatible threads. This - avoids use of features that were added in Windows Vista. */ -/* #undef MYTHREAD_WIN95 */ - -/* Define to 1 to disable debugging code. */ -#define NDEBUG 1 - -/* Name of package */ -#define PACKAGE "xz" - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "xz@tukaani.org" - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "XZ Utils" - -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "XZ Utils 5.4.2" - -/* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "xz" - -/* Define to the home page for this package. */ -#define PACKAGE_URL "https://tukaani.org/xz/" - -/* Define to the version of this package. */ -#define PACKAGE_VERSION "5.4.2" - -/* Define to necessary symbol if this constant uses a non-standard name on - your system. */ -/* #undef PTHREAD_CREATE_JOINABLE */ - -/* The size of `size_t', as computed by sizeof. */ -#define SIZEOF_SIZE_T 8 - -/* Define to 1 if all of the C90 standard headers exist (not just the ones - required in a freestanding environment). This macro is provided for - backward compatibility; new code need not use it. */ -#define STDC_HEADERS 1 - -/* Define to 1 if the number of available CPU cores can be detected with - cpuset(2). */ -/* #undef TUKLIB_CPUCORES_CPUSET */ - -/* Define to 1 if the number of available CPU cores can be detected with - pstat_getdynamic(). */ -/* #undef TUKLIB_CPUCORES_PSTAT_GETDYNAMIC */ - -/* Define to 1 if the number of available CPU cores can be detected with - sched_getaffinity() */ -/* #undef TUKLIB_CPUCORES_SCHED_GETAFFINITY */ - -/* Define to 1 if the number of available CPU cores can be detected with - sysconf(_SC_NPROCESSORS_ONLN) or sysconf(_SC_NPROC_ONLN). */ -/* #undef TUKLIB_CPUCORES_SYSCONF */ - -/* Define to 1 if the number of available CPU cores can be detected with - sysctl(). */ -#define TUKLIB_CPUCORES_SYSCTL 1 - -/* Define to 1 if the system supports fast unaligned access to 16-bit, 32-bit, - and 64-bit integers. */ -#define TUKLIB_FAST_UNALIGNED_ACCESS 1 - -/* Define to 1 if the amount of physical memory can be detected with - _system_configuration.physmem. */ -/* #undef TUKLIB_PHYSMEM_AIX */ - -/* Define to 1 if the amount of physical memory can be detected with - getinvent_r(). */ -/* #undef TUKLIB_PHYSMEM_GETINVENT_R */ - -/* Define to 1 if the amount of physical memory can be detected with - getsysinfo(). */ -/* #undef TUKLIB_PHYSMEM_GETSYSINFO */ - -/* Define to 1 if the amount of physical memory can be detected with - pstat_getstatic(). */ -/* #undef TUKLIB_PHYSMEM_PSTAT_GETSTATIC */ - -/* Define to 1 if the amount of physical memory can be detected with - sysconf(_SC_PAGESIZE) and sysconf(_SC_PHYS_PAGES). */ -#define TUKLIB_PHYSMEM_SYSCONF 1 - -/* Define to 1 if the amount of physical memory can be detected with sysctl(). - */ -/* #undef TUKLIB_PHYSMEM_SYSCTL */ - -/* Define to 1 if the amount of physical memory can be detected with Linux - sysinfo(). */ -/* #undef TUKLIB_PHYSMEM_SYSINFO */ - -/* Define to 1 to use unsafe type punning, e.g. char *x = ...; *(int *)x = - 123; which violates strict aliasing rules and thus is undefined behavior - and might result in broken code. */ -/* #undef TUKLIB_USE_UNSAFE_TYPE_PUNNING */ - -/* Enable extensions on AIX 3, Interix. */ -#ifndef _ALL_SOURCE -# define _ALL_SOURCE 1 -#endif -/* Enable general extensions on macOS. */ -#ifndef _DARWIN_C_SOURCE -# define _DARWIN_C_SOURCE 1 -#endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -# define __EXTENSIONS__ 1 -#endif -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 -#endif -/* Enable X/Open compliant socket functions that do not require linking - with -lxnet on HP-UX 11.11. */ -#ifndef _HPUX_ALT_XOPEN_SOCKET_API -# define _HPUX_ALT_XOPEN_SOCKET_API 1 -#endif -/* Identify the host operating system as Minix. - This macro does not affect the system headers' behavior. - A future release of Autoconf may stop defining this macro. */ -#ifndef _MINIX -/* # undef _MINIX */ -#endif -/* Enable general extensions on NetBSD. - Enable NetBSD compatibility extensions on Minix. */ -#ifndef _NETBSD_SOURCE -# define _NETBSD_SOURCE 1 -#endif -/* Enable OpenBSD compatibility extensions on NetBSD. - Oddly enough, this does nothing on OpenBSD. */ -#ifndef _OPENBSD_SOURCE -# define _OPENBSD_SOURCE 1 -#endif -/* Define to 1 if needed for POSIX-compatible behavior. */ -#ifndef _POSIX_SOURCE -/* # undef _POSIX_SOURCE */ -#endif -/* Define to 2 if needed for POSIX-compatible behavior. */ -#ifndef _POSIX_1_SOURCE -/* # undef _POSIX_1_SOURCE */ -#endif -/* Enable POSIX-compatible threading on Solaris. */ -#ifndef _POSIX_PTHREAD_SEMANTICS -# define _POSIX_PTHREAD_SEMANTICS 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ -#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ -# define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ -#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ -# define __STDC_WANT_IEC_60559_BFP_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ -#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ -# define __STDC_WANT_IEC_60559_DFP_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ -#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ -# define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ -#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ -# define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ -#ifndef __STDC_WANT_LIB_EXT2__ -# define __STDC_WANT_LIB_EXT2__ 1 -#endif -/* Enable extensions specified by ISO/IEC 24747:2009. */ -#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ -# define __STDC_WANT_MATH_SPEC_FUNCS__ 1 -#endif -/* Enable extensions on HP NonStop. */ -#ifndef _TANDEM_SOURCE -# define _TANDEM_SOURCE 1 -#endif -/* Enable X/Open extensions. Define to 500 only if necessary - to make mbstate_t available. */ -#ifndef _XOPEN_SOURCE -/* # undef _XOPEN_SOURCE */ -#endif - - -/* Version number of package */ -#define VERSION "5.4.2" - -/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most - significant byte first (like Motorola and SPARC, unlike Intel). */ -#if defined AC_APPLE_UNIVERSAL_BUILD -# if defined __BIG_ENDIAN__ -# define WORDS_BIGENDIAN 1 -# endif -#else -# ifndef WORDS_BIGENDIAN -/* # undef WORDS_BIGENDIAN */ -# endif -#endif - -/* Number of bits in a file offset, on hosts where this is settable. */ -/* #undef _FILE_OFFSET_BITS */ - -/* Define for large files, on AIX-style hosts. */ -/* #undef _LARGE_FILES */ - -/* Define for Solaris 2.5.1 so the uint32_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT32_T */ - -/* Define for Solaris 2.5.1 so the uint64_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT64_T */ - -/* Define for Solaris 2.5.1 so the uint8_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT8_T */ - -/* Define to rpl_ if the getopt replacement functions and variables should be - used. */ -/* #undef __GETOPT_PREFIX */ - -/* Define to the type of a signed integer type of width exactly 32 bits if - such a type exists and the standard includes do not define it. */ -/* #undef int32_t */ - -/* Define to the type of a signed integer type of width exactly 64 bits if - such a type exists and the standard includes do not define it. */ -/* #undef int64_t */ - -/* Define to the type of an unsigned integer type of width exactly 16 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint16_t */ - -/* Define to the type of an unsigned integer type of width exactly 32 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint32_t */ - -/* Define to the type of an unsigned integer type of width exactly 64 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint64_t */ - -/* Define to the type of an unsigned integer type of width exactly 8 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint8_t */ - -/* Define to the type of an unsigned integer type wide enough to hold a - pointer, if such a type exists, and if the system does not define it. */ -/* #undef uintptr_t */ diff --git a/third_party/rules_boost/config.lzma-osx-x86_64.h b/third_party/rules_boost/config.lzma-osx-x86_64.h deleted file mode 100644 index 439213ff..00000000 --- a/third_party/rules_boost/config.lzma-osx-x86_64.h +++ /dev/null @@ -1,602 +0,0 @@ -/* config.h. Generated from config.h.in by configure. */ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* Define if building universal (internal helper macro) */ -/* #undef AC_APPLE_UNIVERSAL_BUILD */ - -/* How many MiB of RAM to assume if the real amount cannot be determined. */ -#define ASSUME_RAM 128 - -/* Define to 1 if translation of program messages to the user's native - language is requested. */ -/* #undef ENABLE_NLS */ - -/* Define to 1 if bswap_16 is available. */ -/* #undef HAVE_BSWAP_16 */ - -/* Define to 1 if bswap_32 is available. */ -/* #undef HAVE_BSWAP_32 */ - -/* Define to 1 if bswap_64 is available. */ -/* #undef HAVE_BSWAP_64 */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_BYTESWAP_H */ - -/* Define to 1 if Capsicum is available. */ -/* #undef HAVE_CAPSICUM */ - -/* Define to 1 if the system has the type `CC_SHA256_CTX'. */ -/* #undef HAVE_CC_SHA256_CTX */ - -/* Define to 1 if you have the `CC_SHA256_Init' function. */ -/* #undef HAVE_CC_SHA256_INIT */ - -/* Define to 1 if you have the Mac OS X function - CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ -#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1 - -/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in - the CoreFoundation framework. */ -#define HAVE_CFPREFERENCESCOPYAPPVALUE 1 - -/* Define to 1 if crc32 integrity check is enabled. */ -#define HAVE_CHECK_CRC32 1 - -/* Define to 1 if crc64 integrity check is enabled. */ -#define HAVE_CHECK_CRC64 1 - -/* Define to 1 if sha256 integrity check is enabled. */ -#define HAVE_CHECK_SHA256 1 - -/* Define to 1 if you have the `clock_gettime' function. */ -#define HAVE_CLOCK_GETTIME 1 - -/* Define to 1 if `CLOCK_MONOTONIC' is declared in . */ -#define HAVE_CLOCK_MONOTONIC 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_COMMONCRYPTO_COMMONDIGEST_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_CPUID_H 1 - -/* Define if the GNU dcgettext() function is already present or preinstalled. - */ -/* #undef HAVE_DCGETTEXT */ - -/* Define to 1 if any of HAVE_DECODER_foo have been defined. */ -#define HAVE_DECODERS 1 - -/* Define to 1 if arm decoder is enabled. */ -#define HAVE_DECODER_ARM 1 - -/* Define to 1 if arm64 decoder is enabled. */ -#define HAVE_DECODER_ARM64 1 - -/* Define to 1 if armthumb decoder is enabled. */ -#define HAVE_DECODER_ARMTHUMB 1 - -/* Define to 1 if delta decoder is enabled. */ -#define HAVE_DECODER_DELTA 1 - -/* Define to 1 if ia64 decoder is enabled. */ -#define HAVE_DECODER_IA64 1 - -/* Define to 1 if lzma1 decoder is enabled. */ -#define HAVE_DECODER_LZMA1 1 - -/* Define to 1 if lzma2 decoder is enabled. */ -#define HAVE_DECODER_LZMA2 1 - -/* Define to 1 if powerpc decoder is enabled. */ -#define HAVE_DECODER_POWERPC 1 - -/* Define to 1 if sparc decoder is enabled. */ -#define HAVE_DECODER_SPARC 1 - -/* Define to 1 if x86 decoder is enabled. */ -#define HAVE_DECODER_X86 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_DLFCN_H 1 - -/* Define to 1 if any of HAVE_ENCODER_foo have been defined. */ -#define HAVE_ENCODERS 1 - -/* Define to 1 if arm encoder is enabled. */ -#define HAVE_ENCODER_ARM 1 - -/* Define to 1 if arm64 encoder is enabled. */ -#define HAVE_ENCODER_ARM64 1 - -/* Define to 1 if armthumb encoder is enabled. */ -#define HAVE_ENCODER_ARMTHUMB 1 - -/* Define to 1 if delta encoder is enabled. */ -#define HAVE_ENCODER_DELTA 1 - -/* Define to 1 if ia64 encoder is enabled. */ -#define HAVE_ENCODER_IA64 1 - -/* Define to 1 if lzma1 encoder is enabled. */ -#define HAVE_ENCODER_LZMA1 1 - -/* Define to 1 if lzma2 encoder is enabled. */ -#define HAVE_ENCODER_LZMA2 1 - -/* Define to 1 if powerpc encoder is enabled. */ -#define HAVE_ENCODER_POWERPC 1 - -/* Define to 1 if sparc encoder is enabled. */ -#define HAVE_ENCODER_SPARC 1 - -/* Define to 1 if x86 encoder is enabled. */ -#define HAVE_ENCODER_X86 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_FCNTL_H 1 - -/* Define to 1 if __attribute__((__constructor__)) is supported for functions. - */ -#define HAVE_FUNC_ATTRIBUTE_CONSTRUCTOR 1 - -/* Define to 1 if you have the `futimens' function. */ -#define HAVE_FUTIMENS 1 - -/* Define to 1 if you have the `futimes' function. */ -/* #undef HAVE_FUTIMES */ - -/* Define to 1 if you have the `futimesat' function. */ -/* #undef HAVE_FUTIMESAT */ - -/* Define to 1 if you have the header file. */ -#define HAVE_GETOPT_H 1 - -/* Define to 1 if you have the `getopt_long' function. */ -#define HAVE_GETOPT_LONG 1 - -/* Define if the GNU gettext() function is already present or preinstalled. */ -/* #undef HAVE_GETTEXT */ - -/* Define if you have the iconv() function and it works. */ -#define HAVE_ICONV 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_IMMINTRIN_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_LIMITS_H 1 - -/* Define to 1 if .lz (lzip) decompression support is enabled. */ -#define HAVE_LZIP_DECODER 1 - -/* Define to 1 if mbrtowc and mbstate_t are properly declared. */ -#define HAVE_MBRTOWC 1 - -/* Define to 1 to enable bt2 match finder. */ -#define HAVE_MF_BT2 1 - -/* Define to 1 to enable bt3 match finder. */ -#define HAVE_MF_BT3 1 - -/* Define to 1 to enable bt4 match finder. */ -#define HAVE_MF_BT4 1 - -/* Define to 1 to enable hc3 match finder. */ -#define HAVE_MF_HC3 1 - -/* Define to 1 to enable hc4 match finder. */ -#define HAVE_MF_HC4 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_MINIX_CONFIG_H */ - -/* Define to 1 if getopt.h declares extern int optreset. */ -#define HAVE_OPTRESET 1 - -/* Define to 1 if you have the `pledge' function. */ -/* #undef HAVE_PLEDGE */ - -/* Define to 1 if you have the `posix_fadvise' function. */ -/* #undef HAVE_POSIX_FADVISE */ - -/* Define to 1 if `program_invocation_name' is declared in . */ -/* #undef HAVE_PROGRAM_INVOCATION_NAME */ - -/* Define to 1 if you have the `pthread_condattr_setclock' function. */ -/* #undef HAVE_PTHREAD_CONDATTR_SETCLOCK */ - -/* Have PTHREAD_PRIO_INHERIT. */ -#define HAVE_PTHREAD_PRIO_INHERIT 1 - -/* Define to 1 if you have the `SHA256Init' function. */ -/* #undef HAVE_SHA256INIT */ - -/* Define to 1 if the system has the type `SHA256_CTX'. */ -/* #undef HAVE_SHA256_CTX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SHA256_H */ - -/* Define to 1 if you have the `SHA256_Init' function. */ -/* #undef HAVE_SHA256_INIT */ - -/* Define to 1 if the system has the type `SHA2_CTX'. */ -/* #undef HAVE_SHA2_CTX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SHA2_H */ - -/* Define to 1 if optimizing for size. */ -/* #undef HAVE_SMALL */ - -/* Define to 1 if stdbool.h conforms to C99. */ -#define HAVE_STDBOOL_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDIO_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRINGS_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 if `st_atimensec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */ - -/* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */ -#define HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1 - -/* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */ - -/* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC */ - -/* Define to 1 if `st_uatime' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_UATIME */ - -/* Define to 1 to if GNU/Linux-specific details are unconditionally wanted for - symbol versioning. Define to 2 to if these are wanted only if also PIC is - defined (allows building both shared and static liblzma at the same time - with Libtool if neither --with-pic nor --without-pic is used). This define - must be used together with liblzma_linux.map. */ -/* #undef HAVE_SYMBOL_VERSIONS_LINUX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_BYTEORDER_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_CAPSICUM_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_ENDIAN_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_PARAM_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_STAT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TIME_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define to 1 if the system has the type `uintptr_t'. */ -#define HAVE_UINTPTR_T 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_UNISTD_H 1 - -/* Define to 1 if _mm_set_epi64x and _mm_clmulepi64_si128 are usable. See - configure.ac for details. */ -#define HAVE_USABLE_CLMUL 1 - -/* Define to 1 if you have the `utime' function. */ -/* #undef HAVE_UTIME */ - -/* Define to 1 if you have the `utimes' function. */ -/* #undef HAVE_UTIMES */ - -/* Define to 1 or 0, depending whether the compiler supports simple visibility - declarations. */ -#define HAVE_VISIBILITY 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_WCHAR_H 1 - -/* Define to 1 if you have the `wcwidth' function. */ -#define HAVE_WCWIDTH 1 - -/* Define to 1 if the system has the type `_Bool'. */ -#define HAVE__BOOL 1 - -/* Define to 1 if you have the `_futime' function. */ -/* #undef HAVE__FUTIME */ - -/* Define to 1 if _mm_movemask_epi8 is available. */ -#define HAVE__MM_MOVEMASK_EPI8 1 - -/* Define to 1 if the GNU C extension __builtin_assume_aligned is supported. - */ -#define HAVE___BUILTIN_ASSUME_ALIGNED 1 - -/* Define to 1 if the GNU C extensions __builtin_bswap16/32/64 are supported. - */ -#define HAVE___BUILTIN_BSWAPXX 1 - -/* Define to the sub-directory where libtool stores uninstalled libraries. */ -#define LT_OBJDIR ".libs/" - -/* Define to 1 when using POSIX threads (pthreads). */ -#define MYTHREAD_POSIX 1 - -/* Define to 1 when using Windows Vista compatible threads. This uses features - that are not available on Windows XP. */ -/* #undef MYTHREAD_VISTA */ - -/* Define to 1 when using Windows 95 (and thus XP) compatible threads. This - avoids use of features that were added in Windows Vista. */ -/* #undef MYTHREAD_WIN95 */ - -/* Define to 1 to disable debugging code. */ -#define NDEBUG 1 - -/* Name of package */ -#define PACKAGE "xz" - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "xz@tukaani.org" - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "XZ Utils" - -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "XZ Utils 5.4.2" - -/* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "xz" - -/* Define to the home page for this package. */ -#define PACKAGE_URL "https://tukaani.org/xz/" - -/* Define to the version of this package. */ -#define PACKAGE_VERSION "5.4.2" - -/* Define to necessary symbol if this constant uses a non-standard name on - your system. */ -/* #undef PTHREAD_CREATE_JOINABLE */ - -/* The size of `size_t', as computed by sizeof. */ -#define SIZEOF_SIZE_T 8 - -/* Define to 1 if all of the C90 standard headers exist (not just the ones - required in a freestanding environment). This macro is provided for - backward compatibility; new code need not use it. */ -#define STDC_HEADERS 1 - -/* Define to 1 if the number of available CPU cores can be detected with - cpuset(2). */ -/* #undef TUKLIB_CPUCORES_CPUSET */ - -/* Define to 1 if the number of available CPU cores can be detected with - pstat_getdynamic(). */ -/* #undef TUKLIB_CPUCORES_PSTAT_GETDYNAMIC */ - -/* Define to 1 if the number of available CPU cores can be detected with - sched_getaffinity() */ -/* #undef TUKLIB_CPUCORES_SCHED_GETAFFINITY */ - -/* Define to 1 if the number of available CPU cores can be detected with - sysconf(_SC_NPROCESSORS_ONLN) or sysconf(_SC_NPROC_ONLN). */ -/* #undef TUKLIB_CPUCORES_SYSCONF */ - -/* Define to 1 if the number of available CPU cores can be detected with - sysctl(). */ -#define TUKLIB_CPUCORES_SYSCTL 1 - -/* Define to 1 if the system supports fast unaligned access to 16-bit, 32-bit, - and 64-bit integers. */ -/* #undef TUKLIB_FAST_UNALIGNED_ACCESS */ - -/* Define to 1 if the amount of physical memory can be detected with - _system_configuration.physmem. */ -/* #undef TUKLIB_PHYSMEM_AIX */ - -/* Define to 1 if the amount of physical memory can be detected with - getinvent_r(). */ -/* #undef TUKLIB_PHYSMEM_GETINVENT_R */ - -/* Define to 1 if the amount of physical memory can be detected with - getsysinfo(). */ -/* #undef TUKLIB_PHYSMEM_GETSYSINFO */ - -/* Define to 1 if the amount of physical memory can be detected with - pstat_getstatic(). */ -/* #undef TUKLIB_PHYSMEM_PSTAT_GETSTATIC */ - -/* Define to 1 if the amount of physical memory can be detected with - sysconf(_SC_PAGESIZE) and sysconf(_SC_PHYS_PAGES). */ -#define TUKLIB_PHYSMEM_SYSCONF 1 - -/* Define to 1 if the amount of physical memory can be detected with sysctl(). - */ -/* #undef TUKLIB_PHYSMEM_SYSCTL */ - -/* Define to 1 if the amount of physical memory can be detected with Linux - sysinfo(). */ -/* #undef TUKLIB_PHYSMEM_SYSINFO */ - -/* Define to 1 to use unsafe type punning, e.g. char *x = ...; *(int *)x = - 123; which violates strict aliasing rules and thus is undefined behavior - and might result in broken code. */ -/* #undef TUKLIB_USE_UNSAFE_TYPE_PUNNING */ - -/* Enable extensions on AIX 3, Interix. */ -#ifndef _ALL_SOURCE -# define _ALL_SOURCE 1 -#endif -/* Enable general extensions on macOS. */ -#ifndef _DARWIN_C_SOURCE -# define _DARWIN_C_SOURCE 1 -#endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -# define __EXTENSIONS__ 1 -#endif -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 -#endif -/* Enable X/Open compliant socket functions that do not require linking - with -lxnet on HP-UX 11.11. */ -#ifndef _HPUX_ALT_XOPEN_SOCKET_API -# define _HPUX_ALT_XOPEN_SOCKET_API 1 -#endif -/* Identify the host operating system as Minix. - This macro does not affect the system headers' behavior. - A future release of Autoconf may stop defining this macro. */ -#ifndef _MINIX -/* # undef _MINIX */ -#endif -/* Enable general extensions on NetBSD. - Enable NetBSD compatibility extensions on Minix. */ -#ifndef _NETBSD_SOURCE -# define _NETBSD_SOURCE 1 -#endif -/* Enable OpenBSD compatibility extensions on NetBSD. - Oddly enough, this does nothing on OpenBSD. */ -#ifndef _OPENBSD_SOURCE -# define _OPENBSD_SOURCE 1 -#endif -/* Define to 1 if needed for POSIX-compatible behavior. */ -#ifndef _POSIX_SOURCE -/* # undef _POSIX_SOURCE */ -#endif -/* Define to 2 if needed for POSIX-compatible behavior. */ -#ifndef _POSIX_1_SOURCE -/* # undef _POSIX_1_SOURCE */ -#endif -/* Enable POSIX-compatible threading on Solaris. */ -#ifndef _POSIX_PTHREAD_SEMANTICS -# define _POSIX_PTHREAD_SEMANTICS 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ -#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ -# define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ -#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ -# define __STDC_WANT_IEC_60559_BFP_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ -#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ -# define __STDC_WANT_IEC_60559_DFP_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ -#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ -# define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ -#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ -# define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 -#endif -/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ -#ifndef __STDC_WANT_LIB_EXT2__ -# define __STDC_WANT_LIB_EXT2__ 1 -#endif -/* Enable extensions specified by ISO/IEC 24747:2009. */ -#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ -# define __STDC_WANT_MATH_SPEC_FUNCS__ 1 -#endif -/* Enable extensions on HP NonStop. */ -#ifndef _TANDEM_SOURCE -# define _TANDEM_SOURCE 1 -#endif -/* Enable X/Open extensions. Define to 500 only if necessary - to make mbstate_t available. */ -#ifndef _XOPEN_SOURCE -/* # undef _XOPEN_SOURCE */ -#endif - - -/* Version number of package */ -#define VERSION "5.4.2" - -/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most - significant byte first (like Motorola and SPARC, unlike Intel). */ -#if defined AC_APPLE_UNIVERSAL_BUILD -# if defined __BIG_ENDIAN__ -# define WORDS_BIGENDIAN 1 -# endif -#else -# ifndef WORDS_BIGENDIAN -/* # undef WORDS_BIGENDIAN */ -# endif -#endif - -/* Number of bits in a file offset, on hosts where this is settable. */ -/* #undef _FILE_OFFSET_BITS */ - -/* Define for large files, on AIX-style hosts. */ -/* #undef _LARGE_FILES */ - -/* Define for Solaris 2.5.1 so the uint32_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT32_T */ - -/* Define for Solaris 2.5.1 so the uint64_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT64_T */ - -/* Define for Solaris 2.5.1 so the uint8_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT8_T */ - -/* Define to rpl_ if the getopt replacement functions and variables should be - used. */ -/* #undef __GETOPT_PREFIX */ - -/* Define to the type of a signed integer type of width exactly 32 bits if - such a type exists and the standard includes do not define it. */ -/* #undef int32_t */ - -/* Define to the type of a signed integer type of width exactly 64 bits if - such a type exists and the standard includes do not define it. */ -/* #undef int64_t */ - -/* Define to the type of an unsigned integer type of width exactly 16 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint16_t */ - -/* Define to the type of an unsigned integer type of width exactly 32 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint32_t */ - -/* Define to the type of an unsigned integer type of width exactly 64 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint64_t */ - -/* Define to the type of an unsigned integer type of width exactly 8 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint8_t */ - -/* Define to the type of an unsigned integer type wide enough to hold a - pointer, if such a type exists, and if the system does not define it. */ -/* #undef uintptr_t */ diff --git a/third_party/rules_boost/config.lzma-windows.h b/third_party/rules_boost/config.lzma-windows.h deleted file mode 100644 index 20c76603..00000000 --- a/third_party/rules_boost/config.lzma-windows.h +++ /dev/null @@ -1,502 +0,0 @@ -/* config.h. Generated from config.h.in by configure. */ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* Define if building universal (internal helper macro) */ -/* #undef AC_APPLE_UNIVERSAL_BUILD */ - -/* How many MiB of RAM to assume if the real amount cannot be determined. */ -#define ASSUME_RAM 128 - -/* Define to 1 if translation of program messages to the user's native - language is requested. */ -#define ENABLE_NLS 1 - -/* Define to 1 if bswap_16 is available. */ -#define HAVE_BSWAP_16 1 - -/* Define to 1 if bswap_32 is available. */ -#define HAVE_BSWAP_32 1 - -/* Define to 1 if bswap_64 is available. */ -#define HAVE_BSWAP_64 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_BYTESWAP_H */ - -/* Define to 1 if Capsicum is available. */ -/* #undef HAVE_CAPSICUM */ - -/* Define to 1 if the system has the type `CC_SHA256_CTX'. */ -/* #undef HAVE_CC_SHA256_CTX */ - -/* Define to 1 if you have the `CC_SHA256_Init' function. */ -/* #undef HAVE_CC_SHA256_INIT */ - -/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the - CoreFoundation framework. */ -/* #undef HAVE_CFLOCALECOPYCURRENT */ - -/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in - the CoreFoundation framework. */ -/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */ - -/* Define to 1 if crc32 integrity check is enabled. */ -#define HAVE_CHECK_CRC32 1 - -/* Define to 1 if crc64 integrity check is enabled. */ -#define HAVE_CHECK_CRC64 1 - -/* Define to 1 if sha256 integrity check is enabled. */ -#define HAVE_CHECK_SHA256 1 - -/* Define to 1 if you have the `clock_gettime' function. */ -#define HAVE_CLOCK_GETTIME 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_COMMONCRYPTO_COMMONDIGEST_H */ - -/* Define if the GNU dcgettext() function is already present or preinstalled. - */ -#define HAVE_DCGETTEXT 1 - -/* Define to 1 if you have the declaration of `CLOCK_MONOTONIC', and to 0 if - you don't. */ -#define HAVE_DECL_CLOCK_MONOTONIC 1 - -/* Define to 1 if you have the declaration of `program_invocation_name', and - to 0 if you don't. */ -#define HAVE_DECL_PROGRAM_INVOCATION_NAME 1 - -/* Define to 1 if any of HAVE_DECODER_foo have been defined. */ -#define HAVE_DECODERS 1 - -/* Define to 1 if arm decoder is enabled. */ -#define HAVE_DECODER_ARM 1 - -/* Define to 1 if armthumb decoder is enabled. */ -#define HAVE_DECODER_ARMTHUMB 1 - -/* Define to 1 if delta decoder is enabled. */ -#define HAVE_DECODER_DELTA 1 - -/* Define to 1 if ia64 decoder is enabled. */ -#define HAVE_DECODER_IA64 1 - -/* Define to 1 if lzma1 decoder is enabled. */ -#define HAVE_DECODER_LZMA1 1 - -/* Define to 1 if lzma2 decoder is enabled. */ -#define HAVE_DECODER_LZMA2 1 - -/* Define to 1 if powerpc decoder is enabled. */ -#define HAVE_DECODER_POWERPC 1 - -/* Define to 1 if sparc decoder is enabled. */ -#define HAVE_DECODER_SPARC 1 - -/* Define to 1 if x86 decoder is enabled. */ -#define HAVE_DECODER_X86 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_DLFCN_H 1 - -/* Define to 1 if any of HAVE_ENCODER_foo have been defined. */ -#define HAVE_ENCODERS 1 - -/* Define to 1 if arm encoder is enabled. */ -#define HAVE_ENCODER_ARM 1 - -/* Define to 1 if armthumb encoder is enabled. */ -#define HAVE_ENCODER_ARMTHUMB 1 - -/* Define to 1 if delta encoder is enabled. */ -#define HAVE_ENCODER_DELTA 1 - -/* Define to 1 if ia64 encoder is enabled. */ -#define HAVE_ENCODER_IA64 1 - -/* Define to 1 if lzma1 encoder is enabled. */ -#define HAVE_ENCODER_LZMA1 1 - -/* Define to 1 if lzma2 encoder is enabled. */ -#define HAVE_ENCODER_LZMA2 1 - -/* Define to 1 if powerpc encoder is enabled. */ -#define HAVE_ENCODER_POWERPC 1 - -/* Define to 1 if sparc encoder is enabled. */ -#define HAVE_ENCODER_SPARC 1 - -/* Define to 1 if x86 encoder is enabled. */ -#define HAVE_ENCODER_X86 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_FCNTL_H 1 - -/* Define to 1 if you have the `futimens' function. */ -#define HAVE_FUTIMENS 1 - -/* Define to 1 if you have the `futimes' function. */ -/* #undef HAVE_FUTIMES */ - -/* Define to 1 if you have the `futimesat' function. */ -/* #undef HAVE_FUTIMESAT */ - -/* Define to 1 if you have the header file. */ -#define HAVE_GETOPT_H 1 - -/* Define to 1 if you have the `getopt_long' function. */ -#define HAVE_GETOPT_LONG 1 - -/* Define if the GNU gettext() function is already present or preinstalled. */ -#define HAVE_GETTEXT 1 - -/* Define if you have the iconv() function and it works. */ -/* #undef HAVE_ICONV */ - -/* Define to 1 if you have the header file. */ -#define HAVE_IMMINTRIN_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_LIMITS_H 1 - -/* Define to 1 if mbrtowc and mbstate_t are properly declared. */ -#define HAVE_MBRTOWC 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_MEMORY_H 1 - -/* Define to 1 to enable bt2 match finder. */ -#define HAVE_MF_BT2 1 - -/* Define to 1 to enable bt3 match finder. */ -#define HAVE_MF_BT3 1 - -/* Define to 1 to enable bt4 match finder. */ -#define HAVE_MF_BT4 1 - -/* Define to 1 to enable hc3 match finder. */ -#define HAVE_MF_HC3 1 - -/* Define to 1 to enable hc4 match finder. */ -#define HAVE_MF_HC4 1 - -/* Define to 1 if getopt.h declares extern int optreset. */ -/* #undef HAVE_OPTRESET */ - -/* Define to 1 if you have the `posix_fadvise' function. */ -#define HAVE_POSIX_FADVISE 1 - -/* Define to 1 if you have the `pthread_condattr_setclock' function. */ -#define HAVE_PTHREAD_CONDATTR_SETCLOCK 1 - -/* Have PTHREAD_PRIO_INHERIT. */ -#define HAVE_PTHREAD_PRIO_INHERIT 1 - -/* Define to 1 if you have the `SHA256Init' function. */ -/* #undef HAVE_SHA256INIT */ - -/* Define to 1 if the system has the type `SHA256_CTX'. */ -/* #undef HAVE_SHA256_CTX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SHA256_H */ - -/* Define to 1 if you have the `SHA256_Init' function. */ -/* #undef HAVE_SHA256_INIT */ - -/* Define to 1 if the system has the type `SHA2_CTX'. */ -/* #undef HAVE_SHA2_CTX */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SHA2_H */ - -/* Define to 1 if optimizing for size. */ -/* #undef HAVE_SMALL */ - -/* Define to 1 if stdbool.h conforms to C99. */ -#define HAVE_STDBOOL_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_STRINGS_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 if `st_atimensec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */ - -/* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC */ - -/* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */ - -/* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */ -#define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1 - -/* Define to 1 if `st_uatime' is a member of `struct stat'. */ -/* #undef HAVE_STRUCT_STAT_ST_UATIME */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_BYTEORDER_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_CAPSICUM_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_ENDIAN_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_PARAM_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_STAT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TIME_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define to 1 if the system has the type `uintptr_t'. */ -#define HAVE_UINTPTR_T 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_UNISTD_H 1 - -/* Define to 1 if you have the `utime' function. */ -/* #undef HAVE_UTIME */ - -/* Define to 1 if you have the `utimes' function. */ -/* #undef HAVE_UTIMES */ - -/* Define to 1 or 0, depending whether the compiler supports simple visibility - declarations. */ -#define HAVE_VISIBILITY 1 - -/* Define to 1 if you have the `wcwidth' function. */ -#define HAVE_WCWIDTH 1 - -/* Define to 1 if the system has the type `_Bool'. */ -#define HAVE__BOOL 1 - -/* Define to 1 if you have the `_futime' function. */ -/* #undef HAVE__FUTIME */ - -/* Define to 1 if _mm_movemask_epi8 is available. */ -#define HAVE__MM_MOVEMASK_EPI8 1 - -/* Define to the sub-directory where libtool stores uninstalled libraries. */ -#define LT_OBJDIR ".libs/" - -/* Define to 1 when using POSIX threads (pthreads). */ -/* #undef MYTHREAD_POSIX */ - -/* Define to 1 when using Windows Vista compatible threads. This uses features - that are not available on Windows XP. */ -#define MYTHREAD_VISTA 1 - -/* Define to 1 when using Windows 95 (and thus XP) compatible threads. This - avoids use of features that were added in Windows Vista. */ -/* #undef MYTHREAD_WIN95 */ - -/* Define to 1 to disable debugging code. */ -#define NDEBUG 1 - -/* Name of package */ -#define PACKAGE "xz" - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "lasse.collin@tukaani.org" - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "XZ Utils" - -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "XZ Utils 5.2.3" - -/* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "xz" - -/* Define to the home page for this package. */ -#define PACKAGE_URL "http://tukaani.org/xz/" - -/* Define to the version of this package. */ -#define PACKAGE_VERSION "5.2.3" - -/* Define to necessary symbol if this constant uses a non-standard name on - your system. */ -/* #undef PTHREAD_CREATE_JOINABLE */ - -/* The size of `size_t', as computed by sizeof. */ -#define SIZEOF_SIZE_T 8 - -/* Define to 1 if you have the ANSI C header files. */ -#define STDC_HEADERS 1 - -/* Define to 1 if the number of available CPU cores can be detected with - cpuset(2). */ -/* #undef TUKLIB_CPUCORES_CPUSET */ - -/* Define to 1 if the number of available CPU cores can be detected with - pstat_getdynamic(). */ -/* #undef TUKLIB_CPUCORES_PSTAT_GETDYNAMIC */ - -/* Define to 1 if the number of available CPU cores can be detected with - sched_getaffinity() */ -#define TUKLIB_CPUCORES_SCHED_GETAFFINITY 1 - -/* Define to 1 if the number of available CPU cores can be detected with - sysconf(_SC_NPROCESSORS_ONLN) or sysconf(_SC_NPROC_ONLN). */ -/* #undef TUKLIB_CPUCORES_SYSCONF */ - -/* Define to 1 if the number of available CPU cores can be detected with - sysctl(). */ -/* #undef TUKLIB_CPUCORES_SYSCTL */ - -/* Define to 1 if the system supports fast unaligned access to 16-bit and - 32-bit integers. */ -#define TUKLIB_FAST_UNALIGNED_ACCESS 1 - -/* Define to 1 if the amount of physical memory can be detected with - _system_configuration.physmem. */ -/* #undef TUKLIB_PHYSMEM_AIX */ - -/* Define to 1 if the amount of physical memory can be detected with - getinvent_r(). */ -/* #undef TUKLIB_PHYSMEM_GETINVENT_R */ - -/* Define to 1 if the amount of physical memory can be detected with - getsysinfo(). */ -/* #undef TUKLIB_PHYSMEM_GETSYSINFO */ - -/* Define to 1 if the amount of physical memory can be detected with - pstat_getstatic(). */ -/* #undef TUKLIB_PHYSMEM_PSTAT_GETSTATIC */ - -/* Define to 1 if the amount of physical memory can be detected with - sysconf(_SC_PAGESIZE) and sysconf(_SC_PHYS_PAGES). */ -#define TUKLIB_PHYSMEM_SYSCONF 1 - -/* Define to 1 if the amount of physical memory can be detected with sysctl(). - */ -/* #undef TUKLIB_PHYSMEM_SYSCTL */ - -/* Define to 1 if the amount of physical memory can be detected with Linux - sysinfo(). */ -/* #undef TUKLIB_PHYSMEM_SYSINFO */ - -/* Enable extensions on AIX 3, Interix. */ -#ifndef _ALL_SOURCE -# define _ALL_SOURCE 1 -#endif -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 -#endif -/* Enable threading extensions on Solaris. */ -#ifndef _POSIX_PTHREAD_SEMANTICS -# define _POSIX_PTHREAD_SEMANTICS 1 -#endif -/* Enable extensions on HP NonStop. */ -#ifndef _TANDEM_SOURCE -# define _TANDEM_SOURCE 1 -#endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -# define __EXTENSIONS__ 1 -#endif - - -/* Version number of package */ -#define VERSION "5.2.3" - -/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most - significant byte first (like Motorola and SPARC, unlike Intel). */ -#if defined AC_APPLE_UNIVERSAL_BUILD -# if defined __BIG_ENDIAN__ -# define WORDS_BIGENDIAN 1 -# endif -#else -# ifndef WORDS_BIGENDIAN -/* # undef WORDS_BIGENDIAN */ -# endif -#endif - -/* Enable large inode numbers on Mac OS X 10.5. */ -#ifndef _DARWIN_USE_64_BIT_INODE -# define _DARWIN_USE_64_BIT_INODE 1 -#endif - -/* Number of bits in a file offset, on hosts where this is settable. */ -/* #undef _FILE_OFFSET_BITS */ - -/* Define for large files, on AIX-style hosts. */ -/* #undef _LARGE_FILES */ - -/* Define to 1 if on MINIX. */ -/* #undef _MINIX */ - -/* Define to 2 if the system does not provide POSIX.1 features except with - this defined. */ -/* #undef _POSIX_1_SOURCE */ - -/* Define to 1 if you need to in order for `stat' and other things to work. */ -/* #undef _POSIX_SOURCE */ - -/* Define for Solaris 2.5.1 so the uint32_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT32_T */ - -/* Define for Solaris 2.5.1 so the uint64_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT64_T */ - -/* Define for Solaris 2.5.1 so the uint8_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT8_T */ - -/* Define to rpl_ if the getopt replacement functions and variables should be - used. */ -/* #undef __GETOPT_PREFIX */ - -/* Define to the type of a signed integer type of width exactly 32 bits if - such a type exists and the standard includes do not define it. */ -/* #undef int32_t */ - -/* Define to the type of a signed integer type of width exactly 64 bits if - such a type exists and the standard includes do not define it. */ -/* #undef int64_t */ - -/* Define to the type of an unsigned integer type of width exactly 16 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint16_t */ - -/* Define to the type of an unsigned integer type of width exactly 32 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint32_t */ - -/* Define to the type of an unsigned integer type of width exactly 64 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint64_t */ - -/* Define to the type of an unsigned integer type of width exactly 8 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint8_t */ - -/* Define to the type of an unsigned integer type wide enough to hold a - pointer, if such a type exists, and if the system does not define it. */ -/* #undef uintptr_t */ diff --git a/third_party/rules_boost/lzma.BUILD b/third_party/rules_boost/lzma.BUILD deleted file mode 100644 index a4d65f93..00000000 --- a/third_party/rules_boost/lzma.BUILD +++ /dev/null @@ -1,121 +0,0 @@ -# Description -# lzma is a general purpose data compression library https://tukaani.org/xz/ -# Public Domain - -load("@bazel_skylib//rules:copy_file.bzl", "copy_file") -load("@bazel_skylib//lib:selects.bzl", "selects") - -# Hopefully, the need for these OSxCPU config_setting()s will be obviated by a fix to https://github.com/bazelbuild/platforms/issues/36 - -config_setting( - name = "linux_x86", - constraint_values = [ - "@platforms//os:linux", - "@platforms//cpu:x86_64", - ], -) - -config_setting( - name = "linux_arm64", - constraint_values = [ - "@platforms//os:linux", - "@platforms//cpu:arm64", - ], -) - -config_setting( - name = "osx_arm64", - constraint_values = [ - "@platforms//os:osx", - "@platforms//cpu:aarch64", - ], -) - -config_setting( - name = "osx_x86_64", - constraint_values = [ - "@platforms//os:osx", - "@platforms//cpu:x86_64", - ], -) - -copy_file( - name = "copy_config", - src = selects.with_or({ - "@platforms//os:android": "@com_github_nelhage_rules_boost//:config.lzma-android.h", - ":linux_x86": "@com_github_nelhage_rules_boost//:config.lzma-linux.h", - ":linux_arm64": "@com_github_nelhage_rules_boost//:config.lzma-linux-aarch64.h", - ":osx_arm64": "@com_github_nelhage_rules_boost//:config.lzma-osx-arm64.h", - ":osx_x86_64": "@com_github_nelhage_rules_boost//:config.lzma-osx-x86_64.h", - ("@platforms//os:ios", "@platforms//os:watchos", "@platforms//os:tvos"): "apple_config", - "@platforms//os:windows": "@com_github_nelhage_rules_boost//:config.lzma-windows.h", - }), - out = "src/liblzma/api/config.h", # minimize the number of exported include paths -) - -# Configuration is the same across iOS, watchOS, and tvOS -alias( - name = "apple_config", - actual = select({ - "@platforms//cpu:arm64": "@com_github_nelhage_rules_boost//:config.lzma-ios-arm64.h", - "@platforms//cpu:armv7": "@com_github_nelhage_rules_boost//:config.lzma-ios-armv7.h", - "@platforms//cpu:x86_64": "@com_github_nelhage_rules_boost//:config.lzma-osx-x86_64.h", # Configuration same as macOS - "@platforms//cpu:x86_32": "@com_github_nelhage_rules_boost//:config.lzma-ios-i386.h", - }), -) - -# Note: lzma is bundled with Apple platforms, but sadly, not considered public API because its header is not exposed. lzma is not bundled on Android. - -cc_library( - name = "lzma", - srcs = [ - "src/common/tuklib_cpucores.c", - "src/common/tuklib_physmem.c", - "src/liblzma/api/config.h", # Generated, so missed by glob. - ] + glob( - [ - "src/**/*.h", - "src/liblzma/**/*.c", - ], - exclude = [ - "src/liblzma/check/crc*_small.c", - "src/liblzma/**/*_tablegen.c", - ], - ), - hdrs = glob(["src/liblzma/api/**/*.h"]), - copts = select({ - "@platforms//os:windows": [], - "//conditions:default": ["-std=c99"], - }) + [ - # Replace with local_includes if it's ever added https://github.com/bazelbuild/bazel/issues/16472 - "-Iexternal/org_lzma_lzma/src/common", - "-Iexternal/org_lzma_lzma/src/liblzma", - "-Iexternal/org_lzma_lzma/src/liblzma/api", - "-Iexternal/org_lzma_lzma/src/liblzma/common", - "-Iexternal/org_lzma_lzma/src/liblzma/check", - "-Iexternal/org_lzma_lzma/src/liblzma/delta", - "-Iexternal/org_lzma_lzma/src/liblzma/lz", - "-Iexternal/org_lzma_lzma/src/liblzma/lzma", - "-Iexternal/org_lzma_lzma/src/liblzma/rangecoder", - "-Iexternal/org_lzma_lzma/src/liblzma/simple", - ], - defines = select({ - "@platforms//os:windows": ["LZMA_API_STATIC"], - "//conditions:default": [], - }), - includes = [ - "src/liblzma/api", - ], - linkopts = select({ - "@platforms//os:android": [], - "//conditions:default": ["-lpthread"], - }), - linkstatic = select({ - "@platforms//os:windows": True, - "//conditions:default": False, - }), - local_defines = [ - "HAVE_CONFIG_H", - ], - visibility = ["//visibility:public"], -) diff --git a/third_party/rules_boost/renovate.json5 b/third_party/rules_boost/renovate.json5 deleted file mode 100644 index 57fa6987..00000000 --- a/third_party/rules_boost/renovate.json5 +++ /dev/null @@ -1,38 +0,0 @@ -// This is the configuration file for Renovate, a GitHub App that can automate dependency updates. - -// If you're here, you're probably looking to: -// (1) Make updates for a dependency fully automated. Whitelist it at -// (2) Customize Renovate behavior further. - // For docs, see: https://docs.renovatebot.com/configuration-options/ - // To debug, it can be helpful to looks at Renovate's runs/logs: https://app.renovatebot.com/dashboard#github/nelhage/rules_boost - // This file is .json5, so we can have helpful comments, like this one :) [Normal JSON, Renovate's default, has no comments.] -// (3) Learn about what's going on here and what Renovate can do. Read on :) - -{ - "packageRules": [{ // If you want a package to update on autopilot and have reasonably high confidence that CI-passing updates won't break things, whitelist it here avoid having automated PRs to review. - "automerge": true, // Just automatically propose and merge in dependency upgrades to the latest. - "automergeType": "branch", // No PR unless tests fail; just do it. - "matchPackageNames" : [ // Add Bazel name= parameter here. . - "bazel_skylib", - "boost", - "com_github_facebook_zstd", - "zlib", - "openssl", - "ubuntu", // circleci, not Bazel. - ], - }, { - "description": "Handle boost- prefix from boost release version names.", - "matchPackageNames": ["boost"], - "versioning": "regex:^boost-(?\\d+)(\\.(?\\d+))?(\\.(?\\d+))?(\\.(?.+))?$", - }], - - // Defaults--and the tweaks we wish were defaults - "extends": ["config:base"], // Gives us the Renovate defaults (Renovate auto-added) - "separateMajorMinor": false, // Just always take the latest version. - // Remove limits added by config:base defaults. - "prConcurrentLimit": 0, - "prHourlyLimit": 0, - // Has Renovate maintain an issue with the status of dependencies--and a manual run button. Super handy but was originally not on by default. - "dependencyDashboard": true, - "dependencyDashboardHeader": "Collaborators: Check Renovate logs here: https://developer.mend.io/github/nelhage/rules_boost", // Footer seems to prevent manual run checkbox, so I made this a header. -} diff --git a/third_party/rules_boost/src/BUILD.bazel b/third_party/rules_boost/src/BUILD.bazel deleted file mode 100644 index bf1944de..00000000 --- a/third_party/rules_boost/src/BUILD.bazel +++ /dev/null @@ -1,5 +0,0 @@ -exports_files([ - "build_asio.cpp", - "build_asio_ssl.cpp", - "build_beast.cpp", -]) diff --git a/third_party/rules_boost/src/build_asio.cpp b/third_party/rules_boost/src/build_asio.cpp deleted file mode 100644 index 0e8f87aa..00000000 --- a/third_party/rules_boost/src/build_asio.cpp +++ /dev/null @@ -1,7 +0,0 @@ -// Per -// https://www.boost.org/doc/libs/1_72_0/doc/html/boost_asio/using.html#boost_asio.using.optional_separate_compilation, -// exactly one file in an ASIO project using separate compilation must -// contain the following #include. See also -// https://github.com/nelhage/rules_boost/issues/166 and -// https://github.com/nelhage/rules_boost/issues/170 -#include "boost/asio/impl/src.hpp" diff --git a/third_party/rules_boost/src/build_asio_ssl.cpp b/third_party/rules_boost/src/build_asio_ssl.cpp deleted file mode 100644 index d98d7b5e..00000000 --- a/third_party/rules_boost/src/build_asio_ssl.cpp +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/third_party/rules_boost/src/build_beast.cpp b/third_party/rules_boost/src/build_beast.cpp deleted file mode 100644 index 11ef613b..00000000 --- a/third_party/rules_boost/src/build_beast.cpp +++ /dev/null @@ -1,2 +0,0 @@ -// https://www.boost.org/doc/libs/1_77_0/libs/beast/doc/html/beast/config/configuration_preprocessor_defin.html -#include "boost/beast/src.hpp" diff --git a/third_party/rules_boost/test/.bazelrc b/third_party/rules_boost/test/.bazelrc deleted file mode 100644 index 4d7a362e..00000000 --- a/third_party/rules_boost/test/.bazelrc +++ /dev/null @@ -1,24 +0,0 @@ -# So all errors are reported, saving round trips on code review & CI -# Optimizes for programmer time at the cost of some CPU -build --keep_going - -# Use C++17. -# C++14 is required for many tests and boringssl. -# Some Boost libraries will soon require C++17. -# And it's 2022 at the time of writing; C++20 support is widespread. -build --cxxopt=-std=c++17 -build:windows --cxxopt=/std:c++17 -common --enable_platform_specific_config - -# Strict action environment leads to faster builds because of fewer needless cache misses. It should really be the default. - # History of why Bazel reverted their change turning it on by default: https://github.com/bazelbuild/bazel/issues/7026. That's likely the issue that will update if this gets fixed by default. -# Without this flag, switching terminal windows or to an IDE causes a cache miss. Remote caching would probably totally fail, too. -# Why? Bazel commands (by default) inherit environment variables that change between editors and machines (like PATH, which contains username or TMPDIR). These are then used as cache keys, causing lots of unnecessary misses and rebuilds. - # More details in: https://github.com/bazelbuild/intellij/issues/1169 https://github.com/bazelbuild/bazel/issues/2574 -# This flag makes build not inherit from the environment variables of the caller, solving the issue. -build --incompatible_strict_action_env - -# Prevent tearing of header inclusion between Homebrew installs and //external in x86_64 macOS -# Suggested in https://github.com/bazelbuild/bazel/issues/8053#issuecomment-642880936 -# More, better discussion in https://github.com/bazelbuild/bazel/issues/10472 -build:macos --sandbox_block_path=/usr/local/include diff --git a/third_party/rules_boost/test/.bazelrc.ci b/third_party/rules_boost/test/.bazelrc.ci deleted file mode 100644 index c140f606..00000000 --- a/third_party/rules_boost/test/.bazelrc.ci +++ /dev/null @@ -1,8 +0,0 @@ -# Limit memory usage, both by bazel and by the subprocesses it spawns -startup --host_jvm_args=-Xms512m -startup --host_jvm_args=-Xmx1024m -build --local_ram_resources=4096 -build --local_cpu_resources=4 - -# This is so we understand failures better -build --verbose_failures diff --git a/third_party/rules_boost/test/.gitignore b/third_party/rules_boost/test/.gitignore deleted file mode 100644 index a6ef824c..00000000 --- a/third_party/rules_boost/test/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/bazel-* diff --git a/third_party/rules_boost/test/BUILD.bazel b/third_party/rules_boost/test/BUILD.bazel deleted file mode 100644 index 8cf52dcd..00000000 --- a/third_party/rules_boost/test/BUILD.bazel +++ /dev/null @@ -1,692 +0,0 @@ -cc_test( - name = "accumulators_test", - size = "small", - srcs = ["accumulators_test.cc"], - deps = [ - "@boost//:accumulators", - ], -) - -cc_test( - name = "any_test", - size = "small", - srcs = ["any_test.cc"], - deps = [ - "@boost//:any", - ], -) - -cc_test( - name = "array_test", - size = "small", - srcs = ["array_test.cc"], - deps = [ - "@boost//:array", - ], -) - -cc_test( - name = "asio_test", - size = "small", - srcs = ["asio_test.cc"], - deps = [ - "@boost//:asio", - "@boost//:date_time", - ], -) - -cc_test( - name = "asio_ssl_test", - size = "small", - srcs = ["asio_ssl_test.cc"], - deps = [ - "@boost//:asio", - "@boost//:asio_ssl", - ], -) - -cc_test( - name = "assign_test", - size = "small", - srcs = ["assign_test.cc"], - deps = [ - "@boost//:assign", - ], -) - -cc_test( - name = "beast_test", - size = "small", - srcs = ["beast_test.cc"], - deps = [ - "@boost//:asio", - "@boost//:beast", - ], -) - -cc_test( - name = "bimap_test", - size = "small", - srcs = ["bimap_test.cc"], - deps = [ - "@boost//:bimap", - ], -) - -cc_test( - name = "bind_test", - size = "small", - srcs = ["bind_test.cc"], - deps = [ - "@boost//:bind", - ], -) - -cc_test( - name = "callable_traits_test", - size = "small", - srcs = ["callable_traits_test.cc"], - deps = [ - "@boost//:callable_traits", - ], -) - -cc_test( - name = "circular_buffer_test", - size = "small", - srcs = ["circular_buffer_test.cc"], - deps = [ - "@boost//:circular_buffer", - ], -) - -cc_test( - name = "container_hash_test", - size = "small", - srcs = ["container_hash_test.cc"], - deps = [ - "@boost//:container_hash", - ], -) - -cc_test( - name = "context_test", - size = "small", - srcs = ["context_test.cc"], - deps = [ - "@boost//:context", - ], -) - -cc_test( - name = "coroutine2_test", - size = "small", - srcs = ["coroutine2_test.cc"], - deps = [ - "@boost//:coroutine2", - ], -) - -cc_test( - name = "coroutine_test", - size = "small", - srcs = ["coroutine_test.cc"], - deps = [ - "@boost//:coroutine", - ], -) - -cc_test( - name = "crc_test", - size = "small", - srcs = ["crc_test.cc"], - deps = [ - "@boost//:crc", - ], -) - -cc_test( - name = "dynamic_bitset_test", - size = "small", - srcs = ["dynamic_bitset_test.cc"], - deps = [ - "@boost//:dynamic_bitset", - ], -) - -cc_test( - name = "endian", - size = "small", - srcs = ["endian.cc"], - deps = [ - "@boost//:endian", - "@boost//:static_assert", - ], -) - -cc_test( - name = "fiber_test", - size = "small", - srcs = ["fiber_test.cc"], - deps = [ - "@boost//:fiber", - "@boost//:intrusive_ptr", - ], -) - -cc_test( - name = "filesystem_test", - size = "small", - srcs = ["filesystem_test.cc"], - deps = [ - "@boost//:filesystem", - ], -) - -cc_test( - name = "flyweight_test", - size = "small", - srcs = ["flyweight_test.cc"], - deps = [ - "@boost//:flyweight", - ], -) - -cc_test( - name = "foreach_test", - size = "small", - srcs = ["foreach_test.cc"], - deps = [ - "@boost//:foreach", - ], -) - -cc_test( - name = "format_test", - size = "small", - srcs = ["format_test.cc"], - deps = [ - "@boost//:format", - ], -) - -cc_test( - name = "fusion_test", - size = "small", - srcs = ["fusion_test.cc"], - deps = [ - "@boost//:fusion", - ], -) - -cc_test( - name = "gil_test", - size = "small", - srcs = ["gil_test.cc"], - deps = [ - "@boost//:functional", - "@boost//:gil", - ], -) - -cc_test( - name = "geometry_test", - size = "small", - srcs = ["geometry_test.cc"], - deps = [ - "@boost//:geometry", - ], -) - -cc_test( - name = "histogram_test", - size = "small", - srcs = ["histogram_test.cc"], - deps = [ - "@boost//:format", - "@boost//:histogram", - ], -) - -cc_test( - name = "icl_test", - size = "small", - srcs = ["icl_test.cc"], - deps = [ - "@boost//:icl", - ], -) - -cc_test( - name = "integer_test", - size = "small", - srcs = ["integer_test.cc"], - deps = [ - "@boost//:integer", - ], -) - -cc_test( - name = "iostreams_test", - size = "small", - srcs = ["iostreams_test.cc"], - deps = [ - "@boost//:iostreams", - ], -) - -cc_test( - name = "log_test", - size = "small", - srcs = ["log_test.cc"], - deps = [ - "@boost//:log", - "@boost//:smart_ptr", - ], -) - -cc_test( - name = "mp11_test", - size = "small", - srcs = ["mp11_test.cc"], - deps = [ - "@boost//:mp11", - ], -) - -cc_test( - name = "multiprecision_test", - size = "small", - srcs = ["multiprecision_test.cc"], - deps = [ - "@boost//:multiprecision", - ], -) - -cc_test( - name = "numeric_conversion_test", - size = "small", - srcs = ["numeric_conversion_test.cc"], - deps = [ - "@boost//:numeric_conversion", - ], -) - -cc_test( - name = "nowide_test", - size = "small", - srcs = ["nowide_test.cc"], - deps = [ - "@boost//:nowide", - ], -) - -cc_test( - name = "numeric_odeint_test", - size = "small", - srcs = ["numeric_odeint_test.cc"], - deps = [ - "@boost//:numeric_odeint", - ], -) - -cc_test( - name = "optional_test", - size = "small", - srcs = ["optional_test.cc"], - deps = [ - "@boost//:optional", - ], -) - -cc_test( - name = "poly_collection_test", - size = "small", - srcs = ["poly_collection_test.cc"], - deps = [ - "@boost//:poly_collection", - ], -) - -cc_test( - name = "process_test", - size = "small", - srcs = ["process_test.cc"], - deps = [ - "@boost//:process", - ], -) - -cc_test( - name = "program_options_test", - size = "small", - srcs = ["program_options_test.cc"], - deps = [ - "@boost//:program_options", - ], -) - -cc_test( - name = "ptr_container_test", - size = "small", - srcs = ["ptr_container_test.cc"], - deps = [ - "@boost//:ptr_container", - ], -) - -cc_test( - name = "qvm_test", - size = "small", - srcs = ["qvm_test.cc"], - deps = [ - "@boost//:qvm", - ], -) - -cc_test( - name = "random_test", - size = "small", - srcs = ["random_test.cc"], - deps = [ - "@boost//:random", - ], -) - -cc_test( - name = "rational_test", - size = "small", - srcs = ["rational_test.cc"], - deps = [ - "@boost//:rational", - ], -) - -cc_test( - name = "scope_exit_test", - size = "small", - srcs = ["scope_exit_test.cc"], - deps = [ - "@boost//:scope_exit", - ], -) - -cc_test( - name = "signals2_test", - size = "small", - srcs = ["signals2_test.cc"], - deps = [ - "@boost//:signals2", - ], -) - -cc_test( - name = "spirit_test", - size = "small", - srcs = ["spirit_test.cc"], - deps = [ - "@boost//:spirit", - ], -) - -cc_test( - name = "test_included_test", - srcs = ["test_included_test.cc"], - deps = [ - "@boost//:test", - ], -) - -cc_test( - name = "test_static_test", - srcs = ["test_static_test.cc"], - deps = [ - "@boost//:test.a", - ], -) - -cc_test( - name = "test_dynamic_test", - srcs = ["test_dynamic_test.cc"], - deps = [ - "@boost//:test.so", - ], -) - -cc_test( - name = "thread_test", - size = "small", - srcs = ["thread_test.cc"], - deps = [ - "@boost//:thread", - ], -) - -cc_test( - name = "tokenizer_test", - size = "small", - srcs = ["tokenizer_test.cc"], - deps = [ - "@boost//:tokenizer", - ], -) - -cc_test( - name = "tribool_test", - size = "small", - srcs = ["tribool_test.cc"], - deps = [ - "@boost//:tribool", - ], -) - -cc_test( - name = "tti_test", - size = "small", - srcs = ["tti_test.cc"], - deps = [ - "@boost//:tti", - ], -) - -cc_test( - name = "unordered_test", - size = "small", - srcs = ["unordered_test.cc"], - deps = [ - "@boost//:unordered", - ], -) - -cc_test( - name = "uuid_nil_generator_test", - size = "small", - srcs = ["uuid_nil_generator_test.cc"], - deps = [ - "@boost//:uuid", - ], -) - -cc_test( - name = "uuid_random_generator_test", - size = "small", - srcs = ["uuid_random_generator_test.cc"], - deps = [ - "@boost//:uuid", - ], -) - -cc_test( - name = "property_tree_test", - size = "small", - srcs = ["property_tree_test.cc"], - deps = [ - "@boost//:property_tree", - ], -) - -cc_test( - name = "stacktrace_test", - size = "small", - srcs = ["stacktrace_test.cc"], - deps = [ - "@boost//:stacktrace", - ], -) - -cc_test( - name = "lockfree_test", - size = "small", - srcs = ["lockfree_test.cc"], - deps = [ - "@boost//:lockfree", - ], -) - -cc_test( - name = "locale_test", - size = "small", - srcs = ["locale_test.cc"], - deps = [ - "@boost//:locale", - ], -) - -cc_test( - name = "msm_test", - size = "small", - srcs = ["msm_test.cc"], - deps = [ - "@boost//:msm", - ], -) - -cc_test( - name = "hana_test", - size = "small", - srcs = ["hana_test.cc"], - deps = [ - "@boost//:hana", - ], -) - -cc_test( - name = "variant2_test", - size = "small", - srcs = ["variant2_test.cc"], - deps = [ - "@boost//:variant2", - ], -) - -cc_test( - name = "static_string_test", - srcs = ["static_string_test.cc"], - deps = [ - "@boost//:static_string", - ], -) - -cc_test( - name = "stl_interfaces_test", - srcs = ["stl_interfaces_test.cc"], - deps = [ - "@boost//:stl_interfaces", - ], -) - -cc_test( - name = "date_time_test", - srcs = ["date_time_test.cc"], - deps = [ - "@boost//:date_time", - ], -) - -cc_test( - name = "json_test", - srcs = ["json_test.cc"], - deps = [ - "@boost//:json", - ], -) - -cc_test( - name = "leaf_test", - srcs = ["leaf_test.cc"], - deps = [ - "@boost//:leaf", - ], -) - -cc_test( - name = "pfr_test", - srcs = ["pfr_test.cc"], - deps = [ - "@boost//:pfr", - ], -) - -platform( - name = "android", - constraint_values = [ - "@platforms//os:android", - "@platforms//cpu:aarch64", - ], -) - -cc_test( - name = "graph_test", - srcs = ["graph_test.cc"], - deps = [ - "@boost//:graph", - ], -) - -cc_test( - name = "smart_ptr_test", - srcs = ["smart_ptr_test.cc"], - deps = [ - "@boost//:smart_ptr", - ], -) - -cc_test( - name = "throw_exception_test", - srcs = ["throw_exception_test.cc"], - deps = [ - "@boost//:throw_exception", - ], -) - -cc_test( - name = "exception_test", - srcs = ["exception_test.cc"], - deps = [ - "@boost//:exception", - ], -) - -cc_test( - name = "interprocess_test", - srcs = ["interprocess_test.cc"], - deps = [ - "@boost//:interprocess", - ], -) - -cc_test( - name = "container_test", - srcs = ["container_test.cc"], - deps = [ - "@boost//:container", - ], -) - -cc_test( - name = "url_test", - srcs = ["url_test.cc"], - deps = [ - "@boost//:url", - ], -) diff --git a/third_party/rules_boost/test/WORKSPACE.bazel b/third_party/rules_boost/test/WORKSPACE.bazel deleted file mode 100644 index 1d0857ae..00000000 --- a/third_party/rules_boost/test/WORKSPACE.bazel +++ /dev/null @@ -1,19 +0,0 @@ -local_repository( - name = "com_github_nelhage_rules_boost", - path = "..", -) - -load("@com_github_nelhage_rules_boost//:boost/boost.bzl", "boost_deps") - -# boost_deps() will re-download the tarball every time boost.BUILD -# changes, which is frustrating for doing development. Download it -# yourself, uncomment the below and change the path as appropriate -# for a faster iteration cycle on changes. -# -# new_local_repository( -# name = "boost", -# build_file = "@com_github_nelhage_rules_boost//:boost.BUILD", -# path = "/home/nelhage/code/boost_1_71_0/", -# ) - -boost_deps() diff --git a/third_party/rules_boost/test/accumulators_test.cc b/third_party/rules_boost/test/accumulators_test.cc deleted file mode 100644 index 2b7bce30..00000000 --- a/third_party/rules_boost/test/accumulators_test.cc +++ /dev/null @@ -1,19 +0,0 @@ -#include -#include -#include -#include - -using namespace boost::accumulators; -const int N = 5; -const int M = 2; - -int main() -{ - accumulator_set> acc; - - for (int i = 0; i < N; i++) { - acc(i); - } - - return count(acc) == N && mean(acc) == M ? 0 : -1; -} diff --git a/third_party/rules_boost/test/any_test.cc b/third_party/rules_boost/test/any_test.cc deleted file mode 100644 index 74619eba..00000000 --- a/third_party/rules_boost/test/any_test.cc +++ /dev/null @@ -1,13 +0,0 @@ -#include - -int main() -{ - boost::any a = 1; - - if (boost::any_cast(a) != 1) - { - return 1; - } - - return 0; -} diff --git a/third_party/rules_boost/test/array_test.cc b/third_party/rules_boost/test/array_test.cc deleted file mode 100644 index d93b8db3..00000000 --- a/third_party/rules_boost/test/array_test.cc +++ /dev/null @@ -1,7 +0,0 @@ -#include - -int main() -{ - boost::array a{}; - return a[0]; -} diff --git a/third_party/rules_boost/test/asio_ssl_test.cc b/third_party/rules_boost/test/asio_ssl_test.cc deleted file mode 100644 index 163555b6..00000000 --- a/third_party/rules_boost/test/asio_ssl_test.cc +++ /dev/null @@ -1,144 +0,0 @@ -// Based off of https://github.com/boostorg/asio/blob/develop/test/ssl/stream.cpp -// -// This test eahcks that asio SSL builds and links properly, but does -// not meaningfully exercise its functionality. -// -// Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com) -// -// Distributed under the Boost Software License, Version 1.0. (See accompanying -// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -// - -#include -#include - -namespace { - bool verify_callback(bool, boost::asio::ssl::verify_context&) - { - return false; - } - - void handshake_handler(const boost::system::error_code&) - { - } - - void buffered_handshake_handler(const boost::system::error_code&, std::size_t) - { - } - - void shutdown_handler(const boost::system::error_code&) - { - } - - void write_some_handler(const boost::system::error_code&, std::size_t) - { - } - - void read_some_handler(const boost::system::error_code&, std::size_t) - { - } -}; - -int main() -{ - using namespace boost::asio; - namespace ip = boost::asio::ip; - - try - { - io_context ioc; - char mutable_char_buffer[128] = ""; - const char const_char_buffer[128] = ""; - boost::asio::ssl::context context(boost::asio::ssl::context::sslv23); - boost::system::error_code ec; - - // ssl::stream constructors. - - ssl::stream stream1(ioc, context); - ip::tcp::socket socket1(ioc, ip::tcp::v4()); - ssl::stream stream2(socket1, context); - - // basic_io_object functions. - - ssl::stream::executor_type ex = stream1.get_executor(); - (void)ex; - - // ssl::stream functions. - - SSL* ssl1 = stream1.native_handle(); - (void)ssl1; - - ssl::stream::lowest_layer_type& lowest_layer - = stream1.lowest_layer(); - (void)lowest_layer; - - const ssl::stream& stream3 = stream1; - const ssl::stream::lowest_layer_type& lowest_layer2 - = stream3.lowest_layer(); - (void)lowest_layer2; - - stream1.set_verify_mode(ssl::verify_none); - stream1.set_verify_mode(ssl::verify_none, ec); - - stream1.set_verify_depth(1); - stream1.set_verify_depth(1, ec); - - stream1.set_verify_callback(verify_callback); - stream1.set_verify_callback(verify_callback, ec); - - stream1.handshake(ssl::stream_base::client); - stream1.handshake(ssl::stream_base::server); - stream1.handshake(ssl::stream_base::client, ec); - stream1.handshake(ssl::stream_base::server, ec); - - stream1.handshake(ssl::stream_base::client, buffer(mutable_char_buffer)); - stream1.handshake(ssl::stream_base::server, buffer(mutable_char_buffer)); - stream1.handshake(ssl::stream_base::client, buffer(const_char_buffer)); - stream1.handshake(ssl::stream_base::server, buffer(const_char_buffer)); - stream1.handshake(ssl::stream_base::client, - buffer(mutable_char_buffer), ec); - stream1.handshake(ssl::stream_base::server, - buffer(mutable_char_buffer), ec); - stream1.handshake(ssl::stream_base::client, - buffer(const_char_buffer), ec); - stream1.handshake(ssl::stream_base::server, - buffer(const_char_buffer), ec); - - stream1.async_handshake(ssl::stream_base::client, handshake_handler); - stream1.async_handshake(ssl::stream_base::server, handshake_handler); - - - stream1.async_handshake(ssl::stream_base::client, - buffer(mutable_char_buffer), buffered_handshake_handler); - stream1.async_handshake(ssl::stream_base::server, - buffer(mutable_char_buffer), buffered_handshake_handler); - stream1.async_handshake(ssl::stream_base::client, - buffer(const_char_buffer), buffered_handshake_handler); - stream1.async_handshake(ssl::stream_base::server, - buffer(const_char_buffer), buffered_handshake_handler); - - - stream1.shutdown(); - stream1.shutdown(ec); - - stream1.async_shutdown(shutdown_handler); - - stream1.write_some(buffer(mutable_char_buffer)); - stream1.write_some(buffer(const_char_buffer)); - stream1.write_some(buffer(mutable_char_buffer), ec); - stream1.write_some(buffer(const_char_buffer), ec); - - stream1.async_write_some(buffer(mutable_char_buffer), write_some_handler); - stream1.async_write_some(buffer(const_char_buffer), write_some_handler); - - stream1.read_some(buffer(mutable_char_buffer)); - stream1.read_some(buffer(mutable_char_buffer), ec); - - stream1.async_read_some(buffer(mutable_char_buffer), read_some_handler); - } - catch (std::exception&) - { - } - - return 0; -} diff --git a/third_party/rules_boost/test/asio_test.cc b/third_party/rules_boost/test/asio_test.cc deleted file mode 100644 index 0af21a42..00000000 --- a/third_party/rules_boost/test/asio_test.cc +++ /dev/null @@ -1,27 +0,0 @@ -// from http://www.boost.org/doc/libs/1_66_0/doc/html/boost_asio/tutorial/tuttimer1/src.html -// -// timer.cpp -// ~~~~~~~~~ -// -// Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com) -// -// Distributed under the Boost Software License, Version 1.0. (See accompanying -// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -// - -#include -#include - -int main() -{ - boost::asio::io_context io; - - auto start = std::chrono::system_clock::now(); - - boost::asio::deadline_timer t(io, boost::posix_time::seconds(3)); - t.wait(); - - auto end = std::chrono::system_clock::now(); - - return std::chrono::duration_cast(end - start).count() > 2 ? 0 : -1; -} \ No newline at end of file diff --git a/third_party/rules_boost/test/assign_test.cc b/third_party/rules_boost/test/assign_test.cc deleted file mode 100644 index 67f26913..00000000 --- a/third_party/rules_boost/test/assign_test.cc +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include -#include -#include - -int main() -{ - const std::list two = boost::assign::list_of(1)(2); - return two.size() == 2 ? 0 : 1; -} diff --git a/third_party/rules_boost/test/beast_test.cc b/third_party/rules_boost/test/beast_test.cc deleted file mode 100644 index 0f68edba..00000000 --- a/third_party/rules_boost/test/beast_test.cc +++ /dev/null @@ -1,78 +0,0 @@ -// from http://www.boost.org/doc/libs/1_66_0/libs/beast/example/http/client/sync/http_client_sync.cpp - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -using tcp = boost::asio::ip::tcp; // from -namespace http = boost::beast::http; // from - -// Performs an HTTP GET and prints the response -int main(int argc, char** argv) -{ - try - { - - auto const host = "example.com"; - auto const port = "80"; - auto const target = argc > 3 ? argv[3] : "/"; - int version = argc == 5 && !std::strcmp("1.0", argv[4]) ? 10 : 11; - - // The io_context is required for all I/O - boost::asio::io_context ioc; - - // These objects perform our I/O - tcp::resolver resolver{ioc}; - tcp::socket socket{ioc}; - - // Look up the domain name - auto const results = resolver.resolve(host, port); - - // Make the connection on the IP address we get from a lookup - boost::asio::connect(socket, results.begin(), results.end()); - - // Set up an HTTP GET request message - http::request req{http::verb::get, target, version}; - req.set(http::field::host, host); - req.set(http::field::user_agent, BOOST_BEAST_VERSION_STRING); - - // Send the HTTP request to the remote host - http::write(socket, req); - - // This buffer is used for reading and must be persisted - boost::beast::flat_buffer buffer; - - // Declare a container to hold the response - http::response res; - - // Receive the HTTP response - http::read(socket, buffer, res); - - // Write the message to standard out - std::cout << res << std::endl; - - // Gracefully close the socket - boost::system::error_code ec; - socket.shutdown(tcp::socket::shutdown_both, ec); - - // not_connected happens sometimes - // so don't bother reporting it. - // - if(ec && ec != boost::system::errc::not_connected) - throw boost::system::system_error{ec}; - - // If we get here then the connection is closed gracefully - } - catch(std::exception const& e) - { - std::cerr << "Error: " << e.what() << std::endl; - return EXIT_FAILURE; - } - return EXIT_SUCCESS; -} diff --git a/third_party/rules_boost/test/bimap_test.cc b/third_party/rules_boost/test/bimap_test.cc deleted file mode 100644 index 034aad54..00000000 --- a/third_party/rules_boost/test/bimap_test.cc +++ /dev/null @@ -1,21 +0,0 @@ -#include - -#include -#include - -int main() -{ - using boost::bimap; - - bimap map; - - map.insert({"4", 4}); - - auto iter = map.right.find(4); - - if (iter == map.right.end()) { - return -1; - } - - return iter->second == "4" ? 0 : -1; -} diff --git a/third_party/rules_boost/test/bind_test.cc b/third_party/rules_boost/test/bind_test.cc deleted file mode 100644 index fad36813..00000000 --- a/third_party/rules_boost/test/bind_test.cc +++ /dev/null @@ -1,15 +0,0 @@ -#include - -int f(int a, int b) -{ - return a + b; -} - -int main() -{ - if (boost::bind(f, 1, 2)() != 3) { - return 1; - } - - return 0; -} diff --git a/third_party/rules_boost/test/callable_traits_test.cc b/third_party/rules_boost/test/callable_traits_test.cc deleted file mode 100644 index b527af45..00000000 --- a/third_party/rules_boost/test/callable_traits_test.cc +++ /dev/null @@ -1,49 +0,0 @@ -// http://www.boost.org/doc/libs/1_66_0/libs/callable_traits/doc/html/index.html - -#include -#include -#include - -namespace ct = boost::callable_traits; - -// This function template helps keep our example code neat -template -void assert_same(){ static_assert(std::is_same::value, ""); } - -// foo is a function object -struct foo { - void operator()(int, char, float) const {} -}; - -int main() { - - // Use args_t to retrieve a parameter list as a std::tuple: - assert_same< - ct::args_t, - std::tuple - >(); - - // has_void_return lets us perform a quick check for a void return type - static_assert(ct::has_void_return::value, ""); - - // Detect C-style variadics (ellipses) in a signature (e.g. printf) - static_assert(!ct::has_varargs::value, ""); - - // pmf is a pointer-to-member function: void (foo::*)(int, char, float) const - using pmf = decltype(&foo::operator()); - - // remove_member_const_t lets you remove the const member qualifier - assert_same< - ct::remove_member_const_t, - void (foo::*)(int, char, float) /*no const!*/ - >(); - - // Conversely, add_member_const_t adds a const member qualifier - assert_same< - pmf, - ct::add_member_const_t - >(); - - // is_const_member_v checks for the presence of member const - static_assert(ct::is_const_member::value, ""); -} \ No newline at end of file diff --git a/third_party/rules_boost/test/circular_buffer_test.cc b/third_party/rules_boost/test/circular_buffer_test.cc deleted file mode 100644 index 9d2b5d08..00000000 --- a/third_party/rules_boost/test/circular_buffer_test.cc +++ /dev/null @@ -1,13 +0,0 @@ -#include - -int main() -{ - boost::circular_buffer cb(1); - cb.push_back(1); - - if (cb[0] != 1) { - return 1; - } - - return 0; -} diff --git a/third_party/rules_boost/test/container_hash_test.cc b/third_party/rules_boost/test/container_hash_test.cc deleted file mode 100644 index cf64bd38..00000000 --- a/third_party/rules_boost/test/container_hash_test.cc +++ /dev/null @@ -1,6 +0,0 @@ -#include - -int -main() { - return 0; -} diff --git a/third_party/rules_boost/test/container_test.cc b/third_party/rules_boost/test/container_test.cc deleted file mode 100644 index daf5f57b..00000000 --- a/third_party/rules_boost/test/container_test.cc +++ /dev/null @@ -1,10 +0,0 @@ -#include -#include - -int main() -{ - boost::container::flat_map, boost::container::allocator>> m; - m.emplace(1, 42); - m.emplace(2, 0); - return m.at(2); -} diff --git a/third_party/rules_boost/test/context_test.cc b/third_party/rules_boost/test/context_test.cc deleted file mode 100644 index 10cbc506..00000000 --- a/third_party/rules_boost/test/context_test.cc +++ /dev/null @@ -1,33 +0,0 @@ -// Example originates from the boost.context repo: -// https://github.com/boostorg/context/blob/develop/example/callcc/fibonacci.cpp - -#include -#include -#include - -#include - -namespace ctx = boost::context; - -int main() { - int a; - ctx::continuation c=ctx::callcc( - [&a](ctx::continuation && c){ - a=0; - int b=1; - for(;;){ - c=c.resume(); - int next=a+b; - a=b; - b=next; - } - return std::move( c); - }); - for ( int j = 0; j < 10; ++j) { - std::cout << a << " "; - c=c.resume(); - } - std::cout << std::endl; - std::cout << "main: done" << std::endl; - return EXIT_SUCCESS; -} \ No newline at end of file diff --git a/third_party/rules_boost/test/coroutine2_test.cc b/third_party/rules_boost/test/coroutine2_test.cc deleted file mode 100644 index e89a1bb9..00000000 --- a/third_party/rules_boost/test/coroutine2_test.cc +++ /dev/null @@ -1,6 +0,0 @@ -#include - -int main() -{ - return 0; -} diff --git a/third_party/rules_boost/test/coroutine_test.cc b/third_party/rules_boost/test/coroutine_test.cc deleted file mode 100644 index d6aa10a0..00000000 --- a/third_party/rules_boost/test/coroutine_test.cc +++ /dev/null @@ -1,6 +0,0 @@ -#include - -int main() -{ - return 0; -} diff --git a/third_party/rules_boost/test/crc_test.cc b/third_party/rules_boost/test/crc_test.cc deleted file mode 100644 index 949d6f21..00000000 --- a/third_party/rules_boost/test/crc_test.cc +++ /dev/null @@ -1,5 +0,0 @@ -#include - -int main() { - return 0; -} \ No newline at end of file diff --git a/third_party/rules_boost/test/date_time_test.cc b/third_party/rules_boost/test/date_time_test.cc deleted file mode 100644 index 70c1c69b..00000000 --- a/third_party/rules_boost/test/date_time_test.cc +++ /dev/null @@ -1,8 +0,0 @@ -#include - -int main() -{ - std::string ud("20200131"); - boost::gregorian::date d1(boost::gregorian::from_undelimited_string(ud)); - return to_iso_extended_string(d1) == "2020-01-31" ? 0 : 1; -} diff --git a/third_party/rules_boost/test/dynamic_bitset_test.cc b/third_party/rules_boost/test/dynamic_bitset_test.cc deleted file mode 100644 index 5d0f2732..00000000 --- a/third_party/rules_boost/test/dynamic_bitset_test.cc +++ /dev/null @@ -1,7 +0,0 @@ -#include - -int main() -{ - boost::dynamic_bitset set; - return set.empty() ? 0 : 1; -} diff --git a/third_party/rules_boost/test/endian.cc b/third_party/rules_boost/test/endian.cc deleted file mode 100644 index c802405b..00000000 --- a/third_party/rules_boost/test/endian.cc +++ /dev/null @@ -1,64 +0,0 @@ -// #include - -// int main() -// { -// boost::array a{}; -// return a[0]; -// } - -#include -#include -#include -#include - -using namespace boost::endian; - -namespace { - struct header { - big_int32_t file_code; - big_int32_t file_length; - little_int32_t version; - little_int32_t shape_type; - }; - - const char* filename = "test.dat"; -} - -int main(int argc, char** argv) { - header h; - - BOOST_STATIC_ASSERT(sizeof(h) == 16U); // reality check - - h.file_code = 0x01020304; - h.file_length = sizeof(header); - h.version = 1; - h.shape_type = 0x01020304; - - // Low-level I/O such as POSIX read/write or - // fread/fwrite is sometimes used for binary file operations - // when ultimate efficiency is important. Such I/O is often - // performed in some C++ wrapper class, but to drive home the - // point that endian integers are often used in fairly - // low-level code that does bulk I/O operations, - // fopen/fwrite is used for I/O in this example. - - std::FILE* fi = std::fopen(filename, "wb"); // MUST BE BINARY - - if (!fi) - { - std::cout << "could not open " << filename << '\n'; - return 1; - } - - if (std::fwrite(&h, sizeof(header), 1, fi)!= 1) - { - std::cout << "write failure for " << filename << '\n'; - return 1; - } - - std::fclose(fi); - - std::cout << "created file " << filename << '\n'; - - return 0; -} \ No newline at end of file diff --git a/third_party/rules_boost/test/exception_test.cc b/third_party/rules_boost/test/exception_test.cc deleted file mode 100644 index 314130a8..00000000 --- a/third_party/rules_boost/test/exception_test.cc +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include - -int main(int, char *[]) -{ - try { - BOOST_THROW_EXCEPTION(std::runtime_error("success")); - } catch (std::exception &e) { - std::cout << boost::diagnostic_information(e) << '\n'; - return 0; - } - return 1; -} diff --git a/third_party/rules_boost/test/fiber_test.cc b/third_party/rules_boost/test/fiber_test.cc deleted file mode 100644 index 98d274e5..00000000 --- a/third_party/rules_boost/test/fiber_test.cc +++ /dev/null @@ -1,36 +0,0 @@ -// Example originates from the boost.fiber repo: -// https://github.com/boostorg/fiber/blob/develop/examples/simple.cpp - -#include -#include -#include -#include -#include - -#include - -#include - -inline -void fn( std::string const& str, int n) { - for ( int i = 0; i < n; ++i) { - std::cout << i << ": " << str << std::endl; - boost::this_fiber::yield(); - } -} - -int main() { - try { - boost::fibers::fiber f1( fn, "abc", 5); - std::cerr << "f1 : " << f1.get_id() << std::endl; - f1.join(); - std::cout << "done." << std::endl; - - return EXIT_SUCCESS; - } catch ( std::exception const& e) { - std::cerr << "exception: " << e.what() << std::endl; - } catch (...) { - std::cerr << "unhandled exception" << std::endl; - } - return EXIT_FAILURE; -} \ No newline at end of file diff --git a/third_party/rules_boost/test/filesystem_test.cc b/third_party/rules_boost/test/filesystem_test.cc deleted file mode 100644 index 30f4a9e7..00000000 --- a/third_party/rules_boost/test/filesystem_test.cc +++ /dev/null @@ -1,9 +0,0 @@ -#include - -int main(int argc, char* argv[]) -{ - boost::filesystem::path p; - p /= "comp1"; - p /= "comp2"; - return p.compare(std::string{"comp1/comp2"}); -} diff --git a/third_party/rules_boost/test/flyweight_test.cc b/third_party/rules_boost/test/flyweight_test.cc deleted file mode 100644 index adba7235..00000000 --- a/third_party/rules_boost/test/flyweight_test.cc +++ /dev/null @@ -1,14 +0,0 @@ -#include - -int main() -{ - boost::flyweight s1(1); - boost::flyweight s2(1); - - if (&s1.get() != &s2.get()) - { - return 1; - } - - return 0; -} diff --git a/third_party/rules_boost/test/foreach_test.cc b/third_party/rules_boost/test/foreach_test.cc deleted file mode 100644 index 735edfbf..00000000 --- a/third_party/rules_boost/test/foreach_test.cc +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include -#include - -int main() -{ - std::vector vec{ 1, 2 }; - int sum = 0; - BOOST_FOREACH(int n, vec) - { - sum += n; - } - - return sum == 3 ? 0 : 1; -} diff --git a/third_party/rules_boost/test/format_test.cc b/third_party/rules_boost/test/format_test.cc deleted file mode 100644 index c81cc3e0..00000000 --- a/third_party/rules_boost/test/format_test.cc +++ /dev/null @@ -1,10 +0,0 @@ -#include - -int main() -{ - if ((boost::format("hello %d") % 1).str() != "hello 1") { - return 1; - } - - return 0; -} diff --git a/third_party/rules_boost/test/fusion_test.cc b/third_party/rules_boost/test/fusion_test.cc deleted file mode 100644 index ce641e80..00000000 --- a/third_party/rules_boost/test/fusion_test.cc +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include -#include - -int main() -{ - using namespace boost::fusion; - - if (at_c<0>(as_vector(make_list(1, "asdf"))) != 1) - { - return 1; - } - - return 0; -} diff --git a/third_party/rules_boost/test/geometry_test.cc b/third_party/rules_boost/test/geometry_test.cc deleted file mode 100644 index a32e2a09..00000000 --- a/third_party/rules_boost/test/geometry_test.cc +++ /dev/null @@ -1,26 +0,0 @@ -#include - -#include -#include -#include -#include - - -namespace bg = boost::geometry; -namespace bgi = boost::geometry::index; - -int -main() { - typedef bg::model::point point; - typedef bg::model::box box; - typedef std::pair value; - bgi::rtree< value, bgi::quadratic<16> > rtree; - for (unsigned i = 0 ; i < 10 ; ++i) { - box b(point(i + 0.0f, i + 0.0f), point(i + 0.5f, i + 0.5f)); - rtree.insert(std::make_pair(b, i)); - } - box query_box(point(0, 0), point(5, 5)); - std::vector result_s; - rtree.query(bgi::intersects(query_box), std::back_inserter(result_s)); - return result_s.size() == 5; -} diff --git a/third_party/rules_boost/test/gil_test.cc b/third_party/rules_boost/test/gil_test.cc deleted file mode 100644 index 1d572215..00000000 --- a/third_party/rules_boost/test/gil_test.cc +++ /dev/null @@ -1,34 +0,0 @@ -#include -using namespace boost::gil; - -template -struct halfdiff_cast_channels { - template Out operator()(const T& in1, const T& in2) const { - return Out((in1-in2)/2); - } -}; - -template -void x_gradient(const SrcView& src, const DstView& dst) { - typedef typename channel_type::type dst_channel_t; - - for (int y=0; y()); - } -} - -void ComputeXGradientGray8(const unsigned char* src_pixels, ptrdiff_t src_row_bytes, int w, int h, - signed char* dst_pixels, ptrdiff_t dst_row_bytes) { - gray8c_view_t src = interleaved_view(w, h, (const gray8_pixel_t*)src_pixels,src_row_bytes); - gray8s_view_t dst = interleaved_view(w, h, ( gray8s_pixel_t*)dst_pixels,dst_row_bytes); - x_gradient(src,dst); -} - -int main() { - return 0; -} diff --git a/third_party/rules_boost/test/graph_test.cc b/third_party/rules_boost/test/graph_test.cc deleted file mode 100644 index 9f959d6f..00000000 --- a/third_party/rules_boost/test/graph_test.cc +++ /dev/null @@ -1,13 +0,0 @@ -#include - -int main(int, char*[]) -{ - typedef boost::directed_graph<> Graph; - Graph g; - boost::graph_traits< Graph >::vertex_descriptor v0 = g.add_vertex(); - boost::graph_traits< Graph >::vertex_descriptor v1 = g.add_vertex(); - - g.add_edge(v0, v1); - - return 0; -} diff --git a/third_party/rules_boost/test/hana_test.cc b/third_party/rules_boost/test/hana_test.cc deleted file mode 100644 index 36a287db..00000000 --- a/third_party/rules_boost/test/hana_test.cc +++ /dev/null @@ -1,12 +0,0 @@ -#include -#include -namespace hana = boost::hana; - -struct Fish { std::string name; }; -struct Cat { std::string name; }; -struct Dog { std::string name; }; - -int main(){ - auto animals = hana::make_tuple(Fish{"Nemo"}, Cat{"Garfield"}, Dog{"Snoopy"}); - return hana::size(animals).value == 3 ? 0 : 1; -} diff --git a/third_party/rules_boost/test/histogram_test.cc b/third_party/rules_boost/test/histogram_test.cc deleted file mode 100644 index 4829fed6..00000000 --- a/third_party/rules_boost/test/histogram_test.cc +++ /dev/null @@ -1,32 +0,0 @@ -// based off of the example provided at https://github.com/boostorg/histogram -// -#include -#include // used here for printing -#include - -int main() { - using namespace boost::histogram; - - // make 1d histogram with 4 regular bins from 0 to 2 - auto h = make_histogram( axis::regular<>(4, 0.0, 2.0) ); - - // push some values into the histogram - for (auto&& value : { 0.4, 1.1, 0.3, 1.7, 10. }) - h(value); - - // iterate over bins - for (auto&& x : indexed(h)) { - std::cout << boost::format("bin %i [ %.1f, %.1f ): %i\n") - % x.index() % x.bin().lower() % x.bin().upper() % *x; - } - - std::cout << std::flush; - - /* program output: - - bin 0 [ 0.0, 0.5 ): 2 - bin 1 [ 0.5, 1.0 ): 0 - bin 2 [ 1.0, 1.5 ): 1 - bin 3 [ 1.5, 2.0 ): 1 - */ -} diff --git a/third_party/rules_boost/test/icl_test.cc b/third_party/rules_boost/test/icl_test.cc deleted file mode 100644 index 259d4ba6..00000000 --- a/third_party/rules_boost/test/icl_test.cc +++ /dev/null @@ -1,30 +0,0 @@ -#include -#include - -#include - -int main() -{ - - const unsigned int DOMAIN_MAX = 100; - - using Interval = boost::icl::discrete_interval; - - boost::icl::interval_set full_domain; - full_domain += Interval::right_open(0, DOMAIN_MAX); - - boost::icl::interval_set working_domain(full_domain); - - for(unsigned int i=0; i<3; ++i) - working_domain -= Interval::right_open(i*15, i*15 + 7); - - boost::icl::interval_set inverted_working_domain = boost::icl::flip(full_domain, working_domain); - - unsigned int inverted_domain_discrete_cardinality = 0; - for(auto& range : inverted_working_domain) - inverted_domain_discrete_cardinality += boost::icl::cardinality(range); - - assert(inverted_domain_discrete_cardinality == 21); - - return 0; -} \ No newline at end of file diff --git a/third_party/rules_boost/test/integer_test.cc b/third_party/rules_boost/test/integer_test.cc deleted file mode 100644 index 9e95547f..00000000 --- a/third_party/rules_boost/test/integer_test.cc +++ /dev/null @@ -1,5 +0,0 @@ -#include - -int main() { - return 0; -} \ No newline at end of file diff --git a/third_party/rules_boost/test/interprocess_test.cc b/third_party/rules_boost/test/interprocess_test.cc deleted file mode 100644 index ac8c2ae3..00000000 --- a/third_party/rules_boost/test/interprocess_test.cc +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include -#include -#include - -int main() -{ - boost::interprocess::named_mutex mtx{boost::interprocess::open_or_create, - "rules_boost_interprocess_test"}; - mtx.lock(); - mtx.unlock(); - return 0; -} diff --git a/third_party/rules_boost/test/iostreams_test.cc b/third_party/rules_boost/test/iostreams_test.cc deleted file mode 100644 index 33719e33..00000000 --- a/third_party/rules_boost/test/iostreams_test.cc +++ /dev/null @@ -1,73 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -template -bool test_iostream_roundtrip(CompressorArgs &&...args) -{ -std::string original = "hello, world! this test verifies that iostreams can " - "compress and decompress a string"; - std::stringstream compressed; - std::stringstream uncompressed; - - { - boost::iostreams::filtering_ostream compressed_out; - compressed_out.push(Compressor(std::forward(args)...)); - compressed_out.push(compressed); - boost::iostreams::write(compressed_out, original.data(), original.size()); - } - - boost::iostreams::filtering_ostream uncompressed_out; - uncompressed_out.push(Decompressor()); - uncompressed_out.push(uncompressed); - boost::iostreams::copy(compressed, uncompressed_out); - - return uncompressed.str() == original; -} - -int main() -{ - { - std::string uncompressed ("hello"); - std::string compressed; - std::string expected ("\x1f\x8b\x08\x00\x00\x00\x00\x00\x04\xff\xcb\x48\xcd\xc9\xc9\x07\x00\x86\xa6\x10\x36\x05\x00\x00\x00", 25); - - boost::iostreams::filtering_ostream out; - out.push( - boost::iostreams::gzip_compressor(boost::iostreams::zlib::best_speed)); - out.push(boost::iostreams::back_inserter(compressed)); - boost::iostreams::write(out, - reinterpret_cast(uncompressed.data()), - uncompressed.size()); - boost::iostreams::close(out); - - if (compressed != expected) { - return 1; - } - } - - using namespace boost::iostreams; - if (!test_iostream_roundtrip(zlib::best_speed)) - return 1; - if (!test_iostream_roundtrip(zlib::best_speed)) - return 1; - if (!test_iostream_roundtrip(zstd::best_speed)) - return 1; - if (!test_iostream_roundtrip(lzma::best_speed)) - return 1; - if (!test_iostream_roundtrip()) - return 1; - - return 0; -} diff --git a/third_party/rules_boost/test/json_test.cc b/third_party/rules_boost/test/json_test.cc deleted file mode 100644 index 2afc3bca..00000000 --- a/third_party/rules_boost/test/json_test.cc +++ /dev/null @@ -1,6 +0,0 @@ -#include - -int main() { - auto jv = boost::json::parse(R"({"hello": "world"})"); - return jv.as_object().at("hello") != "world"; -} diff --git a/third_party/rules_boost/test/leaf_test.cc b/third_party/rules_boost/test/leaf_test.cc deleted file mode 100644 index 8193d5fc..00000000 --- a/third_party/rules_boost/test/leaf_test.cc +++ /dev/null @@ -1,15 +0,0 @@ -#include - -enum class Errors { - Unimplemented, -}; - -boost::leaf::result foo() { - return boost::leaf::new_error(Errors::Unimplemented); -} - -int main() { - return boost::leaf::try_handle_all( - foo, [](boost::leaf::match) { return 0; }, - [](boost::leaf::error_info const &unmatched) { return 2; }); -} diff --git a/third_party/rules_boost/test/locale_test.cc b/third_party/rules_boost/test/locale_test.cc deleted file mode 100644 index 6795f428..00000000 --- a/third_party/rules_boost/test/locale_test.cc +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include - -#include -#include - -int main(int, char**) { - std::string utf8_string = boost::locale::conv::to_utf - ("N""\xf6""el", "iso-8859-1"); - if (utf8_string != "Nöel") { - std::cerr << "conversion failed!" << std::endl; - return 1; - } - return 0; -} diff --git a/third_party/rules_boost/test/lockfree_test.cc b/third_party/rules_boost/test/lockfree_test.cc deleted file mode 100644 index 1ec09eed..00000000 --- a/third_party/rules_boost/test/lockfree_test.cc +++ /dev/null @@ -1,7 +0,0 @@ -#include - -int main() -{ - boost::lockfree::queue queue(128); - return 0; -} diff --git a/third_party/rules_boost/test/log_test.cc b/third_party/rules_boost/test/log_test.cc deleted file mode 100644 index cb1477fa..00000000 --- a/third_party/rules_boost/test/log_test.cc +++ /dev/null @@ -1,48 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -namespace logging = boost::log; -namespace src = boost::log::sources; -namespace sinks = boost::log::sinks; - -int main(int, char*[]) -{ - // Construct the sink - typedef sinks::synchronous_sink< sinks::text_ostream_backend > text_sink; - boost::shared_ptr< text_sink > sink = boost::make_shared< text_sink >(); - - auto log_stream = boost::make_shared< std::ostringstream >(); - - // Add a stream to write log to - sink->locked_backend()->add_stream(log_stream); - - // Register the sink in the logging core - logging::core::get()->add_sink(sink); - - // Register a console log with a format, which - // tests our usage of log_setup library. - // Tests resolution of https://github.com/nelhage/rules_boost/issues/151. - logging::add_console_log(std::cout, boost::log::keywords::format = "*%Severity%* %Message%"); - - BOOST_LOG_TRIVIAL(trace) << "A trace severity message"; - BOOST_LOG_TRIVIAL(debug) << "A debug severity message"; - BOOST_LOG_TRIVIAL(info) << "An informational severity message"; - BOOST_LOG_TRIVIAL(warning) << "A warning severity message"; - BOOST_LOG_TRIVIAL(error) << "An error severity message"; - BOOST_LOG_TRIVIAL(fatal) << "A fatal severity message"; - - if(log_stream->str().size() != 162) - return 1; - - return 0; -} - diff --git a/third_party/rules_boost/test/mp11_test.cc b/third_party/rules_boost/test/mp11_test.cc deleted file mode 100644 index 8c98f49b..00000000 --- a/third_party/rules_boost/test/mp11_test.cc +++ /dev/null @@ -1,34 +0,0 @@ -#include -#include - -using namespace boost::mp11; - -struct Functor { - - std::string& a; - - void operator()(char) { - a += "char"; - } - - void operator()(int) { - a += "int"; - } - - void operator()(long) { - a += "long"; - } -}; - - -int main() -{ - std::string ret; - Functor f{ret}; - - using L = std::tuple; - tuple_for_each(L(), f); - - return ret == "charintlong" ? 0 : -1; -} - diff --git a/third_party/rules_boost/test/msm_test.cc b/third_party/rules_boost/test/msm_test.cc deleted file mode 100644 index dca403f9..00000000 --- a/third_party/rules_boost/test/msm_test.cc +++ /dev/null @@ -1,6 +0,0 @@ -#include - -int main() -{ - return 0; -} diff --git a/third_party/rules_boost/test/multiprecision_test.cc b/third_party/rules_boost/test/multiprecision_test.cc deleted file mode 100644 index 84e261f7..00000000 --- a/third_party/rules_boost/test/multiprecision_test.cc +++ /dev/null @@ -1,12 +0,0 @@ -#include - -int main() -{ - boost::multiprecision::uint128_t a(123); - int b = 123; - if (a != b) { - return 1; - } - - return 0; -} diff --git a/third_party/rules_boost/test/nowide_test.cc b/third_party/rules_boost/test/nowide_test.cc deleted file mode 100644 index 20c63569..00000000 --- a/third_party/rules_boost/test/nowide_test.cc +++ /dev/null @@ -1,22 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -int main(int argc, char **argv) -{ - std::string hello = "\xd7\xa9\xd7\x9c\xd7\x95\xd7\x9d"; - std::wstring whello = boost::nowide::widen(hello); - boost::nowide::nowide_filesystem(); - return boost::nowide::narrow(whello) == hello ? 0 : 1; -} diff --git a/third_party/rules_boost/test/numeric_conversion_test.cc b/third_party/rules_boost/test/numeric_conversion_test.cc deleted file mode 100644 index 48f93ed9..00000000 --- a/third_party/rules_boost/test/numeric_conversion_test.cc +++ /dev/null @@ -1,13 +0,0 @@ -#include - -int main() -{ - short a = 42; - int b = 42; - - if (boost::numeric_cast(a) != b) { - return 1; - } - - return 0; -} diff --git a/third_party/rules_boost/test/numeric_odeint_test.cc b/third_party/rules_boost/test/numeric_odeint_test.cc deleted file mode 100644 index 8744f6aa..00000000 --- a/third_party/rules_boost/test/numeric_odeint_test.cc +++ /dev/null @@ -1,25 +0,0 @@ -#include - -typedef std::vector< double > state_type; - -const double gam = 0.15; - -void harmonic_oscillator( const state_type &x , state_type &dxdt , const double /* t */ ) -{ - dxdt[0] = x[1]; - dxdt[1] = -x[0] - gam*x[1]; -} - -int main() -{ - state_type x(2); - x[0] = 1.0; // start at x=1.0, p=0.0 - x[1] = 0.0; - - using namespace boost::numeric::odeint; - size_t steps = integrate( harmonic_oscillator, x, 0.0, 10.0, 0.1 ); - if(steps == 0) - return 1; - - return 0; -} diff --git a/third_party/rules_boost/test/optional_test.cc b/third_party/rules_boost/test/optional_test.cc deleted file mode 100644 index e3ef14dd..00000000 --- a/third_party/rules_boost/test/optional_test.cc +++ /dev/null @@ -1,7 +0,0 @@ -#include - -int main() -{ - boost::optional a; - return !!a; -} diff --git a/third_party/rules_boost/test/pfr_test.cc b/third_party/rules_boost/test/pfr_test.cc deleted file mode 100644 index d2389452..00000000 --- a/third_party/rules_boost/test/pfr_test.cc +++ /dev/null @@ -1,11 +0,0 @@ -#include - -struct Foo { - int bar = 1; - int baz = 0; -}; - -int main() { - Foo f{}; - return boost::pfr::get<1>(f); -} diff --git a/third_party/rules_boost/test/poly_collection_test.cc b/third_party/rules_boost/test/poly_collection_test.cc deleted file mode 100644 index 41d1de98..00000000 --- a/third_party/rules_boost/test/poly_collection_test.cc +++ /dev/null @@ -1,15 +0,0 @@ -#include - -struct A { - virtual ~A() = default; -}; -struct B : A {}; -struct C : A {}; - -int main() -{ - boost::base_collection collection; - collection.insert(B()); - collection.insert(C()); - return !(collection.size() == 2); -} diff --git a/third_party/rules_boost/test/process_test.cc b/third_party/rules_boost/test/process_test.cc deleted file mode 100644 index 9cfe22bc..00000000 --- a/third_party/rules_boost/test/process_test.cc +++ /dev/null @@ -1,28 +0,0 @@ -// work-around issue in Boost 1.77 -// https://github.com/boostorg/process/pull/215 -#include - -#include - -int main() -{ - using namespace boost::process; - - ipstream pipe_stream; - child c("echo hi", std_out > pipe_stream); - - std::string line; - std::string all; - - while (pipe_stream && std::getline(pipe_stream, line) && !line.empty()) - all += line + '\n'; - - c.wait(); - - auto iter = all.find("hi"); - if (iter != std::string::npos) { - return 0; - } else { - return -1; - } -} diff --git a/third_party/rules_boost/test/program_options_test.cc b/third_party/rules_boost/test/program_options_test.cc deleted file mode 100644 index f392cb81..00000000 --- a/third_party/rules_boost/test/program_options_test.cc +++ /dev/null @@ -1,24 +0,0 @@ -#include - -namespace po = boost::program_options; - -int main() -{ - int ac = 3; - const char *const av[] = {"", "--compression", "7"}; - - po::options_description desc("Allowed options"); - desc.add_options() - ("compression", po::value(), "set compression level") - ; - - po::variables_map vm; - po::store(po::parse_command_line(ac, av, desc), vm); - po::notify(vm); - - if (!vm.count("compression") || vm["compression"].as() != 7) { - return 1; - } - - return 0; -} diff --git a/third_party/rules_boost/test/property_tree_test.cc b/third_party/rules_boost/test/property_tree_test.cc deleted file mode 100644 index 758d1dfc..00000000 --- a/third_party/rules_boost/test/property_tree_test.cc +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include - -using namespace boost::property_tree; - -int main() -{ - ptree pt; - std::stringstream ss; - pt.put("k", "v"); - json_parser::write_json(ss, pt, false); - return ss.str() != "{\"k\":\"v\"}\n"; -} diff --git a/third_party/rules_boost/test/ptr_container_test.cc b/third_party/rules_boost/test/ptr_container_test.cc deleted file mode 100644 index 4c8d25e1..00000000 --- a/third_party/rules_boost/test/ptr_container_test.cc +++ /dev/null @@ -1,36 +0,0 @@ -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -int main() -{ - boost::ptr_map map; - return map.empty() ? 0 : 1; -} diff --git a/third_party/rules_boost/test/qvm_test.cc b/third_party/rules_boost/test/qvm_test.cc deleted file mode 100644 index edd5e907..00000000 --- a/third_party/rules_boost/test/qvm_test.cc +++ /dev/null @@ -1,8 +0,0 @@ -#include - -int main() { - boost::qvm::quat rx = boost::qvm::rotx_quat(3.14159265358979323846); - double v[3] = {1, 1, 0}; - boost::qvm::vec w = rx*boost::qvm::vref(v); - return boost::qvm::A<1>(w) != -1; -} diff --git a/third_party/rules_boost/test/random_test.cc b/third_party/rules_boost/test/random_test.cc deleted file mode 100644 index fdd339f8..00000000 --- a/third_party/rules_boost/test/random_test.cc +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include - -int main() -{ - boost::random::mt19937 gen; - boost::random::uniform_int_distribution<> dist(1, 6); - - if (dist(gen) > 6) { - return 1; - } - - return 0; -} diff --git a/third_party/rules_boost/test/rational_test.cc b/third_party/rules_boost/test/rational_test.cc deleted file mode 100644 index 45c7af48..00000000 --- a/third_party/rules_boost/test/rational_test.cc +++ /dev/null @@ -1,11 +0,0 @@ -#include - -int main() -{ - boost::rational half(1,2); - if (boost::rational_cast(half) != 0.5) { - return 1; - } - - return 0; -} diff --git a/third_party/rules_boost/test/scope_exit_test.cc b/third_party/rules_boost/test/scope_exit_test.cc deleted file mode 100644 index 99d0f1d9..00000000 --- a/third_party/rules_boost/test/scope_exit_test.cc +++ /dev/null @@ -1,21 +0,0 @@ -#include - -void f(bool *flag) -{ - bool commit = false; - BOOST_SCOPE_EXIT(&commit, &flag) { - *flag = true; - } BOOST_SCOPE_EXIT_END -} - -int main() -{ - bool flag = false; - f(&flag); - - if (!flag) { - return 1; - } - - return 0; -} diff --git a/third_party/rules_boost/test/signals2_test.cc b/third_party/rules_boost/test/signals2_test.cc deleted file mode 100644 index 32c9e3a4..00000000 --- a/third_party/rules_boost/test/signals2_test.cc +++ /dev/null @@ -1,31 +0,0 @@ -#include - -class FlagSetter -{ - public: - FlagSetter(bool *flag) : flag(flag) {} - - void operator()() - { - *flag = true; - } - - bool *flag; -}; - -int main() -{ - bool called = false; - - boost::signals2::signal sig; - FlagSetter fs (&called); - sig.connect(fs); - - sig(); - - if (!called) { - return 1; - } - - return 0; -} diff --git a/third_party/rules_boost/test/smart_ptr_test.cc b/third_party/rules_boost/test/smart_ptr_test.cc deleted file mode 100644 index 6dd24ec4..00000000 --- a/third_party/rules_boost/test/smart_ptr_test.cc +++ /dev/null @@ -1,8 +0,0 @@ -#include - -int main(int, char*[]) -{ - boost::scoped_ptr p(new int); - *p = 0; - return *p; -} diff --git a/third_party/rules_boost/test/spirit_test.cc b/third_party/rules_boost/test/spirit_test.cc deleted file mode 100644 index 2d271fe9..00000000 --- a/third_party/rules_boost/test/spirit_test.cc +++ /dev/null @@ -1,19 +0,0 @@ -// Example is based on num_list1.cpp from the boost.spirit repo: -// https://github.com/boostorg/spirit/blob/develop/example/x3/num_list/num_list1.cpp - -#include -#include - -namespace x3 = boost::spirit::x3; - -int main() -{ - std::string csl("1,2,3,4"); - - auto first = csl.begin(); - auto last = csl.end(); - - auto res = x3::phrase_parse(first, last, x3::double_ >> *(',' >> x3::double_), x3::ascii::space); - - return res && (first == last) ? 0 : 1; -} \ No newline at end of file diff --git a/third_party/rules_boost/test/stacktrace_test.cc b/third_party/rules_boost/test/stacktrace_test.cc deleted file mode 100644 index 7dddc1f6..00000000 --- a/third_party/rules_boost/test/stacktrace_test.cc +++ /dev/null @@ -1,7 +0,0 @@ -#include - -int main() -{ - boost::stacktrace::safe_dump_to("./backtrace.dump"); - return 0; -} diff --git a/third_party/rules_boost/test/static_string_test.cc b/third_party/rules_boost/test/static_string_test.cc deleted file mode 100644 index 91486064..00000000 --- a/third_party/rules_boost/test/static_string_test.cc +++ /dev/null @@ -1,7 +0,0 @@ -#include - -int main() -{ - boost::static_string<5> s1("UVXYZ", 3); - return s1 == "UVX" ? 0 : 1; -} diff --git a/third_party/rules_boost/test/stl_interfaces_test.cc b/third_party/rules_boost/test/stl_interfaces_test.cc deleted file mode 100644 index 9fd8b7f7..00000000 --- a/third_party/rules_boost/test/stl_interfaces_test.cc +++ /dev/null @@ -1,51 +0,0 @@ -#include - -#include -#include -#include - -template -struct filtered_int_iterator - : boost::stl_interfaces::iterator_interface< - filtered_int_iterator, std::bidirectional_iterator_tag, int> { - filtered_int_iterator() : it_(nullptr) {} - filtered_int_iterator(int *it, int *last, Pred pred) - : it_(it), last_(last), pred_(std::move(pred)) { - it_ = std::find_if(it_, last_, pred_); - } - - filtered_int_iterator &operator++() { - it_ = std::find_if(std::next(it_), last_, pred_); - return *this; - } - - int *base() const { return it_; } - -private: - friend boost::stl_interfaces::access; - int *&base_reference() noexcept { return it_; } - int *base_reference() const noexcept { return it_; } - - int *it_; - int *last_; - Pred pred_; -}; - -template -filtered_int_iterator make_filtered_int_iterator(int *it, int *last, Pred pred) { - return filtered_int_iterator(it, last, std::move(pred)); -} - -int main() { - std::array ints = {{0, 1, 2, 3, 4, 5, 6, 7}}; - int *const ints_first = ints.data(); - int *const ints_last = ints.data() + ints.size(); - - auto even = [](int x) { return (x % 2) == 0; }; - auto first = make_filtered_int_iterator(ints_first, ints_last, even); - auto last = make_filtered_int_iterator(ints_last, ints_last, even); - - std::vector ints_copy; - std::copy(first, last, std::back_inserter(ints_copy)); - return ints_copy == (std::vector{0, 2, 4, 6}) ? 0 : 1; -} diff --git a/third_party/rules_boost/test/test_dynamic_test.cc b/third_party/rules_boost/test/test_dynamic_test.cc deleted file mode 100644 index 6dc604c2..00000000 --- a/third_party/rules_boost/test/test_dynamic_test.cc +++ /dev/null @@ -1,7 +0,0 @@ -#define BOOST_TEST_MODULE boost_test -#include - -BOOST_AUTO_TEST_CASE( test_boost ) -{ - BOOST_TEST( true ); -} diff --git a/third_party/rules_boost/test/test_included_test.cc b/third_party/rules_boost/test/test_included_test.cc deleted file mode 100644 index 61ee70ec..00000000 --- a/third_party/rules_boost/test/test_included_test.cc +++ /dev/null @@ -1,7 +0,0 @@ -#define BOOST_TEST_MODULE boost_test -#include - -BOOST_AUTO_TEST_CASE( test_boost ) -{ - BOOST_TEST( true ); -} diff --git a/third_party/rules_boost/test/test_static_test.cc b/third_party/rules_boost/test/test_static_test.cc deleted file mode 100644 index 6dc604c2..00000000 --- a/third_party/rules_boost/test/test_static_test.cc +++ /dev/null @@ -1,7 +0,0 @@ -#define BOOST_TEST_MODULE boost_test -#include - -BOOST_AUTO_TEST_CASE( test_boost ) -{ - BOOST_TEST( true ); -} diff --git a/third_party/rules_boost/test/thread_test.cc b/third_party/rules_boost/test/thread_test.cc deleted file mode 100644 index 350223f8..00000000 --- a/third_party/rules_boost/test/thread_test.cc +++ /dev/null @@ -1,12 +0,0 @@ -#include - -void thread() -{ -} - -int main() -{ - boost::thread t{thread}; - t.join(); - return 0; -} diff --git a/third_party/rules_boost/test/throw_exception_test.cc b/third_party/rules_boost/test/throw_exception_test.cc deleted file mode 100644 index 89f5b87b..00000000 --- a/third_party/rules_boost/test/throw_exception_test.cc +++ /dev/null @@ -1,12 +0,0 @@ -#include -#include - -int main(int, char *[]) -{ - try { - BOOST_THROW_EXCEPTION(std::runtime_error("success")); - } catch (const std::runtime_error &) { - return 0; - } - return 1; -} diff --git a/third_party/rules_boost/test/tokenizer_test.cc b/third_party/rules_boost/test/tokenizer_test.cc deleted file mode 100644 index c9cf0be4..00000000 --- a/third_party/rules_boost/test/tokenizer_test.cc +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include - -int main() -{ - std::string s = "foo bar"; - boost::tokenizer<> tok(s); - - if (*(tok.begin()) != "foo") { - return 1; - } - - return 0; -} diff --git a/third_party/rules_boost/test/tribool_test.cc b/third_party/rules_boost/test/tribool_test.cc deleted file mode 100644 index ec616c03..00000000 --- a/third_party/rules_boost/test/tribool_test.cc +++ /dev/null @@ -1,15 +0,0 @@ -#include - -int main() -{ - boost::logic::tribool a(false); - - if (a == true) { - return 1; - } else if(a == false) { - return 0; - } else { - return 2; - } - -} diff --git a/third_party/rules_boost/test/tti_test.cc b/third_party/rules_boost/test/tti_test.cc deleted file mode 100644 index 9ce166c6..00000000 --- a/third_party/rules_boost/test/tti_test.cc +++ /dev/null @@ -1,6 +0,0 @@ -#include - -int -main() { - return 0; -} diff --git a/third_party/rules_boost/test/unordered_test.cc b/third_party/rules_boost/test/unordered_test.cc deleted file mode 100644 index 21e9ea7a..00000000 --- a/third_party/rules_boost/test/unordered_test.cc +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include - -int main() -{ - boost::unordered_map m; - - m["one"] = 1; - - if (m.at("one") != 1) { - return 1; - } - - return 0; -} diff --git a/third_party/rules_boost/test/url_test.cc b/third_party/rules_boost/test/url_test.cc deleted file mode 100644 index 0b601f93..00000000 --- a/third_party/rules_boost/test/url_test.cc +++ /dev/null @@ -1,9 +0,0 @@ -#include -#include - -int main() -{ - boost::urls::url_view u2 = boost::urls::parse_uri( "http://www.example.com/#" ).value(); - assert(u2.fragment().empty()); - assert(u2.has_fragment()); -} diff --git a/third_party/rules_boost/test/uuid_nil_generator_test.cc b/third_party/rules_boost/test/uuid_nil_generator_test.cc deleted file mode 100644 index c1dbf845..00000000 --- a/third_party/rules_boost/test/uuid_nil_generator_test.cc +++ /dev/null @@ -1,9 +0,0 @@ -#include -#include - -int main() -{ - boost::uuids::nil_generator gen; - boost::uuids::uuid u = gen(); - return u.is_nil() ? 0 : 1; -} diff --git a/third_party/rules_boost/test/uuid_random_generator_test.cc b/third_party/rules_boost/test/uuid_random_generator_test.cc deleted file mode 100644 index 64c9fd44..00000000 --- a/third_party/rules_boost/test/uuid_random_generator_test.cc +++ /dev/null @@ -1,9 +0,0 @@ -#include -#include - -int main() -{ - boost::uuids::random_generator gen; - boost::uuids::uuid u = gen(); - return u.size() > 0 ? 0 : 1; -} diff --git a/third_party/rules_boost/test/variant2_test.cc b/third_party/rules_boost/test/variant2_test.cc deleted file mode 100644 index efa46957..00000000 --- a/third_party/rules_boost/test/variant2_test.cc +++ /dev/null @@ -1,6 +0,0 @@ -#include - -int main() -{ - return 0; -} diff --git a/third_party/rules_boost/update_lzma_config_header.sh b/third_party/rules_boost/update_lzma_config_header.sh deleted file mode 100755 index e9aefb48..00000000 --- a/third_party/rules_boost/update_lzma_config_header.sh +++ /dev/null @@ -1,74 +0,0 @@ -#!/usr/bin/env bash - -# This is a helper script to update the config header for LZMA, i.e. -# - config.lzma-android.h, -# - config.lzma-ios-arm64.h -# - config.lzma-ios-armv7.h -# - config.lzma-ios-i386.h -# - config.lzma-linux.h -# - config.lzma-osx-arm64.h -# - config.lzma-osx-x86_64.h -# - config.lzma-windows.h -# -# Those files are dependent on the target OS and architecture. -# Every time the version number of xz is bumped the corresponding config headers should be updated. -# Note: This script has to be executed on macOS, Linux, and Windows since the configuration of the headers is specific to the underlying OS environment - -# Fail on error, etc. -set -euxo pipefail - -# Get script location -script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" - -# Path where the WORKSPACE file is located -rules_boost_dir=$script_dir - -# Create a temporary directory -tmpdir=$(mktemp -d) - -# Get rid of temporary files when script exits -trap "rm -rf $tmpdir" EXIT - -# Version number of xz -xz_version_number="5.4.2" - -# Download, and untar xz -cd "$tmpdir" -curl -sL 'https://github.com/tukaani-project/xz/releases/download/v'$xz_version_number'/xz-'$xz_version_number'.tar.gz' --output 'xz-'$xz_version_number'.tar.gz' -tar -xf 'xz-'$xz_version_number'.tar.gz' - -# Switch to xz directory -cd 'xz-'$xz_version_number - -# config header files depend on the specific OS -if [[ "$OSTYPE" == "linux-gnu"* ]]; then - ./configure - cp config.h "${rules_boost_dir}/config.lzma-linux.h" -elif [[ "$OSTYPE" == "darwin"* ]]; then - CC="clang -arch x86_64" ./configure --host=$MACHTYPE - cp config.h "${rules_boost_dir}/config.lzma-osx-x86_64.h" - - CC="clang -arch arm64" ./configure --host=$MACHTYPE - cp config.h "${rules_boost_dir}/config.lzma-osx-arm64.h" - - CC="clang -arch arm64 \ - -isysroot $(xcrun --sdk iphoneos --show-sdk-path)" \ - ./configure --host=$MACHTYPE - cp config.h "${rules_boost_dir}/config.lzma-ios-arm64.h" - - CC="clang -arch armv7 \ - -isysroot $(xcrun --sdk iphoneos --show-sdk-path)" \ - ./configure --host=$MACHTYPE - cp config.h "${rules_boost_dir}/config.lzma-ios-armv7.h" - - CC="clang -arch i386 \ - -isysroot $(xcrun --sdk iphonesimulator --show-sdk-path)" \ - ./configure --host=$MACHTYPE - cp config.h "${rules_boost_dir}/config.lzma-ios-i386.h" -elif [[ "$OSTYPE" == "msys"* ]]; then - ./configure - cp config.h "${rules_boost_dir}/config.lzma-windows.h" -else - echo "Unsupported OS" - echo "$OSTYPE" -fi diff --git a/third_party/rules_boost/zlib.BUILD b/third_party/rules_boost/zlib.BUILD deleted file mode 100644 index 1a89a4a3..00000000 --- a/third_party/rules_boost/zlib.BUILD +++ /dev/null @@ -1,59 +0,0 @@ -load("@bazel_skylib//lib:selects.bzl", "selects") - -licenses(["notice"]) # BSD/MIT-like license (for zlib) - -alias( - name = "zlib", - actual = selects.with_or({ - ("@platforms//os:android", "@platforms//os:osx", "@platforms//os:ios", "@platforms//os:watchos", "@platforms//os:tvos"): ":zlib_system", - "//conditions:default": ":zlib_source", - }), - visibility = ["//visibility:public"], -) - -cc_library( - name = "zlib_source", - srcs = [ - "adler32.c", - "compress.c", - "crc32.c", - "crc32.h", - "deflate.c", - "deflate.h", - "gzclose.c", - "gzguts.h", - "gzlib.c", - "gzread.c", - "gzwrite.c", - "infback.c", - "inffast.c", - "inffast.h", - "inffixed.h", - "inflate.c", - "inflate.h", - "inftrees.c", - "inftrees.h", - "trees.c", - "trees.h", - "uncompr.c", - "zconf.h", - "zutil.c", - "zutil.h", - ], - hdrs = ["zlib.h"], - copts = select({ - "@platforms//os:windows": [], - "//conditions:default": ["-Wno-shift-negative-value"], - }), - includes = ["."], - local_defines = select({ - "@platforms//os:windows": [], - "//conditions:default": ["Z_HAVE_UNISTD_H"], - }), -) - -# For OSs that bundle libz -cc_library( - name = "zlib_system", - linkopts = ["-lz"], -) diff --git a/third_party/rules_boost/zstd.BUILD b/third_party/rules_boost/zstd.BUILD deleted file mode 100644 index 7d11eebc..00000000 --- a/third_party/rules_boost/zstd.BUILD +++ /dev/null @@ -1,54 +0,0 @@ -cc_library( - name = "zstd", - srcs = glob([ - "lib/common/*.h", - "lib/common/*.c", - "lib/compress/*.h", - "lib/compress/*.c", - "lib/decompress/*.h", - "lib/decompress/*.c", - "lib/deprecated/*.h", - "lib/deprecated/*.c", - "lib/dictBuilder/*.h", - "lib/dictBuilder/*.c", - "lib/legacy/*.h", - "lib/legacy/*.c", - ]) + select({ - ":linux_x86_64": ["lib/decompress/huf_decompress_amd64.S"], - ":macos_x86_64": ["lib/decompress/huf_decompress_amd64.S"], - "//conditions:default": [], - }), - hdrs = [ - "lib/zdict.h", - "lib/zstd.h", - "lib/zstd_errors.h", - ], - includes = ["lib"], - linkopts = [ - "-pthread", - ], - local_defines = [ - "ZSTD_LEGACY_SUPPORT=4", - "ZSTD_MULTITHREAD", - "XXH_NAMESPACE=ZSTD_", - ], - visibility = ["//visibility:public"], -) - -# Hopefully, the need for these OSxCPU config_setting()s will be obviated by a fix to https://github.com/bazelbuild/platforms/issues/36 - -config_setting( - name = "linux_x86_64", - constraint_values = [ - "@platforms//os:linux", - "@platforms//cpu:x86_64", - ], -) - -config_setting( - name = "macos_x86_64", - constraint_values = [ - "@platforms//os:macos", - "@platforms//cpu:x86_64", - ], -)