commit | 6f68655d899f60388b794d506118ac869fa6d991 | [log] [tgz] |
---|---|---|
author | global-integration-roller <global-integration-roller@fuchsia-infra.iam.gserviceaccount.com> | Thu May 11 11:08:45 2023 +0000 |
committer | GI Roller <global-integration-roller@fuchsia-infra.iam.gserviceaccount.com> | Thu May 11 11:08:45 2023 +0000 |
tree | 4d3c47e02c2b290504330a74ef8adc70675e684c | |
parent | a84a662e04ef88d1a85ae7d60d0fe123d36e08df [diff] |
[superproject] Roll llvm-project/libc [libc] Allows cross compilation of membenchmarks This patch makes sure: - we pass the correct compiler options when building Google benchmarks, - we only import the C++ version of the memory functions. The change in libc/cmake/modules/LLVMLibCTestRules.cmake is here to make sure CMake can generate the right command line in the presence of the CMAKE_CROSSCOMPILING_EMULATOR option. Relevant documentation: https://cmake.org/cmake/help/latest/variable/CMAKE_CROSSCOMPILING_EMULATOR.html https://cmake.org/cmake/help/latest/command/add_custom_command.html#command:add_custom_command " If COMMAND specifies an executable target name (created by the `add_executable()` command), it will automatically be replaced by the location of the executable created at build time if either of the following is true: - The target is not being cross-compiled (i.e. the CMAKE_CROSSCOMPILING variable is not set to true). - New in version 3.6: The target is being cross-compiled and an emulator is provided (i.e. its CROSSCOMPILING_EMULATOR target property is set). In this case, the contents of CROSSCOMPILING_EMULATOR will be prepended to the command before the location of the target executable. " Reviewed By: gchatelet Differential Revision: https://reviews.llvm.org/D150200 GitOrigin-RevId: 46b360b09b705de762a0504f590f5e69065ff1ae Original-Revision: 79d023255c0321314b849b070d24be7c616c07ca Roller-URL: https://ci.chromium.org/b/8781398030155034065 CQ-Do-Not-Cancel-Tryjobs: true Change-Id: I19b107081711186d6b85b15399e523fe28d8e4a4 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/855243
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.