71 Commits

Author SHA1 Message Date
sthen
5e4370b64d bump REVISION for switch from Python 3.8 -> 3.9 2021-11-02 00:01:12 +00:00
sthen
350cf40556 remove ports libexecinfo, we now have a libunwind-based libexecinfo in base 2021-06-09 19:50:06 +00:00
sthen
3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
bcallah
8c0f39e2e4 Mark flang as BROKEN. Upstream has not yet ported it to llvm-10. 2020-08-05 08:04:39 +00:00
bcallah
5e0753603c Update flang to its latest code.
Upstream now considers this the Classic Flang compiler in contrast to the
new Flang compiler, formerly known as f18, that has recently been
upstreamed into LLVM.
2020-07-12 18:06:48 +00:00
sthen
d9cfe4113e bump REVISION; python 3 default changed to 3.8 2020-07-03 21:12:24 +00:00
bcallah
98baeec9ea Build flang again on arm64.
This requires the use of eg++ to build libpgmath; about a year and a half
ago, building the arm64-specific math routines broke when compiling with
clang (a clang bug) so we switched to the generic math routines only. Now,
build system changes make building generic math routines only impossible,
so we now must build libpgmath on arm64 with eg++. I have gotten tired of
waiting for a potential fix to allow building with clang again.
Thanks to phessler@, who put the diff into a bulk build (and spotted me
fat-fingering the linker invocation).
Flang now again builds and works properly on arm64. No change on amd64.
2019-11-24 14:37:25 +00:00
bcallah
24bfc39a36 Bring in the last 2 months of flang development; many build system patches
go away due to upstream accepting some of my patches.
amd64 only right now; hoping to fix arm64 support soon
2019-11-10 16:50:31 +00:00
bcallah
f802968210 Fix libpgmath build on arm64. Upstream changed the definition of size_t on
!amd64 to be unsigned int, which doesn't fly here.

No change on amd64; this fix fixes a preprocessor branch that is only
followed on arm64.

Noticed from the latest aarch64 bulk build log.
2019-09-22 01:34:32 +00:00
bcallah
6f931d3c42 Update to the latest flang. Note the minor bump on libpgmath. 2019-09-20 14:51:52 +00:00
bcallah
a503999b7f Update to the latest flang. Note the major bump on libflang. 2019-08-27 16:02:47 +00:00
bcallah
8ef30c3146 Update to new flang build system. The build mechanism for libpgmath went
through a major rewrite which took some working with upstream to figure out
No real change to flang itself.
2019-08-12 15:41:55 +00:00
bcallah
a15d5171d5 Add back two patches that got removed in the flang-8.0.0 update. They're
needed in order to have a working runtime.

Problem reported by and testing by j <AT> bitminer <DOT> ca
2019-08-05 18:31:02 +00:00
bcallah
93c54ee86a Update to the latest flang code. Note the minor bump to libflangrti. 2019-07-30 03:49:58 +00:00
bcallah
14bf29d700 Welcome flang-8.0.0
This syncs the flang patches with the devel/llvm patches, as well as
updates flang to its latest upstream code.
My test suite passes on amd64. Any arm64 changes, if needed, will be
committed in the coming days.
2019-07-17 21:33:33 +00:00
sthen
3318ced016 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:46:54 +00:00
jca
eaaa485558 Disable flang and ponyc, they don't build with llvm-8
Disabling flang was suggested by bcallah@ (maintainer), who will be away
for some days.  Upstream ponyc doesn't support llvm-8 yet.
2019-07-06 15:00:03 +00:00
bcallah
0ff18b80e8 Update to latest flang code. Note the major bump to libflangrti, as several
symbols were removed.
2019-06-24 15:53:37 +00:00
bcallah
85edbff78c Update to the latest month or so of flang development. 2019-06-14 20:11:07 +00:00
bcallah
4dfbb7a29e flang1 and flang2 were being linked with the LLVM shared library.
Do the same thing we do with the flang driver and force linking with the
static libraries instead.
Reported off-list by j <AT> bitminer <DOT> ca -- thanks!
2019-05-08 21:25:53 +00:00
bcallah
7546193e47 Update to flang-7.0.1.20190503 2019-05-06 00:47:42 +00:00
sthen
d7f0752227 bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
we expected and it's easier|safer to do it this way than fiddle with
pkg_add now. thanks aja for update tests with a quick bulk.
2019-04-28 20:51:26 +00:00
bcallah
3f7f1b165d Compile this one file without optimizations to work around a bug in the
clang optimizer (?). Allows all of flang to build and work successfully
again on arm64.

ok phessler@
2019-04-28 13:07:12 +00:00
bcallah
8fcd0e7d0e Update to the flang commits from yesterday.
While here, remove some comments in Makefile.inc about flang being
integrated into LLVM. That's no longer happening; the new f18 compiler is
scheduled to be integrated into LLVM instead.
2019-04-26 02:04:01 +00:00
bcallah
de7db9b0a2 Update to flang-driver-7.0.1.20190409 2019-04-22 04:41:53 +00:00
bcallah
71905ab38f Update to flang-7.0.1.20190320 2019-03-23 23:55:13 +00:00
ajacoutot
affd714c7a Unbreak: don't pick up llvm-config(1) from base 2019-03-06 13:51:15 +00:00
bcallah
f50a7a46a5 Update flang to the code dated 01 March 2019. 2019-03-05 06:47:59 +00:00
jsg
342fe78693 Prepare for llvm-config in base and use ports llvm-config to avoid a
build error.

ok bcallah@
2019-03-04 01:07:22 +00:00
bcallah
ce834a6fdf Update flang to its latest; note the minor bump to libpgmath 2019-02-16 20:39:46 +00:00
bcallah
fa7bdb3e5d Update flang to use llvm-7.0.1 as its backend.
Reenable arm64 support as well.
2019-02-15 17:51:09 +00:00
bcallah
22a50dbca4 LLVM updates always bring flang and ponyc down since they're tightly bound
to the LLVM version we ship in ports. Mark them as BROKEN for now. Being
actively worked on...
2019-01-30 00:30:09 +00:00
bcallah
0616bc264e Update flang to the latest.
While here, remove base-gcc from the COMPILER list in driver/ -- it's C++11
2019-01-25 20:06:48 +00:00
bcallah
b08fc631bf New year, new flang code. 2019-01-09 17:45:49 +00:00
bcallah
9dae89f879 Push flang up to its latest commits. Note the major bump on libpgmath. 2018-12-26 17:37:14 +00:00
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