Revision 66e54c59847e316bb78dce786d2206d500bf8a90 authored by pkubaj on 08 December 2020, 23:30:44 UTC, committed by Facebook GitHub Bot on 08 December 2020, 23:31:56 UTC
Summary: To build on FreeBSD, arch_ppc_probe needs to be adapted to FreeBSD. Since FreeBSD uses elf_aux_info as an getauxval equivalent, use it and include necessary headers: - machine/cpu.h for PPC_FEATURE2_HAS_VEC_CRYPTO, - sys/auxv.h for elf_aux_info, - sys/elf_common.h for AT_HWCAP2. elf_aux_info isn't checked for being available, because it's available since FreeBSD 12.0. rocksdb assumes using Clang on FreeBSD, but powerpc* platforms switch to Clang only since 13.0. This patch makes rocksdb build on FreeBSD on powerpc64 and powerpc64le platforms. Pull Request resolved: https://github.com/facebook/rocksdb/pull/7732 Reviewed By: ltamasi Differential Revision: D25399194 Pulled By: pdillinger fbshipit-source-id: 9c905147d75f98cd2557dd2f86a940b8e6c5afcd
1 parent 93c6c18
File | Mode | Size |
---|---|---|
file_read_sample.h | -rw-r--r-- | 843 bytes |
histogram.cc | -rw-r--r-- | 9.2 KB |
histogram.h | -rw-r--r-- | 4.4 KB |
histogram_test.cc | -rw-r--r-- | 7.1 KB |
histogram_windowing.cc | -rw-r--r-- | 6.3 KB |
histogram_windowing.h | -rw-r--r-- | 2.8 KB |
in_memory_stats_history.cc | -rw-r--r-- | 1.9 KB |
in_memory_stats_history.h | -rw-r--r-- | 2.9 KB |
instrumented_mutex.cc | -rw-r--r-- | 2.0 KB |
instrumented_mutex.h | -rw-r--r-- | 2.3 KB |
iostats_context.cc | -rw-r--r-- | 1.7 KB |
iostats_context_imp.h | -rw-r--r-- | 2.1 KB |
iostats_context_test.cc | -rw-r--r-- | 1004 bytes |
perf_context.cc | -rw-r--r-- | 24.0 KB |
perf_context_imp.h | -rw-r--r-- | 4.1 KB |
perf_level.cc | -rw-r--r-- | 703 bytes |
perf_level_imp.h | -rw-r--r-- | 516 bytes |
perf_step_timer.h | -rw-r--r-- | 1.9 KB |
persistent_stats_history.cc | -rw-r--r-- | 6.1 KB |
persistent_stats_history.h | -rw-r--r-- | 2.9 KB |
statistics.cc | -rw-r--r-- | 19.6 KB |
statistics.h | -rw-r--r-- | 4.9 KB |
statistics_test.cc | -rw-r--r-- | 1.5 KB |
stats_history_test.cc | -rw-r--r-- | 22.8 KB |
thread_status_impl.cc | -rw-r--r-- | 4.8 KB |
thread_status_updater.cc | -rw-r--r-- | 11.0 KB |
thread_status_updater.h | -rw-r--r-- | 8.5 KB |
thread_status_updater_debug.cc | -rw-r--r-- | 1.3 KB |
thread_status_util.cc | -rw-r--r-- | 7.1 KB |
thread_status_util.h | -rw-r--r-- | 5.1 KB |
thread_status_util_debug.cc | -rw-r--r-- | 986 bytes |
Computing file changes ...