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

detect incompatible CI LLVM options more precisely #129788

Merged
merged 6 commits into from
Sep 9, 2024

Commits on Sep 8, 2024

  1. detect incompatible CI LLVM options more precisely

    Previously, the logic here was simply checking whether the option was set in `config.toml`.
    This approach was not manageable in our CI runners as we set so many options in config.toml.
    In reality, those values are not incompatible since they are usually the same value used to generate
    the CI llvm. Now, the new logic compares the configuration values with the values used to generate
    the CI llvm, so we get more precise results and make the process more manageable.
    
    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    9df7680 View commit details
    Browse the repository at this point in the history
  2. remove check_ci_llvm usage

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    23df3a9 View commit details
    Browse the repository at this point in the history
  3. print incompatible options even if we don't download

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    ea34bb0 View commit details
    Browse the repository at this point in the history
  4. fix llvm ThinLTO behaviour

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    018ed9a View commit details
    Browse the repository at this point in the history
  5. use Config::get_builder_toml for ci-rustc config parsing

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    13e16a9 View commit details
    Browse the repository at this point in the history
  6. handle dry-run mode in Config::get_builder_toml

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    7b8cbe4 View commit details
    Browse the repository at this point in the history