notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
flang Fortran compiler targeting LLVM
7.0.g20191020_1 devel Deleted on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 7.0.g20191020_1Version of this port present on the latest quarterly branch.
Deprecated DEPRECATED: Very outdated and unsupported upstream, current version in tree is several years old and upstream is still active
Expired This port expired on: 2022-09-30
Maintainer: jmd@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-05-19 02:02:04
Last Update: 2022-09-30 20:16:07
Commit Hash: bfab468
License: APACHE20
WWW:
https://github.com/flang-compiler/flang
Description:
Fortran compiler targeting LLVM (modified clang part)
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (30 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/flang-7.0.g20191020_1/catalog.mk
  3. /usr/local/share/licenses/flang-7.0.g20191020_1/LICENSE
  4. /usr/local/share/licenses/flang-7.0.g20191020_1/APACHE20
  5. flang/bin/flang1
  6. flang/bin/flang2
  7. flang/include/__norm2.mod
  8. flang/include/__norm2_i8.mod
  9. flang/include/ieee_arithmetic.mod
  10. flang/include/ieee_arithmetic_la.mod
  11. flang/include/ieee_exceptions.mod
  12. flang/include/ieee_exceptions_la.mod
  13. flang/include/ieee_features.mod
  14. flang/include/iso_c_binding.mod
  15. flang/include/iso_fortran_env.mod
  16. flang/include/omp_lib.h
  17. flang/include/omp_lib.mod
  18. flang/include/omp_lib_kinds.mod
  19. flang/lib/libflang.a
  20. flang/lib/libflang.so
  21. flang/lib/libflangADT.a
  22. flang/lib/libflangArgParser.a
  23. flang/lib/libflangmain.a
  24. flang/lib/libflangrti.a
  25. flang/lib/libflangrti.so
  26. flang/lib/libompstub.a
  27. flang/lib/libompstub.so
  28. @owner
  29. @group
  30. @mode
Collapse this list.
Dependency lines:
  • flang>0:devel/flang
No installation instructions:
This port has been deleted.
PKGNAME: flang
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: amd64
distinfo:
TIMESTAMP = 1571593984 SHA256 (flang-compiler-flang-7.0-g20191020-d07daf3_GH0.tar.gz) = 24c54eaad89d1bc3a30fd50b5cd4aa5a563ef8377157c246781681297e19a893 SIZE (flang-compiler-flang-7.0-g20191020-d07daf3_GH0.tar.gz) = 133245436

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. llvm70>=0 : devel/llvm70
  2. flang-clang>=0 : devel/flang-clang
  3. cmake : devel/cmake-core
  4. python3.9 : lang/python39
  5. perl5>=5.32.r0<5.33 : lang/perl5.32
Runtime dependencies:
  1. llvm70>=0 : devel/llvm70
  2. flang-clang>=0 : devel/flang-clang
  3. perl5>=5.32.r0<5.33 : lang/perl5.32
Library dependencies:
  1. libpgmath.so : math/libpgmath
  2. libedit.so.0 : devel/libedit
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for flang-7.0.g20191020_1: TESTS=off: build unit tests for flang ===> Use 'make config' to modify these settings
Options name:
devel_flang
USES:
cmake:noninja compiler:c++11-lib libedit perl5 tar:xz shebangfix python:build
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/flang-compiler/flang/tar.gz/d07daf3?dummy=/
Collapse this list.
Port Moves
  • port deleted on 2022-09-30
    REASON: Has expired: Very outdated and unsupported upstream, current version in tree is several years old and upstream is still active

Number of commits found: 29

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
7.0.g20191020_1
30 Sep 2022 20:16:07
commit hash: bfab4686fe9f1b7ad3ba3cfec2bf16fcdc9fe911commit hash: bfab4686fe9f1b7ad3ba3cfec2bf16fcdc9fe911commit hash: bfab4686fe9f1b7ad3ba3cfec2bf16fcdc9fe911commit hash: bfab4686fe9f1b7ad3ba3cfec2bf16fcdc9fe911 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
cleanup: Remove expired ports:

2022-09-30 devel/flang: Very outdated and unsupported upstream, current version
in tree is several years old and upstream is still active
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
7.0.g20191020_1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
7.0.g20191020_1
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
7.0.g20191020_1
25 Jun 2022 19:33:16
commit hash: db0d431f3dc8bb13befba46d976e1bc0d0bc6e12commit hash: db0d431f3dc8bb13befba46d976e1bc0d0bc6e12commit hash: db0d431f3dc8bb13befba46d976e1bc0d0bc6e12commit hash: db0d431f3dc8bb13befba46d976e1bc0d0bc6e12 files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
devel/flang: Deprecate and set expiration date to 2022-09-30

Current version is very outdated and unsupported upstream
Upstream is working to improve Flang compiler included in LLVM

See https://github.com/flang-compiler/flang/wiki for more information

This change was also discussed with bapt

PR:		263810
Approved by:	jmd (maintainer timeout, 6+ weeks)
7.0.g20191020_1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
7.0.g20191020_1
05 Sep 2020 20:51:22
Revision:547678Original commit files touched by this commit
jmd search for other commits by this committer
devel/flang: add common workaround
7.0.g20191020
08 Dec 2019 07:27:04
Revision:519275Original commit files touched by this commit
antoine search for other commits by this committer
Remove duplicate line from plist
7.0.g20191020
21 Oct 2019 00:23:17
Revision:515076Original commit files touched by this commit
jmd search for other commits by this committer
devel/flang: update to the latest upstream snapshot

OpenMP now works in my tests.
6.0.g20180904_4
04 Oct 2019 22:13:05
Revision:513787Original commit files touched by this commit
linimon search for other commits by this committer
Factor out hardcoding of the string "clang<version".  When doing the
work to identify stale versions of clang tree-wide, these instances
cause extra work.

Refactor this usage into LLVM_VER.

Note: this refactoring causes portlint to complain but IMHO this
annoyance is worth tolerating to help ease maintainability.

PR:		239737, 239738
Approved by:	maintainer
6.0.g20180904_4
26 Jul 2019 20:46:57
Revision:507372Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
6.0.g20180904_3
15 Mar 2019 08:43:09
Revision:495775Original commit files touched by this commit
tobik search for other commits by this committer
devel/flang: Attempt to fix TESTS option

In r479159 the TESTS option was incorrectly switched to options
helpers.  Options helpers are ineffective when set after
bsd.port.options.mk and it should have used the CMAKE_BOOL helper.

Reported by:	tobik (in D19553)
6.0.g20180904_2
25 Dec 2018 20:25:40
Revision:488341Original commit files touched by this commit
tcberner search for other commits by this committer
Change cmake default behaviour to outsource.

Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
6.0.g20180904_2
12 Dec 2018 01:35:36
Revision:487272Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
6.0.g20180904_1
11 Sep 2018 00:15:00
Revision:479487Original commit files touched by this commit
jmd search for other commits by this committer
devel/flang[-clang]: remove wrapper script dependency.

Patch flang-clang directly to link the required libraries and include the proper
library directories. Hence, the need of the wrapper script (and it's non-optimal
behavior) vanishes.

While there, mark flang-clang broken on 10. Its LLVM6 base is not supported
there and due to libpgmath only working on 12+, there is no need for it
anyways.
6.0.g20180904
06 Sep 2018 20:11:07
Revision:479159Original commit files touched by this commit
jmd search for other commits by this committer
devel/flang[-clang]: update to later snapshots

This introduces flang-driver, a clang6-derived driver / companion compiler, and
uses math/libpgmath as the math library backend. Notably, the latter currently
limits us to 12-CURRENT.

Patches are a combination of carry-over and adapted OpenBSD ones.

While there, pet portlint.

Reviewed by:	zeising (mentor), mat
Approved by:	zeising (mentor)
Obtained from:	Brian Callahan (bcallah@openbsd.org) with adaptations
Differential Revision:	https://reviews.freebsd.org/D17036
5.0.20171225_2
29 Jul 2018 22:18:46
Revision:475857Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
5.0.20171225_1
15 Jan 2018 23:01:07
Revision:459134Original commit files touched by this commit
jmd search for other commits by this committer
devel/flang-clang: Update to a new snapshot and fix pkg-plist to match the
recent upgrade of LLVM 5.0.0 to 5.0.1. Update requires patch to remove -ldl.

devel/flang: Bump PORTREVISION to force recompilation after the above companion
compiler update.

PR:		225174 (for the LLVM 5.0.1)
Approved by:	swills (mentor, implicit)
5.0.20171225
03 Jan 2018 02:14:35
Revision:457940Original commit files touched by this commit
jmd search for other commits by this committer
devel/flang: Update to a later development snapshot.

Contains various improvements and fixes over the last two months.

Reported by:	Rainer Hurling <rhurlin@gwdg.de>
Reviewed by:	swills (mentor)
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D13727
5.0.20171019_2
12 Dec 2017 02:43:49
Revision:456079Original commit files touched by this commit
jmd search for other commits by this committer
devel/flang: silence warnings caused by the wrapper script shortcomings and only
add linking flags if needed.

PR:		220588
Reviewed by:	swills (mentor)
Approved by:	swills (mentor)
Obtained from:	PR220588 (with changes)
Differential Revision:	https://reviews.freebsd.org/D13371
5.0.20171019_1
23 Oct 2017 14:18:15
Revision:452710Original commit files touched by this commit
jmd search for other commits by this committer
devel/flang, devel/flang-clang: Upgrade to use LLVM5.0 as the backend compiler
and use clang from upstream's LLVM5 branch.

While there, also remove all potential calls to sincos() as the function is, in
difference to what man (3) sincos reports on HEAD, not available in either 10 or
11 branches.

Reported by:	jrm (sincos issue on 10/11)
Reviewed by:	swills (mentor)
Approved by:	swills (mentor), jrm (tested math/R with it)
Differential Revision:	https://reviews.freebsd.org/D12735
4.0.20171019_1
20 Oct 2017 01:34:43
Revision:452497Original commit files touched by this commit
jmd search for other commits by this committer
devel/flang-clang and devel/flang: Upgrade to later snapshots. They bring a lot
of fixed bugs inside of flang and support for ejecting AVX512 operations.
Removes dependency on lang/openmp since devel/llvm40 brings its own (correct)
libomp.so.

Reviewed by:	swills (mentor)
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D12734
4.0.20170812_1
10 Sep 2017 20:55:39
Revision:449591Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
4.0.20170812
16 Aug 2017 02:15:59
Revision:448023Original commit files touched by this commit
jmd search for other commits by this committer
devel/flang and devel/flang-clang: Update to later snapshots. While there, mark
flang-clang as only for amd64. It is only useful for flang and flang is only for
amd64 at the moment.

Reviewed by:	swills (mentor)
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D12029
4.0.20170717
31 Jul 2017 02:33:10
Revision:446946Original commit files touched by this commit
jmd search for other commits by this committer
devel/flang and devel/flang-clang: Update to snapshots supporting llvm 4.0 and
upgrade dependencies to this version.

PR:	220829
Submitted by:	Rainer Hurling (rhurlin@gwdg.de)
Reviewed by:	swills (mentor)
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D11709
3.9.20170522_1
25 Jun 2017 21:07:58
Revision:444324Original commit files touched by this commit
tcberner search for other commits by this committer
Make ninja opt-out in cmake.mk

Using ninja instead of make (1) can lead to significant speed ups while
building.
Therefore switch from having the ninja generator opt-in to having it opt-out.

Previously cmake-ports that wanted to use ninja could set
    CMAKE_NINJA=yes
now, ports that do not work with ninja can set
    cmake:<existing args>,noninja
Note, that needing this should be an exception and most often points to a broken
cmake of the port.

The ports using cmake were modified
* removed USES=gmake, if ninja is used
* removed MAKE_ARGS, if ninja is used
* added the cmake-argument noninja if necessary

PR:		219629
PR:		213331
Exp-run by:	antoine
Reviewed by:	rakuco
Differential Revision:	https://reviews.freebsd.org/D10748
3.9.20170522_1
24 May 2017 03:21:58
Revision:441559Original commit files touched by this commit
jmd search for other commits by this committer
devel/flang: update to latest github revision to chase their work in progress.
While there include two suggestions by Steve Kargl in the flang wrapper script
(add flang's include directory by default, add libompstub by default). Add a
TESTS option that enables flang's internal unit tests (request on
freebsd-fortran@). The last does not seem to be doing much in upstream yet.

There is still a problem when trying to compile statically. Also, OpenMP code
does compile w/ -fopenmp -L/usr/local/lib but does not execute in parallel yet.

Reported by:	Steve Kargl <sgk@troutmask.apl.washington.edu> (flang wrapper
additions)
Reviewed by:	swills (mentor)
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10866
3.9.20170518_1
19 May 2017 15:57:15
Revision:441248Original commit files touched by this commit
jmd search for other commits by this committer
devel/flang: fix typo, increment port revision

Reported by:	mat
Reviewed by:	swills (mentor)
Approved by:	swills (mentor)
3.9.20170518
19 May 2017 02:01:51
Revision:441207Original commit files touched by this commit
jmd search for other commits by this committer
new ports: devel/flang and devel/flang-clang.

Welcome the freshly released flang Fortran LLVM compiler (currently only for
amd6) ! It needs as a companion a custom clang, added as flang-clang.

Reviewed by:	swills (mentor)
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10805

Number of commits found: 29