Changes between Version 198 and Version 199 of FAQ


Ignore:
Timestamp:
Oct 29, 2023, 12:25:12 PM (6 months ago)
Author:
tsabirgaliev (Tair Sabirgaliev)
Comment:

use build_arch to checksum alternative architecture binary distfiles

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v198 v199  
    269269MacPorts 1.8 introduced a new option to macports.conf: '''build_arch'''.  This allows you to control the architecture targeted by builds.  For example, you can use this to build 64bit on 10.5 (where 32bit is the default) or 32bit on 10.6 (where 64bit is usually the default).
    270270
     271Another use case is when authoring a port on an Intel based Mac one can use the following command to do a checksum for arm64:
     272{{{
     273sudo port -d checksum <portname> build_arch=arm64
     274}}}
     275
    271276Documentation on this feature can be found in the man page for ''macports.conf'', and also in the Guide.
    272277