support c++ tools on macos (#2063)

Running reference tests/decompiler should now be possible on macos
(arm). Most of the changes were just cleaning up places where we were
sloppy with ifdefs, but there were two interesting ones:
- `Printer.cpp` was updated to not use a recursive function for printing
lists, to avoid stack overflow
- I replaced xxhash with another version of the same library that
supports arm (the one that comes in zstd). The interface is C instead of
C++ but it's not bad to use. I confirmed that the extractor succeeds on
jak 1 iso so it looks like this gives us the same results as the old
library.
This commit is contained in:
water111
2022-12-22 17:12:05 -05:00
committed by GitHub
parent 98c2291102
commit 73561f10a3
36 changed files with 254 additions and 2050 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ OfflineTestDecompiler setup_decompiler(const OfflineTestWorkGroup& work,
}
if (db_files.size() != object_files.size()) {
lg::error("DB file error: has {} entries, but expected {", db_files.size(),
lg::error("DB file error: has {} entries, but expected {}", db_files.size(),
object_files.size());
for (const auto& coll : work.work_collections) {
for (auto& file : coll.source_files) {