Update htscodecs for new SIMD code + gcc-12 fixes #1438
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updates the htscodecs submodule and adds changes necessary to make HTSlib build the new SIMD codec implementations. Also includes a somewhat unrelated gcc-12 fix in
vcf.c
needed to make the tests work.configure.ac
gets new checks for the various options needed to generate SIMD code.Makefile
rules are updated to make the new object files, and add SIMD options to only the ones that need them. The rules that run the compiler get an extraTARGET_FLAGS
variable so flags can be adjusted on a per-target basis even if the user setsCFLAGS
on the command line (which stops the Makefile from overriding it).A small script is added to probe compiler options on non-configure builds, allowing them to enable the SIMD code. The compiler tests are the same as for
configure
and have been written so that they don't generate warnings and work even if the user sets-Werror
inCFLAGS
.