Skip to content
README 1.33 KiB
Newer Older
Arm Optimized Routines
----------------------
This repository contains implementations of math library functions
provided by Arm under MIT License (See LICENSE). Contributions
to this project are accepted, but the terms will need negotiation (so
relicensing and copyright assignment to the FSF is possible later).
Source code layout:
build/          - build directory (created by make).
math/           - math subproject sources.
math/include/   - math library public headers.
math/test/      - math test and benchmark related sources.
math/tools/     - tools used for designing the algorithms.
Szabolcs Nagy's avatar
Szabolcs Nagy committed
string/         - string routines subproject sources.
string/include/ - string library public headers.
string/test/    - string test and benchmark related sources.
The steps to build the target libraries and run the tests:
cp config.mk.dist config.mk
# edit config.mk if necessary ...
Or building outside of the source directory:
ln -s path/to/src/Makefile Makefile
cp path/to/src/config.mk.dist config.mk
echo 'srcdir = path/to/src' >> config.mk
# further edits to config.mk
make
make check
The test system requires libmpfr and libmpc.
For cross build, CROSS_COMPILE should be set in config.mk and EMULATOR
should be set for cross testing (e.g. using qemu-user or remote access
to a target machine), see the examples in config.mk.dist.