36 Commits

Author SHA1 Message Date
sthen
25f0e460f2 Add COMPILER lines to c++ ports which currently use the default. Adjust
some existing COMPILER lines with arch restrictions etc. In the usual
case this is now using "COMPILER = base-clang ports-gcc base-gcc" on
ports with c++ libraries in WANTLIB.

This is basically intended to be a noop on architectures using clang
as the system compiler, but help with other architectures where we
currently have many ports knocked out due to building with an unsuitable
compiler -

- some ports require c++11/newer so the GCC version in base that is used
on these archirtectures is too old.

- some ports have conflicts where an executable is built with one compiler
(e.g. gcc from base) but a library dependency is built with a different
one (e.g. gcc from ports), resulted in mixing incompatible libraries in the
same address space.

devel/gmp is intentionally skipped as it's on the path to building gcc -
the c++ library there is unused in ports (and not built by default upstream)
so intending to disable building gmpcxx in a future commit.
2018-10-24 14:27:57 +00:00
bcallah
030c3efed2 Bring in the flang commits from October (so far) 2018-10-20 20:11:35 +00:00
bcallah
ad1c36fc4d Catch up with flang changes. Note the major bump to libpgmath. 2018-10-16 14:56:38 +00:00
bcallah
e5f141e8cf Update to the latest flang--this brings us in line with Nvidia's latest
binary release. Note the minor bump to libflang and the major bump to
libflangrti.
2018-09-26 18:31:46 +00:00
bcallah
ff0fef8580 Update flang to 6.0.0.20180830 -- note the flangrti major bump. 2018-08-31 21:50:08 +00:00
bcallah
5aa93e35fd Update all the flang components to their latest versions. 2018-08-26 00:40:22 +00:00
bcallah
361208411f Update to flang-6.0.0.20180811 -- fixes an internal compiler error 2018-08-12 15:28:15 +00:00
bcallah
97e5f7a4d8 Update to flang-driver-6.0.0.20180810 2018-08-11 04:44:12 +00:00
bcallah
a4e555c4a4 Update to flang-6.0.0.20180804. 2018-08-08 21:14:06 +00:00
bcallah
1c8a20a764 Update to latest flang code, fixes for Fortran 2008 SUBMODULES.
While here, temporarily mark flang as BROKEN-arm64 to not waste the
build-bot's time. See: https://github.com/flang-compiler/flang/issues/557
for more information.
2018-08-03 05:47:35 +00:00
bcallah
6a952c3c45 Update to flang-6.0.0.20180730 -- now with Fortran 2008 SUBMODULE support. 2018-07-31 17:26:50 +00:00
bcallah
fe22d265d1 At some point, upstream added variable -mcpu= flags to a lot of the
libpgmath CMakeLists.txt files. This worked out to -mcpu=native on the
arm64 package builders, which clang doesn't support. Remove all those flags
which should get flang building again on arm64.

Found looking at phessler@'s arm64 bulk build report.
2018-07-31 03:34:42 +00:00
bcallah
d0edee8cdf Routine flang update to 6.0.0.20180727. 2018-07-29 04:06:47 +00:00
bcallah
c6b3f865f1 Update to flang-6.0.0.20180725. Note the major bump to libpgmath. This
update also brings in an MD version of libpgmath for arm64 (like it is on
amd64); however, this arm64 MD version is currently disabled until I am
able to test it.
2018-07-25 21:08:47 +00:00
bcallah
11f7d7c65f Update to flang-6.0.0.20180723 2018-07-24 00:59:31 +00:00
bcallah
40f24bea8a Update flang to the 20180707 code commits. 2018-07-09 00:30:07 +00:00
bcallah
e1ad206f12 Use libaio_compat within flang. This lets us drop a lot of patches.
Note the minor bump in libflang since the aio routines are now added.
2018-07-04 22:00:28 +00:00
bcallah
e9439fcb4f Update to yesterday's flang version. Note the minor bump to libflang. 2018-07-03 04:04:11 +00:00
bcallah
83c7236652 Update flang-driver to 6.0.0.20180629 2018-06-30 02:40:11 +00:00
bcallah
cf3b10cf00 Push flang to today's code update. 2018-06-29 20:27:45 +00:00
bcallah
b695b15cbb Enable flang for arm64.
Bumping REVISION for libpgmath and flang (but not driver). Mostly because
of a PLIST sync, but also because the build did change: includes a patch to
stop clang from silently passing off some of the build work to base gcc
(which obviously failed on arm64).
2018-06-27 00:09:26 +00:00
bcallah
62857c16f2 Update flang to 6.0.0.20180621 2018-06-23 01:10:35 +00:00
bcallah
5135e17304 Update flang to the latest code commits from yesterday. 2018-06-16 20:08:28 +00:00
bcallah
9b994bd8a2 Update to flang6. Also included are fixes to allow flang to be build with
lld and allow binaries to be linked with lld when compiled with flang.
ok kn@
2018-05-09 22:27:41 +00:00
bcallah
e77dfdea8f Import lang/flang/libpgmath -- needed to update to flang6
ok kn@

Flang is a Fortran compiler targeting LLVM.
This package includes the Fortran math library.
2018-05-09 22:26:14 +00:00
ajacoutot
be3950b6a6 Mark BROKEN for the time being; maintainer is working on an update to work
with llvm 6.0.
2018-04-07 14:58:18 +00:00
bcallah
348a2654d2 Chase the 20180308 flang updates. Use sincos functions since we have them. 2018-03-13 02:46:44 +00:00
bcallah
7537b67d80 Chase latest flang update. 2018-03-03 01:40:52 +00:00
bcallah
c46038d7cd Chase the latest flang commits from a few days ago. 2018-02-11 15:52:26 +00:00
bcallah
b70f7022ad Update to today's latest flang code push.
While here, update the COMPILER comments. Flang is C11, not C++11.
2018-02-07 05:50:55 +00:00
bcallah
fd5bb80599 Update flang-driver to 5.0.1.20180201 -- this brings in some driver
improvements, 2 of our patches were upstreamed, so they go away. Also, put
-lflang into the default linked libraries so that you do not need to
remember to add the -L/usr/local/lib -lflang dance to every Fortran program
you want to link. The compiler does it for you now. A simple
flang myprog.f
will do the right thing.
2018-02-05 04:08:24 +00:00
bcallah
fa51de22e9 Update to flang-5.0.1.20180125 2018-01-28 08:59:59 +00:00
bcallah
7a07414a3a Update flang to the latest upstream. 2018-01-11 05:09:30 +00:00
bcallah
730d0630d5 Update flang to its latest github commit.
Changes:
66e17ec6e0
2018-01-05 20:19:44 +00:00
bcallah
16bb3d11c4 lang/flang/flang also has a BDEP on devel/llvm.
spotted by naddy@ -- thanks!
2018-01-02 14:17:52 +00:00
bcallah
39cdc696a6 Import lang/flang, the LLVM Fortran compiler.
ok rsadowski@

This is divided into two sub-ports, driver which is a modified clang that
provides the flang command, and flang which provides the compiler passes.
Executing 'pkg_add flang' will get you everything you need.
2017-12-31 18:06:38 +00:00