[Bug 228007] math/lapack: switch to flang
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon May 7 17:39:22 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228007
--- Comment #19 from robert.ayrapetyan at gmail.com ---
(In reply to sgk from comment #18)
Well, after discussing here and other related threads it doesn't look like a
good idea to make flang a default compiler right now, community and ports are
not ready yet.
>From the other side, making flang a default compiler on certain ports should
not break anything, e.g. here is armadillo built against mix of flang\gfortran:
ldd /usr/local/lib/libarmadillo.so
/usr/local/lib/libarmadillo.so:
libopenblasp.so => /usr/local/lib/libopenblasp.so (0x801400000)
liblapack.so.4 => /usr/local/lib/liblapack.so.4 (0x802400000)
libhdf5.so.101 => /usr/local/lib/libhdf5.so.101 (0x802e00000)
libsz.so.2 => /usr/local/lib/libsz.so.2 (0x80337d000)
libz.so.6 => /lib/libz.so.6 (0x803596000)
libm.so.5 => /lib/libm.so.5 (0x8037af000)
libarpack.so.1 => /usr/local/lib/libarpack.so.1 (0x8039da000)
libsuperlu.so.5 => /usr/local/lib/libsuperlu.so.5 (0x803c83000)
libc++.so.1 => /usr/lib/libc++.so.1 (0x803f04000)
libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x8041cb000)
libc.so.7 => /lib/libc.so.7 (0x800824000)
libgfortran.so.3 => /usr/local/lib/gcc6/libgfortran.so.3 (0x8043e9000)
libquadmath.so.0 => /usr/local/lib/gcc6/libquadmath.so.0 (0x804710000)
libthr.so.3 => /lib/libthr.so.3 (0x80494f000)
libflang.so => /usr/local/flang/lib/libflang.so (0x804b77000)
libflangrti.so => /usr/local/flang/lib/libflangrti.so (0x804f3b000)
libompstub.so => /usr/local/flang/lib/libompstub.so (0x80514e000)
libexecinfo.so.1 => /usr/lib/libexecinfo.so.1 (0x805353000)
libopenblas.so => /usr/local/lib/libopenblas.so (0x805600000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x8063d7000)
librt.so.1 => /usr/lib/librt.so.1 (0x8065e5000)
libomp.so => /usr/local/llvm50/lib/libomp.so (0x8067ea000)
libelf.so.2 => /lib/libelf.so.2 (0x806a74000)
There are 174 ports with USE=fortran in ports collection. I would rather add an
optional FLANG compile param for all of them (on amd64). Of course flang should
become a replacement in a long-term perspective (if FreeBSD will continue a
clang movement).
Regarding broken flang-clang - it's a basic pkg-plist issue, I've committed a
fix here - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222254#c12.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-fortran
mailing list