[MacPorts] #64535: terraform-1.1: add universal variant (was: terraform-1.1: request to add x86 variant to terraform)

MacPorts noreply at macports.org
Thu Mar 14 04:20:50 UTC 2024


#64535: terraform-1.1: add universal variant
----------------------------+--------------------------
  Reporter:  jpeeler        |      Owner:  emcrisostomo
      Type:  enhancement    |     Status:  closed
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:  wontfix        |   Keywords:
      Port:  terraform-1.1  |
----------------------------+--------------------------
Changes (by ryandesign):

 * status:  assigned => closed
 * resolution:   => wontfix


Comment:

 To choose which arch to install (globally, for all ports, before you've
 installed any ports), set `build_arch` in macports.conf. It is unusual to
 change this value and by doing so you may encounter an unusually high
 number of build problems since this is not routinely tested by
 contributors, although we would want to hear about any such problems so
 they can be fixed since `build_arch` is a supported option.

 To choose the arch for a single port, if you are sure the dependencies are
 also available for that arch and nothing depends on the port you're about
 to install, you can specify `build_arch` on the command line, as in `sudo
 port install terraform-1.1 build_arch=x86_64`. This is not recommended.
 Users are not expected to set internal portfile options on the command
 line and MacPorts base is coded under the assumption that users do not
 choose on a port-by-port basis what architecture to use.

 The supported solution is to install the port with the universal variant.
 This will install it for multiple architectures; on macOS 11 and later,
 those architectures are x86_64 and arm64. You can then pick which
 architecture you want to run by using the `arch` command, as in `arch
 -x86_64 terraform-1.1`. This port does not have a universal variant, so
 this ticket could be changed into a request to add a universal variant.

-- 
Ticket URL: <https://trac.macports.org/ticket/64535#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list