portage.dep.soname.multilib_category module

portage.dep.soname.multilib_category._compute_suffix_mips(elf_header)
portage.dep.soname.multilib_category._compute_suffix_riscv(elf_header)

Compute riscv multilib suffix. In order to avoid possible misidentification, only the following ABIs are recognized:

  • ilp32

  • ilp32d

  • lp64

  • lp64d

portage.dep.soname.multilib_category.compute_multilib_category(elf_header)

Compute a multilib category from an ELF header.

Parameters

elf_header (ELFHeader) – an ELFHeader instance

Return type

str

Returns

A multilib category, or None if elf_header does not fit into a recognized category