Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Matthew Pickering's avatar
    fe23629b
    hadrian: Add reloc-binary-dist-* targets · fe23629b
    Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
    This adds a command line option to build a "relocatable" bindist.
    
    The bindist is created by first creating a normal bindist and then
    installing it using the `RelocatableBuild=YES` option. This creates a
    bindist without any wrapper scripts pointing to the libdir.
    
    The motivation for this feature is that we want to ship relocatable
    bindists on windows and this method is more uniform than the ad-hoc
    method which lead to bugs such as #23608 and #23476
    
    The relocatable bindist can be built with the "reloc-binary-dist" target
    and supports the same suffixes as the normal "binary-dist" command to
    specify the compression style.
    fe23629b
    History
    hadrian: Add reloc-binary-dist-* targets
    Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
    This adds a command line option to build a "relocatable" bindist.
    
    The bindist is created by first creating a normal bindist and then
    installing it using the `RelocatableBuild=YES` option. This creates a
    bindist without any wrapper scripts pointing to the libdir.
    
    The motivation for this feature is that we want to ship relocatable
    bindists on windows and this method is more uniform than the ad-hoc
    method which lead to bugs such as #23608 and #23476
    
    The relocatable bindist can be built with the "reloc-binary-dist" target
    and supports the same suffixes as the normal "binary-dist" command to
    specify the compression style.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.