-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix benchmark tests that are failing on Ubuntu and MacOS (#5656)
* Updated libuv inclusion in cmake files for object store and benchmarks tests * Updated benchmark-crud to use test_path * Added help to common-tasks and crud benchmark tests * Added 'enable_stdfilesystem' to allow use of std::filesystem in the benchmark tests * Added change description and PR to CHANGELOG * Updated cross-compile.sh to build Android on MacOS * Updated build to (hopefully) not build the libuv.so and work on both Linux and Android * Update tools/cmake/android.toolchain.cmake per review Co-authored-by: Yavor Georgiev <[email protected]>
- Loading branch information
1 parent
d2e6c79
commit 039be30
Showing
9 changed files
with
92 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
if(CMAKE_GENERATOR STREQUAL Xcode) | ||
message(FATAL_ERROR "Building for Android cannot use the Xcode generator.") | ||
endif() | ||
|
||
# Callers can pick their own sysroot for packaging purposes, currently only needed for plain macosx builds | ||
if(NOT DEFINED CMAKE_SYSTEM_NAME) | ||
set(CMAKE_SYSTEM_NAME Android) | ||
endif() | ||
|
||
# For some reason, APPLE is set when building for Android on MacOS | ||
# This leads to the incorrect ar program being seleccted: "/usr/bin/ar" vs "llvm-ar" | ||
# Unset APPLE now so the correct ar program is selected | ||
# Remove once https://gitlab.kitware.com/cmake/cmake/-/issues/23333 is resolved | ||
if(APPLE) | ||
unset(APPLE) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters