Builds were failing in various ways on 32-bit platforms, due to various assumptions (and the fact that pretty much everything is 64-bit nowadays). This PR should fix all of them so that it builds clean. * host: libbladeRF/thirdparty/adi: fix build error on 32-bit systems sizeof(void*) is not necessarily equal to sizeof(uint64_t) * host: libbladeRF/doc: fix 32-bit build failure on doc example sizeof(size_t) does not always equal sizeof(uint64_t) * host: docker: remove centos-7-i386 build it doesn't work, and this is an edgy-enough case that i think we'll be okay with the ubuntu i386 builds * host: libbladeRF/bladerf2: explicitly note constant types On non-64-bit platforms, these integer constants can be ambiguous, which throws compiler warnings. * host: libbladeRF_test: explicitly note constant types On non-64-bit platforms, these integer constants can be ambiguous, which throws compiler warnings. |
||
|---|---|---|
| .. | ||
| _base.Dockerfile | ||
| archlinux.Dockerfile | ||
| build.bash | ||
| centos-7.Dockerfile | ||
| clang-scan.Dockerfile | ||
| debian-jessie-i386.Dockerfile | ||
| debian-jessie.Dockerfile | ||
| debian-stretch-i386.Dockerfile | ||
| debian-stretch.Dockerfile | ||
| fedora-latest.Dockerfile | ||
| freshen.bash | ||
| parallel.bash | ||
| README.md | ||
| test.bash | ||
| ubuntu-bionic-i386.Dockerfile | ||
| ubuntu-bionic.Dockerfile | ||
| ubuntu-trusty-i386.Dockerfile | ||
| ubuntu-trusty.Dockerfile | ||
| ubuntu-xenial-i386.Dockerfile | ||
| ubuntu-xenial.Dockerfile | ||
Dockerfiles for various OS environments
This directory contains Dockerfiles for building libbladeRF and associated utilities under various operating systems, primarily as a means to ensure it builds properly across a variety of OSes.
Currently, the following operating systems are supported:
- Linux
- Arch Linux
- CentOS
- 7
- Debian
- Jessie (8.x)
- Stretch (9.x)
- Fedora
- Ubuntu
- Trusty (14.04)
- Xenial (16.04)
- Artful (17.10)
- Bionic (18.04)
Building
Build a Docker image from the root of the Nuand/bladeRF checkout:
docker build -f host/misc/docker/archlinux.Dockerfile .
Optionally, add a -t option to tag the image:
docker build -f host/misc/docker/archlinux.Dockerfile \
-t nuand/bladerf-buildenv:archlinux .
Running
For a quick test to ensure the build was successful, try:
docker run --rm -t nuand/bladerf-buildenv:archlinux bladeRF-cli --version
At this time, actually using a bladeRF device is not supported, although it would be really useful.
Future goals
- More distribution support
- FreeBSD
- clang builds
- Hardware access