Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CMake][PGO] Add option for using an external project to generate profile data #78879

Merged
merged 5 commits into from
Feb 2, 2024

Commits on Jan 21, 2024

  1. [CMake][PGO] Add libunwind to list of stage1 runtimes

    This fixes the build since 8f90e69
    which made libcxxabi use llvm's libunwind by default.
    tstellar committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    0719f49 View commit details
    Browse the repository at this point in the history
  2. [CMake][PGO] Add option for using an external project to generate pro…

    …file data.
    
    The new CLANG_PGO_TRAINING_DATA_SOURCE_DIR allows users to specify a CMake
    project to use for generating the profile data.
    
    For example, to use the llvm-test-suite to generate profile data you
    would do:
    
    $ cmake -G Ninja -B build -S llvm -C <path to source>/clang/cmake/caches/PGO.cmake \
            -DBOOTSTRAP_CLANG_PGO_TRAINING_DATA_SOURCE_DIR=<path to llvm-test-suite> \
            -DBOOTSTRAP_CLANG_PERF_TRAINING_DEPS=runtimes
    tstellar committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    5c60223 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Update clang/utils/perf-training/perf-helper.py

    Co-authored-by: Petr Hosek <[email protected]>
    tstellar and petrhosek authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    4f9fa29 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. Configuration menu
    Copy the full SHA
    552d251 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. Configuration menu
    Copy the full SHA
    80d98a7 View commit details
    Browse the repository at this point in the history