On 2022-11-1 13:41 , Nils Breunese wrote:
Joshua Root wrote:
According to https://guide.macports.org/#reference.variables ${os.arch} is
either “powerpc”, “i386”, or “arm”. Does this mean all Intel machines have
${os.arch} set to ‘i386', regardless of whether they’re 32 or 64 bit machines,
or
Joshua Root wrote:
> On 2022-11-1 13:31 , Nils Breunese wrote:
>> Joshua Root wrote:
>>> On 2022-11-1 11:45 , Nils Breunese wrote:
>>>
So when a port installs one pre-built binary on x86_64 and another on
arm64, regardless of OS version, setting 'platforms {darwin any}’ would be
>>>
On 2022-11-1 13:31 , Nils Breunese wrote:
Joshua Root wrote:
On 2022-11-1 11:45 , Nils Breunese wrote:
So when a port installs one pre-built binary on x86_64 and another on arm64,
regardless of OS version, setting 'platforms {darwin any}’ would be appropriate
and correct?
Sure. Unless th
Joshua Root wrote:
> On 2022-11-1 11:40 , Nils Breunese wrote:
>> Joshua Root wrote:
>>> On 2022-10-22 21:56 , Kirill A. Korinsky wrote:
I'm asking is there a way to support specified arch inside platform
block's condition. Like:
platform {aarch64} {
...
}
>>>
>>> You
Joshua Root wrote:
> On 2022-11-1 11:45 , Nils Breunese wrote:
>
>> So when a port installs one pre-built binary on x86_64 and another on arm64,
>> regardless of OS version, setting 'platforms {darwin any}’ would be
>> appropriate and correct?
>
> Sure. Unless the x86_64 binary was built targ
On 2022-11-1 11:45 , Nils Breunese wrote:
Joshua Root wrote:
On 2022-11-1 11:14 , Nils Breunese wrote:
Joshua Root wrote:
There is another way that platforms can be used:
platforms any
platforms {darwin any}
The first one indicates that the port will install identical files no matter what
On 2022-11-1 11:40 , Nils Breunese wrote:
Joshua Root wrote:
On 2022-10-22 21:56 , Kirill A. Korinsky wrote:
I'm asking is there a way to support specified arch inside platform block's
condition. Like:
platform {aarch64} {
...
}
You can certainly do things like:
platform darwin arm {
...
Joshua Root wrote:
> On 2022-11-1 11:14 , Nils Breunese wrote:
>> Joshua Root wrote:
>>> There is another way that platforms can be used:
>>>
>>> platforms any
>>> platforms {darwin any}
>>>
>>> The first one indicates that the port will install identical files no
>>> matter what platform it
On 2022-11-1 11:14 , Nils Breunese wrote:
Joshua Root wrote:
There is another way that platforms can be used:
platforms any
platforms {darwin any}
The first one indicates that the port will install identical files no matter what platform it is
built on, and will set the platform in the arch
Joshua Root wrote:
> On 2022-10-22 21:56 , Kirill A. Korinsky wrote:
>> I'm asking is there a way to support specified arch inside platform block's
>> condition. Like:
>> platform {aarch64} {
>> ...
>> }
>
> You can certainly do things like:
>
> platform darwin arm {
> ...
> }
I wasn’t aware
Joshua Root wrote:
> There is another way that platforms can be used:
>
> platforms any
> platforms {darwin any}
>
> The first one indicates that the port will install identical files no matter
> what platform it is built on, and will set the platform in the archive
> filename to "any_any". T
I haven’t tried to build MacPorts 2.8.0 under FreeBSD (the source tarball gives
a 404), but I last tried 2.7.2 built and it installed cleanly, but was unusable
as portindex failed. I could debug to the point where it failed, but never
could figure out what was going on.
Marius
--
Marius Schamsc
clear, thanks
--
wbr, Kirill
> On 22. Oct 2022, at 13:03, Joshua Root wrote:
>
> On 2022-10-22 21:56 , Kirill A. Korinsky wrote:
>> I'm asking is there a way to support specified arch inside platform block's
>> condition. Like:
>> platform {aarch64} {
>> ...
>> }
>
> You can certainly do thi
On 2022-10-22 21:56 , Kirill A. Korinsky wrote:
I'm asking is there a way to support specified arch inside platform
block's condition. Like:
platform {aarch64} {
...
}
You can certainly do things like:
platform darwin arm {
...
}
or:
if {$build_arch eq "arm64"} {
...
}
There is no arch c
I'm asking is there a way to support specified arch inside platform block's
condition. Like:
platform {aarch64} {
...
}
--
wbr, Kirill
> On 22. Oct 2022, at 12:55, Joshua Root wrote:
>
> On 2022-10-22 20:34 , Kirill A. Korinsky wrote:
>> Does it support somehow arch?
>
> I'm not sure what y
On 2022-10-22 20:34 , Kirill A. Korinsky wrote:
Does it support somehow arch?
I'm not sure what you're asking exactly. There was already the
supported_archs option of course, and either a specific set of archs or
"noarch" is included in the archive filename.
- Josh
Does it support somehow arch?
--
wbr, Kirill
> On 22. Oct 2022, at 10:50, Joshua Root wrote:
>
> MacPorts 2.8.0 lets you specify which OS versions your ports work on via the
> platforms option. This indicates a port that works on darwin versions from
> 10.x to 19.x inclusive:
>
> platforms {
MacPorts 2.8.0 lets you specify which OS versions your ports work on via
the platforms option. This indicates a port that works on darwin
versions from 10.x to 19.x inclusive:
platforms {darwin >= 10 < 20}
Most ports will probably only need one comparison, but you can have as
many as you need
18 matches
Mail list logo