On Feb 25, 2025, at 02:48, Riccardo Mottola wrote: > > Joshua Root wrote: >> >> Universal dependencies do get installed on the buildbot sometimes. >> > > Is libomp one? > >> >> >> sudo port install --unrequested libiconv gettext-runtime ncurses xz bzip2 >> zlib expat openssl3 openssl libedit sqlite3 libffi libomp >> > > Didn't get it was so simple... but makes sense. Tried. I did it piecemeal > statrting from openssl. I also did port reclaim, so the universal ones got > cleaned out. > > I only have one nut left to crack > > > $ port installed | grep universal > libomp @19.1.7_0+universal (active) > > If I reinstall it: > sudo port install --unrequested libomp > Password: > ---> Cleaning libomp > ---> Scanning binaries for linking errors > ---> No broken files found. > ---> No broken ports found. > > it gets reinstalled the same.
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 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.