83 Commits

Author SHA1 Message Date
tb 9010644f55 lang/flang/*: bump bdep to llvm/22 - the fewer "consumers" of 19 the better
That won't be worse than 19 given that the port has been marked
BROKEN =        not yet ported to llvm-10
2026-06-09 22:14:03 +00:00
kirill af71942a84 Bump REVISION after switch MODCLANG_VERSION at lang/clang to 22 2026-06-02 12:44:37 +00:00
sthen 0ca9cb3815 fix WRKSRC vs WRKDIST issue 2026-03-04 11:00:34 +00:00
sthen 1b13452762 reset bcallah maintainer lines, quite a lot of timeouts which make it
tricky for others to work on the ports tree, this will also bring more
visible to portroach of those which are outdated
2026-02-11 15:12:24 +00:00
tb b7bf414e4c flang: do not let these BROKEN ports drag in llvm/16. Switch to 19.
Time for this to hit the attic? Otherwise should probably switch to the
lang/clang module so we don't have to manually flip the version number
on every update.
2025-06-14 09:56:02 +00:00
sthen 04b7aaf307 handle py3.12 switchover in lang 2024-12-21 11:38:19 +00:00
sthen 41b34e2587 bump REVISION for py3.10 -> py3.11 switch 2024-05-06 12:23:44 +00:00
jca dfa2206761 Move those BROKEN ports to devel/llvm/16 instead of devel/llvm/13
So that we can get rid of the latter.
2024-04-14 19:06:36 +00:00
espie 69f8953801 prevent fantom pkgpath from entering sqlports
(maintainer will decide whether 13 or 16 is most appropriate)
2023-11-13 14:32:32 +00:00
sthen dae9f91e31 bump for MODPY_DEFAULT_VERSION_3 change 2022-11-13 15:28:39 +00:00
rsadowski 6ecf5561f1 Fix build with CMake 3.23
- Use CFLAGS and CXXFLAGS instead of  CMAKE_CXX_FLAGS and CMAKE_C_FLAGS.
- Use MODCMAKE_LDFLAGS instead of CMAKE_EXE_LINKER_FLAGS
- Fix broken builds with CMake 3.23
2022-05-28 06:19:58 +00:00
naddy e93f9d0ca9 drop RCS Ids 2022-03-11 19:28:46 +00:00
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