Deprecated: Upstream is inactive since 2014
devel/libarena 0.3.7 FreeBSD
Custom Memory Allocator Interface
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
2f816247e3- License
- MIT
- Categories
- devel
- Package size
- 17.6 KiB, 60.3 KiB installed
Description
libarena is a custom memory allocator interface and implementation. Four allocators are provided: flat LIFO arena allocator, object pool allocator and two malloc(3) wrappers: one which returns the pointers unadulterated and one which obeys the requested, arbitrary alignment. These can be used directly, or through their exported prototype interfaces.
libarena is meant to provide a baseline interface so allocators can be stacked, and to provide a simple and well defined interface for libraries and applications without becoming mired in features or capabilities. It is not meant to restrict or confine what custom allocators can actually accomplish. For instance, the included pool and arena allocators include a suite of string utilities which aren't available in the generic exportable interface. Note that these string utilities are built upon a generic interface (see util.h) which can take the prototypical allocation context, so they are also available to any 3rd party compatible allocators.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/libarena | 0.3.7 |
| NetBSD | devel/libarena | 20080221 |
| DragonFly | devel/libarena | 0.3.7 |
Install
Binary package:
pkg install libarena
From the ports tree:
cd /usr/ports/devel/libarena/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= libarena>0:devel/libarena
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.3.7 | 0.3.7 | 0.3.7 | 0.3.7 | 0.3.7 |
| FreeBSD:14:quarterly | 0.3.7 | 0.3.7 | n/a | 0.3.7 | 0.3.7 |
| FreeBSD:15:latest | 0.3.7 | 0.3.7 | n/a | 0.3.7 | 0.3.7 |
| FreeBSD:15:quarterly | 0.3.7 | 0.3.7 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.3.7 | 0.3.7 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 3
No port depends on this one.
Configuration
No options to configure.
- USES
- gmake tar:tgz
- Service scripts
- none
Message after installing
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| libarena-0.3.7.tgz | 22901 | 6526933f218fafa5dfecb4189337eab6be3d65af250dc7dc89b1acf19a89d265 |
Master sites 1
- http://www.25thandclement.com/~william/projects/releases/