forked from NetBSD/pkgsrc
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement multi-architecture support.
This commit adds a number of new features to pkgsrc to enable multi-architecture packages: - pkgtools/abiexec is a new package which integrates the isaexec wrapper from Solaris. Multi-architecture binaries are hardlinks to this file, which then determines the architecture-dependent binary to run, with 32-bit being the default. - pkg_install grows "@link" support to allow abiexec hardlinks to be created at pkg_add time. - mk grows a MULTIARCH variable, set by --multiarch in bootstrap, which determines whether or not to build multiarch packages. - Each phase target will run twice (once for each architecture) when MULTIARCH is enabled, and the final package will combine the output of each build. As for package support: - Packages opt-in to multi-architecture support by setting USE_MULTIARCH=yes, but this is only activated based on MULTIARCH. - BINARCHSUFFIX and LIBARCHSUFFIX will expand to directory suffixes for the current ABI, and will normally be used where there are hardcoded 'bin' or 'lib' paths. - When MULTIARCH is enabled, pkgsrc will build each package twice (once for each architecture), and then combine the two into a single package. This is currently only supported on SunOS, but it is generic enough that support can easily be added for other platforms.
- Loading branch information
Jonathan Perkin
committed
Jan 2, 2019
1 parent
d52a914
commit 247561d
Showing
40 changed files
with
697 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.