[all-commits] [llvm/llvm-project] 6bb781: [gn build] Add build files for //bolt

Nico Weber via All-commits all-commits at lists.llvm.org
Mon Nov 21 16:46:36 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6bb781fa9ad34ac60501297f9031a2960d93c97c
      https://github.com/llvm/llvm-project/commit/6bb781fa9ad34ac60501297f9031a2960d93c97c
  Author: Nico Weber <thakis at chromium.org>
  Date:   2022-11-21 (Mon, 21 Nov 2022)

  Changed paths:
    M llvm/utils/gn/build/BUILD.gn
    M llvm/utils/gn/build/sync_source_lists_from_cmake.py
    M llvm/utils/gn/secondary/BUILD.gn
    A llvm/utils/gn/secondary/bolt/include/bolt/RuntimeLibs/BUILD.gn
    A llvm/utils/gn/secondary/bolt/lib/Core/BUILD.gn
    A llvm/utils/gn/secondary/bolt/lib/Passes/BUILD.gn
    A llvm/utils/gn/secondary/bolt/lib/Profile/BUILD.gn
    A llvm/utils/gn/secondary/bolt/lib/Rewrite/BUILD.gn
    A llvm/utils/gn/secondary/bolt/lib/RuntimeLibs/BUILD.gn
    A llvm/utils/gn/secondary/bolt/lib/Target/AArch64/BUILD.gn
    A llvm/utils/gn/secondary/bolt/lib/Target/X86/BUILD.gn
    A llvm/utils/gn/secondary/bolt/lib/Utils/BUILD.gn
    A llvm/utils/gn/secondary/bolt/test/BUILD.gn
    A llvm/utils/gn/secondary/bolt/test/bolt_lit_site_cfg_files.gni
    A llvm/utils/gn/secondary/bolt/tools/bat-dump/BUILD.gn
    A llvm/utils/gn/secondary/bolt/tools/driver/BUILD.gn
    A llvm/utils/gn/secondary/bolt/tools/heatmap/BUILD.gn
    A llvm/utils/gn/secondary/bolt/tools/merge-fdata/BUILD.gn
    A llvm/utils/gn/secondary/bolt/unittests/BUILD.gn
    A llvm/utils/gn/secondary/bolt/unittests/Core/BUILD.gn
    A llvm/utils/gn/secondary/bolt/unittests/Profile/BUILD.gn
    M llvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn

  Log Message:
  -----------
  [gn build] Add build files for //bolt

Adds build files for libraries, tools, and tests -- everything except
the runtime.

Doesn't hook up bolt in the main BUILD.gn file yet -- I want to verify
that it builds on Linux, macOS, Windows before doing that. (I've only
checked on macOS so far.)

`ninja check-bolt` passes on macOS with this.
(I locally bumped the deployment target to macOS 10.12 for that. bolt/ uses
std::mutex quite a bit, which requires 10.12.)

Differential Revision: https://reviews.llvm.org/D138355




More information about the All-commits mailing list