The symptom was that `./configure` would error out saying...
> configure: error: cannot run C compiled programs.
...because the binaries produced by Clang 14.0.6 with default target
"arm-unknown-linux-gnueabihf" would crash saying...
> qemu: uncaught target signal 4 (Illegal instruction) - core dumped
> Illegal instruction (core dumped)
* Fixed shift direction for crc32sum()
ref. #105
ref. commit 7a8d35b161
* Add a `.bz3` reference file to test
The `examples/shakespeare.txt.bz3` file was created by the following command
```console
% ./bzip3 -e -b 4 < examples/shakespeare.txt > examples/shakespeare.txt.bz3
```
At this time bzip3 is version 1.1.0 and running on FreeBSD 13.2 amd64.
* Add CMake support
* CMake: Enable man pages only on Unix-like
* CMake: Add more options
* CMake: Enable `POSITION_INDEPENDENT_CODE` for shared library
* libtool patch
* keep the rest of the configure script as is
* missing newline
* update the location of the patch
* fail silently
* make the patching more.. transparent
* try an alternate way of solving this
* address the problems
* Change the mirror
Co-authored-by: Caleb Maclennan <caleb@alerque.com>
Co-authored-by: Caleb Maclennan <caleb@alerque.com>
* Remove generated binaries on make clean
* Derive autoconf version info from Git tag
* Add workflow to publish source packages
* Build and attach binary artifacts
* Post more compressed formats, including dogfooding bz3
* Drop plain makefile build approach, to be replaced
* Add initial autotools based build tooling
* Re-add non-build developer convenience targets
* Update .gitignore with autotools related stuff
* Update CI workflows for autotools build
* Document change to build sequence in README
* Don't trigger Shakespeare roundtrip from autotools, save for hand testing
* Check for and configure pthread, allow disabling
* Prefer clang over gcc if possible on host
* Add vendored copy of ax-pthread macro
This could also be handled by requiring autotools-archive by builders,
but that isn't as ubiquitously installed as the rest of autotools stuff.
* Only install necessary header file
* Retool CI workflows to test source package using matrix
* Test with/without pthread on clang/gcc in CI matrix
* `#ifdef` out the parallel parts from `main.c` on no-pthread builds
* Document how to cross-compile Windows executables
Co-authored-by: Kamila Szewczyk <27734421+kspalaiologos@users.noreply.github.com>
* Bring FreeBSD along for the new CI ride
* Add vendored copy of ax_check_compile_flag macro
* Add configure option (default on) for native optimizations
* Add configure option (default on) for LTO
* Skip cflag setup and detection on input values
* fix cflags detection
Co-authored-by: Kamila Szewczyk <kspalaiologos@gmail.com>
Co-authored-by: Kamila Szewczyk <27734421+kspalaiologos@users.noreply.github.com>