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.
* host: docker: clean up the base build process a bit
* host: docker: reduce build context size
We don't need the entire tree (since the _base image has that), so we
can just build from the same dir as the Dockerfile and not transfer
everything to the daemon over and over again.
* host: docker: WIP: script for automated Dockerized testing
* host: docker: use git clean when building base image
* host: docker: add script to automatically freshen base images
* host: docker: auto-detect build dir when testing
* host: docker: build arg for make -j parameter
* host: docker: refactor build script
* host: docker: add parallel run script
* host: docker: adjust make -j settings for builds
* host: docker: test: WIP commit
* host: docker: add usb product check, rfic loopback only for micros
* host: docker: copy the FPGA images from the base
- new build distinguishers:
- compiler: gcc or clang
- buildtype: Release or Debug
- taggedrelease: NO or YES
- add com.nuand.ci.* labels for image metadata
- create a base image with a pruned checkout, to reduce disk consumption
and to snapshot the working directory's state at the start of a build
spree
- add -j$(nproc) to the make invocation
- reorganize Dockerfiles to improve build cache hits
- build.bash: iterate over rel, compiler, and buildtype, for a
combination of 6 builds per distro version
- build.bash: general restructuring for DRY
* host: misc: add Dockerfiles for multi-distro test builds
It is now possible to perform test builds automatically across various
releases of Arch, CentOS, Debian, Fedora, and Ubuntu with:
bash host/mis/docker/build.bash
* host: docker: fix ld.so.conf for centos-7