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
| System | Port | Version |
|---|---|---|
| FreeBSD | math/mathpresso | g20230108 |
| DragonFly | math/mathpresso | g20230108 |
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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | g20230108 | - | - | g20230108 |
| FreeBSD:14:quarterly | - | g20230108 | n/a | - | g20230108 |
| FreeBSD:15:latest | - | g20230108 | n/a | - | g20230108 |
| FreeBSD:15:quarterly | - | g20230108 | n/a | n/a | n/a |
| FreeBSD:16:latest | - | g20230108 | 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.
Library 1
libasmjit.so: devel/asmjit
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
| File | Size | SHA256 |
|---|---|---|
| kobalicek-mathpresso-g20230108-734c292_GH0.tar.gz | 53333 | 202e375fe648382917ad8acfa3792331a1793b353f481a9b91e8325c35aabd80 |
Commit history 0
No commits in the history this site was built from.