Hello again,

while tinkering with my ‘perf’ option, I found some flaws on the dragonegg-3.x 
ports that should, IMHO, be fixed:

1. The install name of the library, e.g. llvm-3.3-gcc-4.8.so is incompatible 
with usage of further options such as -fplugin-arg-XXX-enable-gcc-optzns where 
XXX is substituted by the actual name of the dragonegg library, because it 
contains ‘-’ and ‘.’. It would therefore be better to install it as, for 
instance, llvm33gcc48, which works fine with the -fplugin-… flags;

2. The file ‘integrated-as.specs’ should also be installed. It allows to switch 
from the old Apple as(1) used by GCC to the new llvm-as and therefore enables 
use of AVX/AVX2 instruction during Fortran compilation.

I’m going to patch my own version of dragonegg-3.3. Let me know if you’d like 
these modifications to make it into the main tree.

Vincent

_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to