[libc-commits] [PATCH] D101895: [libc] Simplifies multi implementations

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu May 6 08:33:55 PDT 2021


sivachandra added a comment.

Overall LGTM. I have few questions I want to get clarity on.

> I think we have the following scenarios:
>
> - we compile a release and we want to specify which target to compile for (right now this is what the compiler decide is the default).

In other words, when compiling for the host, we will let the compiler decide the best options?

> - we compile a release via cross compilation (ARM compiled on x86 or vice versa), so we want to explicitly specify which arch to target.

In other words, when cross-compiling, we will have to specify certain CMake vars explicitly?

> - we want to run benchmarks on a specific machine and want it to leverage -march/-mtune = native.

Does it mean that benchmarks are always compiled for the host?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101895/new/

https://reviews.llvm.org/D101895



More information about the libc-commits mailing list