diff --git a/libcxx/Makefile b/libcxx/Makefile index 9d0dd768e17..b051ba8518a 100644 --- a/libcxx/Makefile +++ b/libcxx/Makefile @@ -15,9 +15,9 @@ LICENSE= apache-2.0 # libcxx's includes to build, so we have this unholy extra distfiles thing # in both of them to get them to build against each other without causing # circular dependencies. This must be kept in sync with libcxxabi/Makefile. -LIBCXXABI= libcxxabi-${LLVM_VERSION}.src -LLVMDIST= llvm-${LLVM_VERSION}.src -_EXTRA_DIST= ${LIBCXXABI}${EXTRACT_SUFX} ${LLVMDIST}${EXTRACT_SUFX} +LIBCXXABI= libcxxabi-${LLVM_VERSION}.src +LLVMDIST= llvm-${LLVM_VERSION}.src +_EXTRA_DIST= ${LIBCXXABI}${EXTRACT_SUFX} ${LLVMDIST}${EXTRACT_SUFX} # ${LIBUNWIND}${EXTRACT_SUFX} SITES.${LIBCXXABI}${EXTRACT_SUFX}= ${MASTER_SITES:=${GITHUB_PROJECT}/releases/download/${GITHUB_RELEASE}/} SITES.${LLLVMDIST}${EXTRACT_SUFX}= ${MASTER_SITES:=${GITHUB_PROJECT}/releases/download/${GITHUB_RELEASE}/} @@ -37,7 +37,7 @@ CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=${CXX:Q} CMAKE_ARGS+= -DCMAKE_CXX_LINK_FLAGS=${LDFLAGS:Q} CMAKE_ARGS+= -DLIBCXX_CXX_ABI=libcxxabi CMAKE_ARGS+= -DLIBCXX_CXX_ABI_INCLUDE_PATHS=${WRKDIR}/${LIBCXXABI}/include -CMAKE_ARGS+= -DLIBCXXABI_USE_LLVM_UNWINDER=ON +CMAKE_ARGS+= -DLIBCXXABI_USE_LLVM_UNWINDER=OFF CMAKE_ARGS+= -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=OFF # avoid conflict with stddef.h @@ -49,4 +49,5 @@ post-extract: ${LN} -f -s ${WRKDIR}/${LLVMDIST} ${WRKDIR}/llvm .include "../../wip/libcxxabi/buildlink3.mk" +.include "../../wip/libunwind/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/libcxx/PLIST b/libcxx/PLIST index 27e1a1c81a6..0bea1746b05 100644 --- a/libcxx/PLIST +++ b/libcxx/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 2021/11/23 20:55:43 wiz Exp $ +@comment $NetBSD$ include/c++/v1/__algorithm/adjacent_find.h include/c++/v1/__algorithm/all_of.h include/c++/v1/__algorithm/any_of.h @@ -26,6 +26,9 @@ include/c++/v1/__algorithm/for_each_n.h include/c++/v1/__algorithm/generate.h include/c++/v1/__algorithm/generate_n.h include/c++/v1/__algorithm/half_positive.h +include/c++/v1/__algorithm/in_in_out_result.h +include/c++/v1/__algorithm/in_in_result.h +include/c++/v1/__algorithm/in_out_result.h include/c++/v1/__algorithm/includes.h include/c++/v1/__algorithm/inplace_merge.h include/c++/v1/__algorithm/is_heap.h @@ -93,24 +96,108 @@ include/c++/v1/__algorithm/unique_copy.h include/c++/v1/__algorithm/unwrap_iter.h include/c++/v1/__algorithm/upper_bound.h include/c++/v1/__availability +include/c++/v1/__bit/bit_cast.h +include/c++/v1/__bit/byteswap.h include/c++/v1/__bit_reference include/c++/v1/__bits include/c++/v1/__bsd_locale_defaults.h include/c++/v1/__bsd_locale_fallbacks.h +include/c++/v1/__charconv/chars_format.h +include/c++/v1/__charconv/from_chars_result.h +include/c++/v1/__charconv/to_chars_result.h +include/c++/v1/__chrono/calendar.h +include/c++/v1/__chrono/convert_to_timespec.h +include/c++/v1/__chrono/duration.h +include/c++/v1/__chrono/file_clock.h +include/c++/v1/__chrono/high_resolution_clock.h +include/c++/v1/__chrono/steady_clock.h +include/c++/v1/__chrono/system_clock.h +include/c++/v1/__chrono/time_point.h +include/c++/v1/__compare/common_comparison_category.h +include/c++/v1/__compare/compare_partial_order_fallback.h +include/c++/v1/__compare/compare_strong_order_fallback.h +include/c++/v1/__compare/compare_three_way.h +include/c++/v1/__compare/compare_three_way_result.h +include/c++/v1/__compare/compare_weak_order_fallback.h +include/c++/v1/__compare/is_eq.h +include/c++/v1/__compare/ordering.h +include/c++/v1/__compare/partial_order.h +include/c++/v1/__compare/strong_order.h +include/c++/v1/__compare/synth_three_way.h +include/c++/v1/__compare/three_way_comparable.h +include/c++/v1/__compare/weak_order.h +include/c++/v1/__concepts/arithmetic.h +include/c++/v1/__concepts/assignable.h +include/c++/v1/__concepts/boolean_testable.h +include/c++/v1/__concepts/class_or_enum.h +include/c++/v1/__concepts/common_reference_with.h +include/c++/v1/__concepts/common_with.h +include/c++/v1/__concepts/constructible.h +include/c++/v1/__concepts/convertible_to.h +include/c++/v1/__concepts/copyable.h +include/c++/v1/__concepts/derived_from.h +include/c++/v1/__concepts/destructible.h +include/c++/v1/__concepts/different_from.h +include/c++/v1/__concepts/equality_comparable.h +include/c++/v1/__concepts/invocable.h +include/c++/v1/__concepts/movable.h +include/c++/v1/__concepts/predicate.h +include/c++/v1/__concepts/regular.h +include/c++/v1/__concepts/relation.h +include/c++/v1/__concepts/same_as.h +include/c++/v1/__concepts/semiregular.h +include/c++/v1/__concepts/swappable.h +include/c++/v1/__concepts/totally_ordered.h include/c++/v1/__config include/c++/v1/__config_site +include/c++/v1/__coroutine/coroutine_handle.h +include/c++/v1/__coroutine/coroutine_traits.h +include/c++/v1/__coroutine/noop_coroutine_handle.h +include/c++/v1/__coroutine/trivial_awaitables.h include/c++/v1/__cxxabi_config.h include/c++/v1/__debug include/c++/v1/__errc +include/c++/v1/__filesystem/copy_options.h +include/c++/v1/__filesystem/directory_entry.h +include/c++/v1/__filesystem/directory_iterator.h +include/c++/v1/__filesystem/directory_options.h +include/c++/v1/__filesystem/file_status.h +include/c++/v1/__filesystem/file_time_type.h +include/c++/v1/__filesystem/file_type.h +include/c++/v1/__filesystem/filesystem_error.h +include/c++/v1/__filesystem/operations.h +include/c++/v1/__filesystem/path.h +include/c++/v1/__filesystem/path_iterator.h +include/c++/v1/__filesystem/perm_options.h +include/c++/v1/__filesystem/perms.h +include/c++/v1/__filesystem/recursive_directory_iterator.h +include/c++/v1/__filesystem/space_info.h +include/c++/v1/__filesystem/u8path.h +include/c++/v1/__format/format_arg.h +include/c++/v1/__format/format_args.h +include/c++/v1/__format/format_context.h include/c++/v1/__format/format_error.h +include/c++/v1/__format/format_fwd.h include/c++/v1/__format/format_parse_context.h -include/c++/v1/__function_like.h +include/c++/v1/__format/format_string.h +include/c++/v1/__format/format_to_n_result.h +include/c++/v1/__format/formatter.h +include/c++/v1/__format/formatter_bool.h +include/c++/v1/__format/formatter_char.h +include/c++/v1/__format/formatter_floating_point.h +include/c++/v1/__format/formatter_integer.h +include/c++/v1/__format/formatter_integral.h +include/c++/v1/__format/formatter_pointer.h +include/c++/v1/__format/formatter_string.h +include/c++/v1/__format/parser_std_format_spec.h include/c++/v1/__functional/binary_function.h include/c++/v1/__functional/binary_negate.h include/c++/v1/__functional/bind.h +include/c++/v1/__functional/bind_back.h include/c++/v1/__functional/bind_front.h include/c++/v1/__functional/binder1st.h include/c++/v1/__functional/binder2nd.h +include/c++/v1/__functional/compose.h include/c++/v1/__functional/default_searcher.h include/c++/v1/__functional/function.h include/c++/v1/__functional/hash.h @@ -145,6 +232,7 @@ include/c++/v1/__iterator/empty.h include/c++/v1/__iterator/erase_if_container.h include/c++/v1/__iterator/front_insert_iterator.h include/c++/v1/__iterator/incrementable_traits.h +include/c++/v1/__iterator/indirectly_comparable.h include/c++/v1/__iterator/insert_iterator.h include/c++/v1/__iterator/istream_iterator.h include/c++/v1/__iterator/istreambuf_iterator.h @@ -162,9 +250,11 @@ include/c++/v1/__iterator/readable_traits.h include/c++/v1/__iterator/reverse_access.h include/c++/v1/__iterator/reverse_iterator.h include/c++/v1/__iterator/size.h +include/c++/v1/__iterator/unreachable_sentinel.h include/c++/v1/__iterator/wrap_iter.h include/c++/v1/__libcpp_version include/c++/v1/__locale +include/c++/v1/__mbstate_t.h include/c++/v1/__memory/addressof.h include/c++/v1/__memory/allocation_guard.h include/c++/v1/__memory/allocator.h @@ -172,24 +262,76 @@ include/c++/v1/__memory/allocator_arg_t.h include/c++/v1/__memory/allocator_traits.h include/c++/v1/__memory/auto_ptr.h include/c++/v1/__memory/compressed_pair.h +include/c++/v1/__memory/concepts.h include/c++/v1/__memory/construct_at.h -include/c++/v1/__memory/pointer_safety.h include/c++/v1/__memory/pointer_traits.h +include/c++/v1/__memory/ranges_construct_at.h +include/c++/v1/__memory/ranges_uninitialized_algorithms.h include/c++/v1/__memory/raw_storage_iterator.h include/c++/v1/__memory/shared_ptr.h include/c++/v1/__memory/temporary_buffer.h include/c++/v1/__memory/uninitialized_algorithms.h include/c++/v1/__memory/unique_ptr.h include/c++/v1/__memory/uses_allocator.h +include/c++/v1/__memory/voidify.h include/c++/v1/__mutex_base include/c++/v1/__node_handle include/c++/v1/__nullptr +include/c++/v1/__numeric/accumulate.h +include/c++/v1/__numeric/adjacent_difference.h +include/c++/v1/__numeric/exclusive_scan.h +include/c++/v1/__numeric/gcd_lcm.h +include/c++/v1/__numeric/inclusive_scan.h +include/c++/v1/__numeric/inner_product.h +include/c++/v1/__numeric/iota.h +include/c++/v1/__numeric/midpoint.h +include/c++/v1/__numeric/partial_sum.h +include/c++/v1/__numeric/reduce.h +include/c++/v1/__numeric/transform_exclusive_scan.h +include/c++/v1/__numeric/transform_inclusive_scan.h +include/c++/v1/__numeric/transform_reduce.h +include/c++/v1/__random/bernoulli_distribution.h +include/c++/v1/__random/binomial_distribution.h +include/c++/v1/__random/cauchy_distribution.h +include/c++/v1/__random/chi_squared_distribution.h +include/c++/v1/__random/clamp_to_integral.h +include/c++/v1/__random/default_random_engine.h +include/c++/v1/__random/discard_block_engine.h +include/c++/v1/__random/discrete_distribution.h +include/c++/v1/__random/exponential_distribution.h +include/c++/v1/__random/extreme_value_distribution.h +include/c++/v1/__random/fisher_f_distribution.h +include/c++/v1/__random/gamma_distribution.h +include/c++/v1/__random/generate_canonical.h +include/c++/v1/__random/geometric_distribution.h +include/c++/v1/__random/independent_bits_engine.h +include/c++/v1/__random/is_seed_sequence.h +include/c++/v1/__random/knuth_b.h +include/c++/v1/__random/linear_congruential_engine.h +include/c++/v1/__random/log2.h +include/c++/v1/__random/lognormal_distribution.h +include/c++/v1/__random/mersenne_twister_engine.h +include/c++/v1/__random/negative_binomial_distribution.h +include/c++/v1/__random/normal_distribution.h +include/c++/v1/__random/piecewise_constant_distribution.h +include/c++/v1/__random/piecewise_linear_distribution.h +include/c++/v1/__random/poisson_distribution.h +include/c++/v1/__random/random_device.h +include/c++/v1/__random/ranlux.h +include/c++/v1/__random/seed_seq.h +include/c++/v1/__random/shuffle_order_engine.h +include/c++/v1/__random/student_t_distribution.h +include/c++/v1/__random/subtract_with_carry_engine.h include/c++/v1/__random/uniform_int_distribution.h +include/c++/v1/__random/uniform_random_bit_generator.h +include/c++/v1/__random/uniform_real_distribution.h +include/c++/v1/__random/weibull_distribution.h include/c++/v1/__ranges/access.h include/c++/v1/__ranges/all.h include/c++/v1/__ranges/common_view.h include/c++/v1/__ranges/concepts.h include/c++/v1/__ranges/copyable_box.h +include/c++/v1/__ranges/counted.h include/c++/v1/__ranges/dangling.h include/c++/v1/__ranges/data.h include/c++/v1/__ranges/drop_view.h @@ -197,12 +339,20 @@ include/c++/v1/__ranges/empty.h include/c++/v1/__ranges/empty_view.h include/c++/v1/__ranges/enable_borrowed_range.h include/c++/v1/__ranges/enable_view.h +include/c++/v1/__ranges/iota_view.h +include/c++/v1/__ranges/join_view.h include/c++/v1/__ranges/non_propagating_cache.h +include/c++/v1/__ranges/owning_view.h +include/c++/v1/__ranges/range_adaptor.h include/c++/v1/__ranges/ref_view.h +include/c++/v1/__ranges/reverse_view.h +include/c++/v1/__ranges/single_view.h include/c++/v1/__ranges/size.h include/c++/v1/__ranges/subrange.h +include/c++/v1/__ranges/take_view.h include/c++/v1/__ranges/transform_view.h include/c++/v1/__ranges/view_interface.h +include/c++/v1/__ranges/views.h include/c++/v1/__split_buffer include/c++/v1/__std_stream include/c++/v1/__string @@ -210,14 +360,12 @@ include/c++/v1/__support/android/locale_bionic.h include/c++/v1/__support/fuchsia/xlocale.h include/c++/v1/__support/ibm/gettod_zos.h include/c++/v1/__support/ibm/limits.h -include/c++/v1/__support/ibm/locale_mgmt_aix.h include/c++/v1/__support/ibm/locale_mgmt_zos.h include/c++/v1/__support/ibm/nanosleep.h include/c++/v1/__support/ibm/support.h include/c++/v1/__support/ibm/xlocale.h include/c++/v1/__support/musl/xlocale.h include/c++/v1/__support/newlib/xlocale.h -include/c++/v1/__support/nuttx/xlocale.h include/c++/v1/__support/openbsd/xlocale.h include/c++/v1/__support/solaris/floatingpoint.h include/c++/v1/__support/solaris/wchar.h @@ -227,12 +375,14 @@ include/c++/v1/__support/win32/locale_win32.h include/c++/v1/__support/xlocale/__nop_locale_mgmt.h include/c++/v1/__support/xlocale/__posix_l_fallback.h include/c++/v1/__support/xlocale/__strtonum_fallback.h +include/c++/v1/__thread/poll_with_backoff.h +include/c++/v1/__thread/timed_backoff_policy.h include/c++/v1/__threading_support include/c++/v1/__tree include/c++/v1/__tuple include/c++/v1/__undef_macros -include/c++/v1/__utility/__decay_copy.h include/c++/v1/__utility/as_const.h +include/c++/v1/__utility/auto_cast.h include/c++/v1/__utility/cmp.h include/c++/v1/__utility/declval.h include/c++/v1/__utility/exchange.h @@ -242,9 +392,11 @@ include/c++/v1/__utility/integer_sequence.h include/c++/v1/__utility/move.h include/c++/v1/__utility/pair.h include/c++/v1/__utility/piecewise_construct.h +include/c++/v1/__utility/priority_tag.h include/c++/v1/__utility/rel_ops.h include/c++/v1/__utility/swap.h include/c++/v1/__utility/to_underlying.h +include/c++/v1/__utility/transaction.h include/c++/v1/__variant/monostate.h include/c++/v1/algorithm include/c++/v1/any @@ -272,6 +424,7 @@ include/c++/v1/complex include/c++/v1/complex.h include/c++/v1/concepts include/c++/v1/condition_variable +include/c++/v1/coroutine include/c++/v1/csetjmp include/c++/v1/csignal include/c++/v1/cstdarg