commit 5c3d5d99ce20b91e1bc80ff9bb6177b179be96d0 Author: Danny Rawlins <contact@romster.me> Date: Mon Sep 19 08:42:01 2022 +1000 wasi-libc++: 13.0.1 -> 14.0.6 diff --git a/wasi-libc++/.footprint b/wasi-libc++/.footprint index 1b2192402..7b1726b3e 100644 --- a/wasi-libc++/.footprint +++ b/wasi-libc++/.footprint @@ -32,6 +32,9 @@ drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__algorithm/ -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__algorithm/generate.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__algorithm/generate_n.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__algorithm/half_positive.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__algorithm/in_in_out_result.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__algorithm/in_in_result.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__algorithm/in_out_result.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__algorithm/includes.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__algorithm/inplace_merge.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__algorithm/is_heap.h @@ -99,26 +102,117 @@ drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__algorithm/ -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__algorithm/unwrap_iter.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__algorithm/upper_bound.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__availability +drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__bit/ +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__bit/bit_cast.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__bit/byteswap.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__bit_reference -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__bits -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__bsd_locale_defaults.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__bsd_locale_fallbacks.h +drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__charconv/ +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__charconv/chars_format.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__charconv/from_chars_result.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__charconv/to_chars_result.h +drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__chrono/ +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__chrono/calendar.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__chrono/convert_to_timespec.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__chrono/duration.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__chrono/file_clock.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__chrono/high_resolution_clock.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__chrono/steady_clock.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__chrono/system_clock.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__chrono/time_point.h +drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__compare/ +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__compare/common_comparison_category.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__compare/compare_partial_order_fallback.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__compare/compare_strong_order_fallback.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__compare/compare_three_way.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__compare/compare_three_way_result.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__compare/compare_weak_order_fallback.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__compare/is_eq.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__compare/ordering.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__compare/partial_order.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__compare/strong_order.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__compare/synth_three_way.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__compare/three_way_comparable.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__compare/weak_order.h +drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/ +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/arithmetic.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/assignable.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/boolean_testable.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/class_or_enum.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/common_reference_with.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/common_with.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/constructible.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/convertible_to.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/copyable.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/derived_from.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/destructible.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/different_from.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/equality_comparable.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/invocable.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/movable.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/predicate.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/regular.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/relation.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/same_as.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/semiregular.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/swappable.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__concepts/totally_ordered.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__config -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__config_site +drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__coroutine/ +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__coroutine/coroutine_handle.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__coroutine/coroutine_traits.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__coroutine/noop_coroutine_handle.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__coroutine/trivial_awaitables.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__cxxabi_config.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__debug -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__errc +drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__filesystem/ +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__filesystem/copy_options.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__filesystem/directory_entry.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__filesystem/directory_iterator.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__filesystem/directory_options.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__filesystem/file_status.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__filesystem/file_time_type.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__filesystem/file_type.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__filesystem/filesystem_error.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__filesystem/operations.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__filesystem/path.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__filesystem/path_iterator.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__filesystem/perm_options.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__filesystem/perms.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__filesystem/recursive_directory_iterator.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__filesystem/space_info.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__filesystem/u8path.h drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__format/ +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__format/format_arg.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__format/format_args.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__format/format_context.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__format/format_error.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__format/format_fwd.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__format/format_parse_context.h --rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__function_like.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__format/format_string.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__format/format_to_n_result.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__format/formatter.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__format/formatter_bool.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__format/formatter_char.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__format/formatter_floating_point.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__format/formatter_integer.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__format/formatter_integral.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__format/formatter_pointer.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__format/formatter_string.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__format/parser_std_format_spec.h drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__functional/ -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__functional/binary_function.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__functional/binary_negate.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__functional/bind.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__functional/bind_back.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__functional/bind_front.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__functional/binder1st.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__functional/binder2nd.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__functional/compose.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__functional/default_searcher.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__functional/function.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__functional/hash.h @@ -154,6 +248,7 @@ drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__iterator/ -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__iterator/erase_if_container.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__iterator/front_insert_iterator.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__iterator/incrementable_traits.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__iterator/indirectly_comparable.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__iterator/insert_iterator.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__iterator/istream_iterator.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__iterator/istreambuf_iterator.h @@ -171,9 +266,11 @@ drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__iterator/ -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__iterator/reverse_access.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__iterator/reverse_iterator.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__iterator/size.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__iterator/unreachable_sentinel.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__iterator/wrap_iter.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__libcpp_version -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__locale +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__mbstate_t.h drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__memory/ -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__memory/addressof.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__memory/allocation_guard.h @@ -182,26 +279,79 @@ drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__memory/ -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__memory/allocator_traits.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__memory/auto_ptr.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__memory/compressed_pair.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__memory/concepts.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__memory/construct_at.h --rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__memory/pointer_safety.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__memory/pointer_traits.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__memory/ranges_construct_at.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__memory/ranges_uninitialized_algorithms.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__memory/raw_storage_iterator.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__memory/shared_ptr.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__memory/temporary_buffer.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__memory/uninitialized_algorithms.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__memory/unique_ptr.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__memory/uses_allocator.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__memory/voidify.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__mutex_base -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__node_handle -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__nullptr +drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__numeric/ +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__numeric/accumulate.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__numeric/adjacent_difference.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__numeric/exclusive_scan.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__numeric/gcd_lcm.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__numeric/inclusive_scan.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__numeric/inner_product.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__numeric/iota.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__numeric/midpoint.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__numeric/partial_sum.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__numeric/reduce.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__numeric/transform_exclusive_scan.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__numeric/transform_inclusive_scan.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__numeric/transform_reduce.h drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__random/ +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/bernoulli_distribution.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/binomial_distribution.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/cauchy_distribution.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/chi_squared_distribution.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/clamp_to_integral.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/default_random_engine.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/discard_block_engine.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/discrete_distribution.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/exponential_distribution.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/extreme_value_distribution.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/fisher_f_distribution.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/gamma_distribution.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/generate_canonical.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/geometric_distribution.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/independent_bits_engine.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/is_seed_sequence.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/knuth_b.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/linear_congruential_engine.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/log2.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/lognormal_distribution.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/mersenne_twister_engine.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/negative_binomial_distribution.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/normal_distribution.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/piecewise_constant_distribution.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/piecewise_linear_distribution.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/poisson_distribution.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/random_device.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/ranlux.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/seed_seq.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/shuffle_order_engine.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/student_t_distribution.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/subtract_with_carry_engine.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/uniform_int_distribution.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/uniform_random_bit_generator.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/uniform_real_distribution.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__random/weibull_distribution.h drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/ -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/access.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/all.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/common_view.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/concepts.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/copyable_box.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/counted.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/dangling.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/data.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/drop_view.h @@ -209,12 +359,20 @@ drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/ -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/empty_view.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/enable_borrowed_range.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/enable_view.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/iota_view.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/join_view.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/non_propagating_cache.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/owning_view.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/range_adaptor.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/ref_view.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/reverse_view.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/single_view.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/size.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/subrange.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/take_view.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/transform_view.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/view_interface.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__ranges/views.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__split_buffer -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__std_stream -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__string @@ -226,7 +384,6 @@ drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__support/fuchsia/ drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__support/ibm/ -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__support/ibm/gettod_zos.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__support/ibm/limits.h --rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__support/ibm/locale_mgmt_aix.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__support/ibm/locale_mgmt_zos.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__support/ibm/nanosleep.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__support/ibm/support.h @@ -235,8 +392,6 @@ drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__support/musl/ -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__support/musl/xlocale.h drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__support/newlib/ -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__support/newlib/xlocale.h -drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__support/nuttx/ --rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__support/nuttx/xlocale.h drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__support/openbsd/ -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__support/openbsd/xlocale.h drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__support/solaris/ @@ -250,13 +405,16 @@ drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__support/xlocale/ -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__support/xlocale/__nop_locale_mgmt.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__support/xlocale/__posix_l_fallback.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__support/xlocale/__strtonum_fallback.h +drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__thread/ +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__thread/poll_with_backoff.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__thread/timed_backoff_policy.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__threading_support -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__tree -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__tuple -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__undef_macros drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__utility/ --rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__utility/__decay_copy.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__utility/as_const.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__utility/auto_cast.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__utility/cmp.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__utility/declval.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__utility/exchange.h @@ -266,9 +424,11 @@ drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__utility/ -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__utility/move.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__utility/pair.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__utility/piecewise_construct.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__utility/priority_tag.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__utility/rel_ops.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__utility/swap.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__utility/to_underlying.h +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__utility/transaction.h drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__variant/ -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/__variant/monostate.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/algorithm @@ -297,6 +457,7 @@ drwxr-xr-x root/root usr/share/wasi-sysroot/include/c++/v1/__variant/ -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/complex.h -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/concepts -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/condition_variable +-rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/coroutine -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/csetjmp -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/csignal -rw-r--r-- root/root usr/share/wasi-sysroot/include/c++/v1/cstdarg diff --git a/wasi-libc++/.signature b/wasi-libc++/.signature index 75d3938f1..a2a04099f 100644 --- a/wasi-libc++/.signature +++ b/wasi-libc++/.signature @@ -1,9 +1,6 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF36dCOsCKpnPE4Pkg8WGCnGEiNNlDaICbfIsFHlK4nsK7HI+hFPlx8UfiKDymPOI8REPBia/n0GfE7okfozih1wY= -SHA256 (Pkgfile) = 3a6d7faf9ee378a493693ce1a9286b4276e5fa4da323e351fe6a74e4d06c49ee -SHA256 (.footprint) = b55ae7145f987ce4d5c395c3669b92c4d87215a5aec27c8cdcc96416efaa22a5 -SHA256 (llvm-13.0.1.src.tar.xz) = ec6b80d82c384acad2dc192903a6cf2cdbaffb889b84bfb98da9d71e630fc834 -SHA256 (libcxx-13.0.1.src.tar.xz) = 2f446acc00bb7cfb4e866c2fa46d1b6dbf4e7d2ab62e3c3d84e56f7b9e28110f -SHA256 (libcxxabi-13.0.1.src.tar.xz) = db5fa6093c786051e8b1c85527240924eceb6c95eeff0a2bbc57be8422b3cef1 -SHA256 (WASI.cmake) = e9e87d4781d6a999ee73a1e2c19754de01415124d0cd9746898f5ee7726dc1e1 -SHA256 (wasi-toolchain.cmake) = 52957ee81622bc22adcf0968cbb124a0595fa38e70549a355d42c6e487818edd +RWSagIOpLGJF33J6jsBeFGPUZg44KC3GHMf/ZRggsiE0OfgHNTXmKlZWrg0fGMXOC2zt+qnbxmbh90nx/iTc/zobQbaTYSfgvQA= +SHA256 (Pkgfile) = 3b2873d8fdc9c349267510e2ce08c99b8335e137eca8cbf788c413c6c65e621a +SHA256 (.footprint) = 0ac5b3b40093f86b63989438c7f7471930b1ee4232a10ea4c4486923fe32b4c8 +SHA256 (llvm-project-14.0.6.src.tar.xz) = 8b3cfd7bc695bd6cea0f37f53f0981f34f87496e79e2529874fd03a2f9dd3a8a +SHA256 (wasi-sdk-16.tar.gz) = 6866ff1c60a498e24d0ab6bf26576621ff8ce22eecb0008cdd5b336801fb5c72 diff --git a/wasi-libc++/Pkgfile b/wasi-libc++/Pkgfile index 7fd6664d5..1596b7750 100644 --- a/wasi-libc++/Pkgfile +++ b/wasi-libc++/Pkgfile @@ -4,85 +4,59 @@ # Depends on: clang wasi-libc wasi-compiler-rt name=wasi-libc++ -version=13.0.1 +version=14.0.6 +_wasi_sdk_ver=16 release=1 -source=(https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/llvm... - https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/libc... - https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/libc... - WASI.cmake - wasi-toolchain.cmake) +source=(https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/llvm... + https://github.com/WebAssembly/wasi-sdk/archive/refs/tags/wasi-sdk-$_wasi_sd...) build() { - # Platform files have been copied from https://github.com/WebAssembly/wasi-sdk - mkdir -p cmake/Platform - cp WASI.cmake cmake/Platform - mv libcxx-${version}.src libcxx - mv libcxxabi-${version}.src libcxxabi - mv llvm-${version}.src llvm + cd llvm-project-$version.src - # Build options are derived from https://github.com/WebAssembly/wasi-sdk/blob/main/Makefile - # Currently, wasi-sdk requires C++ code be compiled with -fno-exceptions. - # libc++abi is currently compiled with exception-handling support disabled. - # https://github.com/WebAssembly/wasi-sdk/issues/52#issuecomment-530619365 - cmake -S libcxx -B build-libcxx -G Ninja \ - -D CMAKE_BUILD_TYPE=Release \ - -D CMAKE_C_COMPILER_WORKS=ON \ - -D CMAKE_CXX_COMPILER_WORKS=ON \ - -D CMAKE_MODULE_PATH="$SRC/cmake" \ - -D CMAKE_TOOLCHAIN_FILE="$SRC/wasi-toolchain.cmake" \ - -D CMAKE_STAGING_PREFIX=/usr/share/wasi-sysroot \ - -D LIBCXX_ENABLE_EXCEPTIONS:BOOL=OFF \ - -D LIBCXX_ENABLE_SHARED:BOOL=OFF \ - -D LIBCXX_ENABLE_THREADS:BOOL=OFF \ - -D LIBCXX_HAS_PTHREAD_API:BOOL=OFF \ - -D LIBCXX_HAS_EXTERNAL_THREAD_API:BOOL=OFF \ - -D LIBCXX_BUILD_EXTERNAL_THREAD_LIBRARY:BOOL=OFF \ - -D LIBCXX_HAS_WIN32_THREAD_API:BOOL=OFF \ - -D LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY:BOOL=OFF \ - -D LIBCXX_ENABLE_FILESYSTEM:BOOL=OFF \ - -D LIBCXX_CXX_ABI=libcxxabi \ - -D LIBCXX_CXX_ABI_INCLUDE_PATHS=libcxxabi/include \ - -D LIBCXX_HAS_MUSL_LIBC:BOOL=ON \ - -D LIBCXX_ABI_VERSION=2 \ - -D WASI_SDK_PREFIX=/usr \ - -D CMAKE_C_FLAGS_RELEASE="-fno-exceptions --sysroot=/usr/share/wasi-sysroot" \ - -D CMAKE_CXX_FLAGS_RELEASE="-fno-exceptions --sysroot=/usr/share/wasi-sysroot" \ - -D LIBCXX_LIBDIR_SUFFIX=/wasm32-wasi - - cmake --build build-libcxx + mkdir -p build cmake/Platform + cp "$SRC"/wasi-sdk-wasi-sdk-$_wasi_sdk_ver/wasi-sdk.cmake build + cp "$SRC"/wasi-sdk-wasi-sdk-$_wasi_sdk_ver/cmake/Platform/WASI.cmake cmake/Platform/WASI.cmake - cmake -S libcxxabi -B build-libcxxabi -G Ninja \ + cmake -G Ninja -S runtimes -B build \ -D CMAKE_BUILD_TYPE=Release \ - -D CMAKE_C_COMPILER_WORKS=ON \ + -D CMAKE_C_FLAGS_RELEASE="$CFLAGS -fno-exceptions --sysroot=/usr/share/wasi-sysroot" \ + -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -fno-exceptions --sysroot=/usr/share/wasi-sysroot" \ + -D CMAKE_TOOLCHAIN_FILE=wasi-sdk.cmake \ -D CMAKE_CXX_COMPILER_WORKS=ON \ - -D CMAKE_MODULE_PATH="$SRC/cmake" \ - -D CMAKE_TOOLCHAIN_FILE="$SRC/wasi-toolchain.cmake" \ - -D CMAKE_STAGING_PREFIX=/usr/share/wasi-sysroot \ - -D LIBCXXABI_ENABLE_EXCEPTIONS:BOOL=OFF \ - -D LIBCXXABI_ENABLE_SHARED:BOOL=OFF \ - -D LIBCXXABI_ENABLE_THREADS:BOOL=OFF \ - -D LIBCXXABI_HAS_PTHREAD_API:BOOL=OFF \ - -D LIBCXXABI_HAS_EXTERNAL_THREAD_API:BOOL=OFF \ - -D LIBCXXABI_BUILD_EXTERNAL_THREAD_LIBRARY:BOOL=OFF \ - -D LIBCXXABI_HAS_WIN32_THREAD_API:BOOL=OFF \ + -D CMAKE_C_COMPILER_WORKS=ON \ + -D CMAKE_INSTALL_PREFIX=/usr/share/wasi-sysroot \ + -D LLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" \ + -D LLVM_DEFAULT_TARGET_TRIPLE=wasm32-wasi \ + -D LIBCXX_ABI_VERSION=2 \ + -D LIBCXX_BUILD_EXTERNAL_THREAD_LIBRARY=OFF \ + -D LIBCXX_ENABLE_EXCEPTIONS=OFF \ + -D LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY=OFF \ + -D LIBCXX_ENABLE_FILESYSTEM=OFF \ + -D LIBCXX_ENABLE_SHARED=OFF \ + -D LIBCXX_ENABLE_THREADS=OFF \ + -D LIBCXX_HAS_EXTERNAL_THREAD_API=OFF \ + -D LIBCXX_HAS_PTHREAD_API=OFF \ + -D LIBCXX_HAS_WIN32_THREAD_API=OFF \ + -D LIBCXX_INCLUDE_TESTS=OFF \ + -D LIBCXX_LIBDIR_SUFFIX=/wasm32-wasi \ + -D LIBCXXABI_BUILD_EXTERNAL_THREAD_LIBRARY=OFF \ + -D LIBCXXABI_ENABLE_EXCEPTIONS=OFF \ + -D LIBCXXABI_ENABLE_SHARED=OFF \ + -D LIBCXXABI_ENABLE_THREADS=OFF \ + -D LIBCXXABI_HAS_EXTERNAL_THREAD_API=OFF \ + -D LIBCXXABI_HAS_PTHREAD_API=OFF \ + -D LIBCXXABI_HAS_WIN32_THREAD_API=OFF \ + -D LIBCXXABI_INCLUDE_TESTS=OFF \ + -D LIBCXXABI_LIBDIR_SUFFIX=/wasm32-wasi \ -D LIBCXXABI_SILENT_TERMINATE:BOOL=ON \ - -D LIBCXXABI_ENABLE_PIC:BOOL=OFF \ - -D UNIX:BOOL=ON \ - -D CXX_SUPPORTS_CXX11=ON \ - -D LIBCXXABI_LIBCXX_PATH=libcxx \ - -D LIBCXXABI_LIBCXX_INCLUDES="$SRC/build-libcxx/include/c++/v1" \ - -D WASI_SDK_PREFIX=/usr \ - -D CMAKE_C_FLAGS_RELEASE="-fno-exceptions --sysroot=/usr/share/wasi-sysroot" \ - -D CMAKE_CXX_FLAGS_RELEASE="-fno-exceptions --sysroot=/usr/share/wasi-sysroot" \ - -D LIBCXXABI_LIBDIR_SUFFIX=/wasm32-wasi - - cmake --build build-libcxxabi -v + -D UNIX=ON \ + -D WASI_SDK_PREFIX=/usr - DESTDIR=$PKG cmake --install build-libcxx - DESTDIR=$PKG cmake --install build-libcxxabi + ninja -C build cxx cxxabi + DESTDIR="$PKG" ninja -C build install-cxx install-cxxabi - cd $PKG/usr/share/wasi-sysroot/lib/wasm32-wasi - for f in *.a; do + cd "$PKG"/usr/share/wasi-sysroot/lib/wasm32-wasi + for f in *.a; do /usr/bin/llvm-ranlib $f /usr/bin/llvm-strip --strip-debug $f done diff --git a/wasi-libc++/WASI.cmake b/wasi-libc++/WASI.cmake deleted file mode 100644 index b49713f1b..000000000 --- a/wasi-libc++/WASI.cmake +++ /dev/null @@ -1 +0,0 @@ -set(WASI 1) diff --git a/wasi-libc++/wasi-toolchain.cmake b/wasi-libc++/wasi-toolchain.cmake deleted file mode 100644 index 0920f7608..000000000 --- a/wasi-libc++/wasi-toolchain.cmake +++ /dev/null @@ -1,29 +0,0 @@ -# Cmake toolchain description file for the Makefile - -# This is arbitrary, AFAIK, for now. -cmake_minimum_required(VERSION 3.4.0) - -set(CMAKE_SYSTEM_NAME WASI) -set(CMAKE_SYSTEM_VERSION 1) -set(CMAKE_SYSTEM_PROCESSOR wasm32) -set(triple wasm32-wasi) - -if(WIN32) - set(WASI_HOST_EXE_SUFFIX ".exe") -else() - set(WASI_HOST_EXE_SUFFIX "") -endif() - -set(CMAKE_C_COMPILER ${WASI_SDK_PREFIX}/bin/clang${WASI_HOST_EXE_SUFFIX}) -set(CMAKE_CXX_COMPILER ${WASI_SDK_PREFIX}/bin/clang++${WASI_HOST_EXE_SUFFIX}) -set(CMAKE_AR ${WASI_SDK_PREFIX}/bin/llvm-ar${WASI_HOST_EXE_SUFFIX}) -set(CMAKE_RANLIB ${WASI_SDK_PREFIX}/bin/llvm-ranlib${WASI_HOST_EXE_SUFFIX}) -set(CMAKE_C_COMPILER_TARGET ${triple}) -set(CMAKE_CXX_COMPILER_TARGET ${triple}) - -# Don't look in the sysroot for executables to run during the build -set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) -# Only look in the sysroot (not in the host paths) for the rest -set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) -set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) -set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)