<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">clear, thanks<div class=""><br class=""><div class="">
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">-- <br class="">wbr, Kirill</div>

</div>
<div style=""><br class=""><blockquote type="cite" class=""><div class="">On 22. Oct 2022, at 13:03, Joshua Root <<a href="mailto:jmr@macports.org" class="">jmr@macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On 2022-10-22 21:56 , Kirill A. Korinsky wrote:<br class=""><blockquote type="cite" class="">I'm asking is there a way to support specified arch inside platform block's condition. Like:<br class="">platform {aarch64}  {<br class="">...<br class="">}<br class=""></blockquote><br class="">You can certainly do things like:<br class=""><br class="">platform darwin arm {<br class="">...<br class="">}<br class=""><br class="">or:<br class=""><br class="">if {$build_arch eq "arm64"} {<br class="">...<br class="">}<br class=""><br class="">There is no arch comparison possible in the platforms option, because that job is already being done by the supported_archs option. If you have some really complicated compatibility requirement that can't be expressed any other way, I guess you can set platforms differently based on the arch, or supported_archs differently based on the platform.<br class=""><br class="">- Josh<br class=""></div></div></blockquote></div><br class=""></div></body></html>