BSD Ports

math/mathpresso g20230108 FreeBSD

Mathematical expression parser and JIT compiler

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ZLIB
Categories
math

Description

MathPresso is a C++ library designed to parse mathematical expressions and compile them into machine code. It's much faster than traditional AST or byte-code based evaluators, because there is basically no overhead in the expression's execution. The JIT compiler is based on AsmJit and works on X86 and X64 architectures.

In the other systems

SystemPortVersion
FreeBSDmath/mathpressog20230108
DragonFlymath/mathpressog20230108

Install

Binary package:

pkg install mathpresso

From the ports tree:

cd /usr/ports/math/mathpresso/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	mathpresso>0:math/mathpresso
LIB_DEPENDS=	libmathpresso.so:math/mathpresso

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:latest-g20230108--g20230108
FreeBSD:14:quarterly-g20230108n/a-g20230108
FreeBSD:15:latest-g20230108n/a-g20230108
FreeBSD:15:quarterly-g20230108n/an/an/a
FreeBSD:16:latest-g20230108n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

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

Build dependencies 16
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
cmake:testing localbase:ldflags
Service scripts
none

Files

pkg-plist 4
  • include/mathpresso/mathpresso.h
  • lib/cmake/mathpresso/mathpresso-config-.cmake
  • lib/cmake/mathpresso/mathpresso-config.cmake
  • lib/libmathpresso.so
distinfo 1
FileSizeSHA256
kobalicek-mathpresso-g20230108-734c292_GH0.tar.gz53333202e375fe648382917ad8acfa3792331a1793b353f481a9b91e8325c35aabd80

Commit history 0

No commits in the history this site was built from.