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

/commits.php is going away

I'm proposing to take /commits.php away - it mainly duplicates the home page. Details in this GitHub issue.
Port details
flang Fortran compiler targeting LLVM
7.0.g20191020_1 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. pkg-fallout 7.0.g20191020_1Version 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: 2021-04-06 14:31:07
Commit Hash: 305f148
License: APACHE20
Description:
SVNWeb : git : Homepage
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:
  • For RUN/BUILD depends:
    • flang>0:devel/flang
  • For LIB depends:
    • libflang.so:devel/flang
    • libflangrti.so:devel/flang
    • libompstub.so:devel/flang
To install the port: cd /usr/ports/devel/flang/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/flang
  • pkg install flang
PKGNAME: flang
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: amd64
distinfo:
Packages (timestamps in pop-ups are UTC):
flang
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd647.0.g20191020_17.0.g20191020_1
FreeBSD:11:armv6--
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64--
FreeBSD:12:amd647.0.g20191020_17.0.g20191020_1
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_17.0.g20191020_1
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:14:aarch64--
FreeBSD:14:amd647.0.g20191020_1-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14: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.8 : lang/python38
  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:
Options name:

USES:

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.

Number of commits found: 24

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  7.0.g20191020_1
mat search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
05 Sep 2020 20:51:22
Original commit files touched by this commit Revision:547678  7.0.g20191020_1
jmd search for other commits by this committer
devel/flang: add common workaround
08 Dec 2019 07:27:04
Original commit files touched by this commit Revision:519275  7.0.g20191020
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 Revision:515076  7.0.g20191020
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 Revision:513787  6.0.g20180904_4
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 Revision:507372  6.0.g20180904_4
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 Revision:495775  6.0.g20180904_3
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 Revision:488341  6.0.g20180904_2
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 Revision:487272  6.0.g20180904_2
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 Revision:479487  6.0.g20180904_1
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 Revision:479159  6.0.g20180904
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 Revision:475857  5.0.20171225_2
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 Revision:459134  5.0.20171225_1
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 Revision:457940  5.0.20171225
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 Revision:456079  5.0.20171019_2
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 Revision:452710  5.0.20171019_1
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 Revision:452497  4.0.20171019_1
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 Revision:449591  4.0.20170812_1
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 Revision:448023  4.0.20170812
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 Revision:446946  4.0.20170717
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 Revision:444324  3.9.20170522_1
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 Revision:441559  3.9.20170522_1
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 Revision:441248  3.9.20170518_1
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 Revision:441207  3.9.20170518
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: 24