spliced.predict package
Subpackages
Submodules
spliced.predict.abi_laboratory module
- class spliced.predict.abi_laboratory.AbiLaboratoryPrediction[source]
Bases:
Prediction
- container = 'docker://ghcr.io/buildsi/abi-laboratory-docker'
- run_abi_laboratory(original_lib, replace_lib, name)[source]
Run abi-dumper + abi-compliance-checker with original and comparison library. This assumes we are in the container, and falls back to running a container.
- run_containerized_abi_laboratory(original_lib, replace_lib, name)[source]
Run containerized abi laboratory with singularity
- run_local_abi_laboratory(original_lib, replace_lib, name)[source]
Run containerized abi laboratory with singularity
spliced.predict.base module
- class spliced.predict.base.Prediction[source]
Bases:
object
A prediction is a base for assessing a Splice and making predictions.
- create_elfcall_deps_lookup(splice, libs)[source]
This is subbing in a library with a version of itself, and requires binaries
spliced.predict.libabigail module
- class spliced.predict.libabigail.LibabigailPrediction[source]
Bases:
Prediction
- abicompat = None
- abidiff = None
- full_prediction(splice)[source]
A full prediction is run with spliced splice, includes libs and binaries.
- run_abidiff(original_lib, replace_lib)[source]
Run abi diff with an original and comparison library
- debuginfo files:
By default, libabigail will look in /usr/lib/debug for separate debug files (.debug) generated by gcc. Alternate locations can be specified by using the environment variables LIBABIGAIL_DEBUGINFO_DIR{1,2} for the original and comparison libraries, respectively.
spliced.predict.spack module
- class spliced.predict.spack.SpackTest[source]
Bases:
Prediction
If we find this is a spack package (e.g, installed in a spack root) run spack test for the splice.
spliced.predict.symbols module
- class spliced.predict.symbols.SymbolsPrediction[source]
Bases:
Prediction