What to do with Mono (and msbuild) on ARM64?

2022-07-03 Thread Mojca Miklavec
Hi, One of the projects that I'm working on requires mono as a build dependency. At the moment mono is broken on ARM64 in MacPorts (I suspect that it works under HomeBrew). I fixed it: https://github.com/macports/macports-ports/pull/14952/ but there's a comment in the port saying > please

Re: compilers PortGroup

2022-07-03 Thread David Strubbe
Hello Mark, Don't whitelist a particular one that you think works; blacklist ones that you know don't work. Additionally, I wonder if you are actually using the result of the compilers portgroup. You have to tell it to use the compiler from the variants for e.g. CC. See examples on that. If you do

Re: compilers PortGroup

2022-07-03 Thread Mark Brethen
Having looked at the examples, this one is similar to what I tried (and fails to build): compilers.choosefc cc compilers.setup require_fortran -g95 -clang :info:build make: *** [ccx_2.18.a] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_Users_marbre_ports_ca

Re: compilers PortGroup

2022-07-03 Thread David Strubbe
Hello Mark, I think you may have a basic misunderstanding here. The compilers portgroup provides variants that select compilers, rather than being a way to select the compiler in the portfile. It will provide gcc/gfortran (in specific versions). If something like clang doesn't work, you remove it

Compiler Selection

2022-07-03 Thread Mark Brethen
According to the wiki: > The compiler is chosen with the following precedence: > > If configure.compiler is set in the Portfile, then that is the compiler that > is used. > If the user sets default_compilers, the compiler is chosen from that list > unless the compiler is blacklisted. > If the P

Re: Using on macOS 10.13 with clang++-mp-13

2022-07-03 Thread Ken Cunningham
This is an issue that will need solving, otherwise as filesystem is used more (and it seems popular) all the systems prior to 10.15 will be left behind. Filesystem uses features in libc++.dylib that are only present in 10.15 and newer. You are blocked from trying to use them on 10.14 and below by

Re: perl5 default version

2022-07-03 Thread Mojca Miklavec
Hi, First of all: thanks a lot for the effort of migrating 100+ ports to perl 5.34. (I'm now confused because I got an email from Jeremy and two days later Joshua did all the work.) I bumped a few more in https://github.com/macports/macports-ports/pull/15265 and updated perl to 5.36 in ht

Using on macOS 10.13 with clang++-mp-13

2022-07-03 Thread Mojca Miklavec
Hi, I'm trying to build some sources that require on 10.13 using clang 13 (I can try with clang 14, but I doubt that it helps). What's the correct way to compile the following minimal example? Do I need to link against a newer libc++ somehow? If it's not feasible to do that, I'll target a newer