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

[ClangLinkerWrapper] Fix intermediate file naming for multi-arch compilation #99325

Merged
merged 1 commit into from
Jul 17, 2024

Commits on Jul 17, 2024

  1. [ClangLinkerWrapper] Fix intermediate file naming for multi-arch comp…

    …ilation
    
    When save-temps is enabled and the given offload-archs differ only
    in target features with the same arch, the intermediate postlink.bc
    and postopt.bc files were getting overwritten. This fix, suffixes
    the intermediate file names with the complete TargetID.
    
    E.g. `helloworld.amdgcn-amd-amdhsa.gfx90a:xnack+.postlink.bc`
    and `helloworld.amdgcn-amd-amdhsa.gfx90a:xnack+.postopt.bc`
    saiislam committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    e83a9d3 View commit details
    Browse the repository at this point in the history