lang/flang - The NetBSD Packages Collection

Fortran compiler targeting LLVM

Flang is a Fortran language front-end designed for integration with LLVM and
the LLVM optimizer.

Flang+LLVM is a production-quality Fortran solution designed to be co-installed
and is fully interoperable with Clang C++.

Flang single-core and OpenMP performance is now on par with GNU Fortran. Flang
has implemented Fortran 2003 and has a near full implementation of OpenMP
through version 4.5 targeting multicore CPUs.

Build dependencies

lang/gcc12 lang/gcc12 devel/cmake pkgtools/mktools devel/gmake pkgtools/cwrappers

Runtime dependencies

shells/bash lang/clang lang/llvm lang/mlir lang/gcc12-libs lang/clang

Binary packages

NetBSD 10.0aarch64flang-16.0.6nb2.tgz
NetBSD 10.0sparc64flang-16.0.6nb2.tgz
NetBSD 10.0x86_64flang-16.0.6nb2.tgz
NetBSD 10.0x86_64flang-16.0.6nb2.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.