Skip to content

numba/numba-hatchery

Repository files navigation

numba-hatchery

Full-stack build for llvmdev --> llvmlite --> Numba.

About

This is a collection of scripts and make files to compile Numba and llvmlite within a Python docker container with minimal dependencies. It's primary purpose is to test and evaluate the compatibility of Numba with new pre-releases of Python minor versions.

The process can run either using the docker containers provided from Python developers directly (pypi) or by using packages from anaconda.org (aorg). Use the correct make targets to trigger.

Commands

This shows example commands using the *-pypi targets. Swap out the suffix for -aorg to compile using anaconda.org packages.

The command:

make update-pypi

Will pull the correct Python docker image.

The command:

make build-pypi

Will prepare a docker-container specified in hatchery-bootstrap/ that is based on the vanilla Python container but additionally contains an installation of llvmdev (compiled for use with Numba) in a miniconda and a pip installed Numpy, either compiled from source or via a wheel, if such a wheel is available.

The command:

make clone

Will clone the correct repositories and references and place them such that they can be mounted into the docker container.

make compile-pypi

Will launch the compilation of llvmlite, followed byNumba in the pre-built docker container.

Finally, the command:

make compile_and_test-pypi

Will launch the compilation and testing of llvmlite, followed byNumba in the pre-built docker container.

About

Full-stack build for llvmdev --> llvmlite --> Numba.

Resources

License

Stars

Watchers

Forks

Packages

No packages published