[llvm-bugs] [Bug 52242] New: set default values for -march and -mtune

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 20 12:32:57 PDT 2021


            Bug ID: 52242
           Summary: set default values for -march and -mtune
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: chinoune.mehdi at hotmail.com
                CC: llvm-bugs at lists.llvm.org

gcc has configuration options that set default values [1] for -march and

It would be useful to add an equivalent one to Clang.
I need this to setup a developement environnement where clang default to


These configure options provide default values for the -mschedule=, -march=,
-mtune=, -mabi=, and -mfpu= options and for -mhard-float or -msoft-float. As
with --with-cpu, which switches will be accepted and acceptable values of the
arguments depend on the target.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20211020/1842e5c2/attachment.html>

More information about the llvm-bugs mailing list