notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)

Two new features

Two new features were added on 2020-05-30:
  1. Repology links - each port now has a link to repology.org. See issue 148 for details.
  2. Ports I maintain report - port maintainers can now subscribe to a daily report of commits to the ports they maintain. See Watch ports I maintain at Report Subscriptions. Details at issue 138
Port details
flang Fortran compiler targeting LLVM
7.0.g20191020 devel 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. 7.0.g20191020Version of this port present on the latest quarterly branch.
Maintainer: jmd@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-05-19 02:02:04
Last Update: 2019-12-08 07:27:04
SVN Revision: 519275
License: APACHE20
Description:
SVNWeb : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (27 items)
  1. @ldconfig
  2. /usr/local/share/licenses/flang-7.0.g20191020/catalog.mk
  3. /usr/local/share/licenses/flang-7.0.g20191020/LICENSE
  4. /usr/local/share/licenses/flang-7.0.g20191020/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
Collapse this list.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}>0:devel/flang
  • libflang.so:devel/flang
To install the port: cd /usr/ports/devel/flang/ && make install clean
To add the package: pkg install flang
PKGNAME: flang
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: amd64
distinfo:
Packages: (move your mouse over the cells for more information)
flang
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd647.0.g201910207.0.g20191020
FreeBSD:11:armv6--
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64--
FreeBSD:12:amd647.0.g201910207.0.g20191020
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd647.0.g20191020-
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
 

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
  4. python3.6 : lang/python36
  5. perl5>=5.30.r1<5.31 : lang/perl5.30
Runtime dependencies:
  1. llvm70>=0 : devel/llvm70
  2. flang-clang>=0 : devel/flang-clang
  3. perl5>=5.30.r1<5.31 : lang/perl5.30
Library dependencies:
  1. libpgmath.so : math/libpgmath
  2. libedit.so.0 : devel/libedit
This port is required by:
for Build
  1. math/py-pynleq2
for Run
  1. math/py-pynleq2

Configuration Options

USES:

Master Sites:
  1. https://codeload.github.com/flang-compiler/flang/tar.gz/d07daf3?dummy=/

Number of commits found: 22

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
08 Dec 2019 07:27:04
Original commit files touched by this commit  7.0.g20191020
Revision:519275
antoine search for other commits by this committer
Remove duplicate line from plist
21 Oct 2019 00:23:17
Original commit files touched by this commit  7.0.g20191020
Revision:515076
jmd search for other commits by this committer
devel/flang: update to the latest upstream snapshot

OpenMP now works in my tests.
04 Oct 2019 22:13:05
Original commit files touched by this commit  6.0.g20180904_4
Revision:513787
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
26 Jul 2019 20:46:57
Original commit files touched by this commit  6.0.g20180904_4
Revision:507372
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
15 Mar 2019 08:43:09
Original commit files touched by this commit  6.0.g20180904_3
Revision:495775
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)
25 Dec 2018 20:25:40
Original commit files touched by this commit  6.0.g20180904_2
Revision:488341
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
12 Dec 2018 01:35:36
Original commit files touched by this commit  6.0.g20180904_2
Revision:487272
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
11 Sep 2018 00:15:00
Original commit files touched by this commit  6.0.g20180904_1
Revision:479487
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.
06 Sep 2018 20:11:07
Original commit files touched by this commit  6.0.g20180904
Revision:479159
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
29 Jul 2018 22:18:46
Original commit files touched by this commit  5.0.20171225_2
Revision:475857
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
15 Jan 2018 23:01:07
Original commit files touched by this commit  5.0.20171225_1
Revision:459134
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)
03 Jan 2018 02:14:35
Original commit files touched by this commit  5.0.20171225
Revision:457940
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
12 Dec 2017 02:43:49
Original commit files touched by this commit  5.0.20171019_2
Revision:456079
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
23 Oct 2017 14:18:15
Original commit files touched by this commit  5.0.20171019_1
Revision:452710
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
20 Oct 2017 01:34:43
Original commit files touched by this commit  4.0.20171019_1
Revision:452497
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
10 Sep 2017 20:55:39
Original commit files touched by this commit  4.0.20170812_1
Revision:449591
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
16 Aug 2017 02:15:59
Original commit files touched by this commit  4.0.20170812
Revision:448023
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
31 Jul 2017 02:33:10
Original commit files touched by this commit  4.0.20170717
Revision:446946
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
25 Jun 2017 21:07:58
Original commit files touched by this commit  3.9.20170522_1
Revision:444324
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
24 May 2017 03:21:58
Original commit files touched by this commit  3.9.20170522_1
Revision:441559
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
19 May 2017 15:57:15
Original commit files touched by this commit  3.9.20170518_1
Revision:441248
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)
19 May 2017 02:01:51
Original commit files touched by this commit  3.9.20170518
Revision:441207
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: 22

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
bftpdAug 10
apache24*Aug 08
gitlab-ceAug 06
goAug 06
sqlite3*Aug 06
typo3-10Aug 04
typo3-9Aug 04
libX11Aug 01
xephyrAug 01
xorg-dmxAug 01
xorg-nestserverAug 01
xorg-serverAug 01
xorg-vfbserverAug 01
xwaylandAug 01
python38Jul 31

15 vulnerabilities affecting 95 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2020-08-10 14:30:37


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 40285
Broken 88
Deprecated 602
Ignore 323
Forbidden 5
Restricted 147
No CDROM 76
Vulnerable 20
Expired 3
Set to expire 572
Interactive 0
new 24 hours 4
new 48 hours10
new 7 days24
new fortnight61
new month139

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2020 Dan Langille. All rights reserved.