Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
1364 commits behind the upstream repository.
  • Matthew Pickering's avatar
    4ee094d4
    Fix aarch64-alpine target platform description · 4ee094d4
    Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
    We are producing bindists where the target triple is
    
    aarch64-alpine-linux
    
    when it should be
    
    aarch64-unknown-linux
    
    This is because the bootstrapped compiler originally set the target
    triple to `aarch64-alpine-linux` which is when propagated forwards by
    setting `bootstrap_target` from the bootstrap compiler target.
    
    In order to break this chain we explicitly specify build/host/target for
    aarch64-alpine.
    
    This requires a new configure flag `--enable-ignore-` which just
    switches off a validation check that the target platform of the
    bootstrap compiler is the same as the build platform. It is the same,
    but the name is just wrong.
    
    These commits can be removed when the bootstrap compiler has the correct
    target triple (I looked into patching this on ci-images, but it looked
    hard to do correctly as the build/host platform is not in the settings
    file).
    
    Fixes #25200
    4ee094d4
    History
    Fix aarch64-alpine target platform description
    Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
    We are producing bindists where the target triple is
    
    aarch64-alpine-linux
    
    when it should be
    
    aarch64-unknown-linux
    
    This is because the bootstrapped compiler originally set the target
    triple to `aarch64-alpine-linux` which is when propagated forwards by
    setting `bootstrap_target` from the bootstrap compiler target.
    
    In order to break this chain we explicitly specify build/host/target for
    aarch64-alpine.
    
    This requires a new configure flag `--enable-ignore-` which just
    switches off a validation check that the target platform of the
    bootstrap compiler is the same as the build platform. It is the same,
    but the name is just wrong.
    
    These commits can be removed when the bootstrap compiler has the correct
    target triple (I looked into patching this on ci-images, but it looked
    hard to do correctly as the build/host platform is not in the settings
    file).
    
    Fixes #25200
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
configure.ac 37.70 KiB