BSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.66.0_10.67.0---
FreeBSD:14:quarterly0.66.00.66.0n/a--
FreeBSD:15:latest0.67.00.67.0n/a--
FreeBSD:15:quarterly0.66.00.66.0n/an/an/a
FreeBSD:16:latest0.66.0_10.67.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 5

Library 4

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 31
Run dependencies 10

No port depends on this one.

Configuration

Options name: lang_lfortran

OptionDefaultDescription
EXAMPLESoffBuild 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
FileSizeSHA256
lfortran-lfortran-v0.67.0_GH0.tar.gz6.098056e+06f001682aa0056764922c98335cf5fe7bd5f265766862de97b4aad2483605505a

Commit history 5

DateCommitCreditsLog message
174dc43544 Thierry Thomas lang/lfortran: upgrade to v0.67.0
Release notes at https://github.com/lfortran/lfortran/releases/tag/v0.67.0 Note: switch to LLVM-23 and disable the experimental MLIR backend.
af901a43f2 Yuri Victorovich devel/kokkos: update 4.7.04 → 5.2.2
6f92774578 Thierry Thomas lang/lfortran: upgrade to v0.66.0
Release notes at https://github.com/lfortran/lfortran/releases/tag/v0.66.0
2a6f398584 Thierry Thomas lang/lfortran: upgrade to v0.65.0
Release notes at https://github.com/lfortran/lfortran/releases/tag/v0.65.0
cddcfe87f1 Thierry Thomas lang/lfortran: upgrade to v0.64.0
Release notes at https://github.com/lfortran/lfortran/releases/tag/v0.64.0