[all-commits] [llvm/llvm-project] 0bb4b2: [clang][AIX]Fix -flto-jobs for AIX. (#67853)

Dhanrajbir-Hira via All-commits all-commits at lists.llvm.org
Tue Oct 3 06:18:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0bb4b24ca35e1e67efc8ea2152085f981207210c
      https://github.com/llvm/llvm-project/commit/0bb4b24ca35e1e67efc8ea2152085f981207210c
  Author: Dhanrajbir-Hira <146488413+Dhanrajbir-Hira at users.noreply.github.com>
  Date:   2023-10-03 (Tue, 03 Oct 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/test/Driver/lto-jobs.c

  Log Message:
  -----------
  [clang][AIX]Fix -flto-jobs for AIX. (#67853)

Currently using the `-flto-jobs=N` option passes `-bplugin_opt:jobs=N`
to the AIX linker which is not a valid option. This PR seeks to change
this behaviour to instead pass `-bplugin_opt:-threads=N` to control the
level of concurrency during LTO builds.




More information about the All-commits mailing list