lang/lfortran 0.67.0 FreeBSD
Modern interactive Fortran compiler built on top of LLVM
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
174dc43544- License
- BSD3CLAUSE
- Categories
- lang
- Package size
- 8559.1 KiB, 45443.5 KiB installed
Description
LFortran is a modern open-source (BSD licensed) interactive Fortran compiler built on top of LLVM. It can execute user's code interactively to allow exploratory work (much like Python, MATLAB or Julia) as well as compile to binaries with the goal to run user's code on modern architectures such as multi-core CPUs and GPUs.
Try online: https://dev.lfortran.org/
See also: https://github.com/lfortran/lfortran
Install
Binary package:
pkg install lfortran
From the ports tree:
cd /usr/ports/lang/lfortran/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= lfortran>0:lang/lfortran
LIB_DEPENDS= liblfortran_runtime.so:lang/lfortran
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.66.0_1 | 0.67.0 | - | - | - |
| FreeBSD:14:quarterly | 0.66.0 | 0.66.0 | n/a | - | - |
| FreeBSD:15:latest | 0.67.0 | 0.67.0 | n/a | - | - |
| FreeBSD:15:quarterly | 0.66.0 | 0.66.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.66.0_1 | 0.67.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 5
bash: shells/bashre2c>0: devel/re2cdwarfdump: devel/dwarfdumppandoc: textproc/hs-pandocrapidjson>0: devel/rapidjson
Library 4
libfmt.so: devel/libfmtlibzstd.so: archivers/zstdlibunwind.so: devel/libunwindlibkokkoscore.so: devel/kokkos
Runtime 1
dwarfdump: devel/dwarfdump
The full lists below include those, and their dependencies in turn.
Build dependencies 31
- archivers/liblz4
- archivers/zstd
- devel/bison
- devel/cmake-core
- devel/dwarfdump
- devel/gettext-runtime
- devel/jsoncpp
- devel/kokkos
- devel/libffi
- devel/libfmt
- devel/libtextstyle
- devel/libunistring
- devel/libunwind
- devel/libuv
- devel/llvm23
- devel/m4
- devel/ninja
- devel/pkgconf
- devel/rapidjson
- devel/re2c
- devel/readline
- dns/libidn2
- lang/python312
- math/gmp
- math/mpdecimal
- ports-mgmt/pkg
- print/indexinfo
- security/rhash
- shells/bash
- textproc/expat2
- textproc/hs-pandoc
Run dependencies 10
No port depends on this one.
Configuration
Options name: lang_lfortran
| Option | Default | Description |
|---|---|---|
| EXAMPLES | off | Build and/or install examples |
- USES
- bison cmake:testing compiler:c++17-lang llvm:23,lib pkgconfig python:build ssl shebangfix
- Service scripts
- none
Files
Manual pages 1
- lfortran(1)
pkg-plist 20
- bin/lfortran
- include/lfortran/ISO_Fortran_binding.h
- include/lfortran/impure/lfortran_intrinsics.h
- lib/lfortran_intrinsic_custom.mod
- lib/lfortran_intrinsic_ieee_arithmetic.mod
- lib/lfortran_intrinsic_iso_c_binding.mod
- lib/lfortran_intrinsic_iso_fortran_env.mod
- lib/liblfortran_runtime.so
- lib/liblfortran_runtime.so.0
- lib/liblfortran_runtime.so.
- lib/liblfortran_runtime_static.a
- lib/omp_lib.mod
- libasr/runtime/cuda_cpu_device.h
- libasr/runtime/lfortran_gpu_cpu.c
- libasr/runtime/lfortran_gpu_cuda.cu
- libasr/runtime/lfortran_gpu_metal.m
- libasr/runtime/lfortran_gpu_runtime.h
- share/lfortran/dat_convert.py
- share/lfortran/dwarf_convert.py
- share/man/man1/lfortran.1.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| lfortran-lfortran-v0.67.0_GH0.tar.gz | 6.098056e+06 | f001682aa0056764922c98335cf5fe7bd5f265766862de97b4aad2483605505a |