Hi,

Ryan Carsten Schmidt wrote:
The libomp portfile is programmed to enable the universal variant by default on macOS 10.13 and earlier (regardless whether on a user machine or a buildbot machine):

https://github.com/macports/macports-ports/blob/c6647b9a1a23ac4cd3ffd90b715edc25e037b22a/lang/libomp/Portfile#L135

Well, it means my system is now "up to spec" and coherent with build bots. In fact, while reinstalling, all ports where quickly installed as a binary.


This is very unusual so it undoubtedly has a good reason. If knowing the reason is important to you, you can examine the git history of the portfile.

Curious indeed, it almost looks as a very old addition. Maybe even an oversight?


https://github.com/macports/macports-ports/commit/06df52a7fda865f033c65f3923ea4c74b51be1a8

enables it for OS < 17, but I guess it was just a way of disabling it on i386-less system. In fact, enabling it came from this commit:

https://github.com/macports/macports-ports/commit/0e5dbb8c8520a9c02e9057073e9a0f78907dc254

which enabled it unconditionally. It cites https://trac.macports.org/ticket/50511

where some comments show confusion, but apparently it is needed to make the fat test suite pass. Best guess is to leave everything as is :)


Riccardo

Reply via email to