LLVM-UTILS.ECLASS

Section: eclass-manpages (5)
Updated: Jun 2024
Index Return to Main Contents

NAME

llvm-utils.eclass - Common utility functions for building against installed LLVM

DESCRIPTION

The utility eclass providing shared functions reused between llvm.eclass and llvm-r1.eclass. It may also be used directly in ebuilds.

SUPPORTED EAPIS

7 8

FUNCTIONS

llvm_tuple_to_target [<tuple>]
Translate a tuple into a target suitable for LLVM_TARGETS. Defaults to ${CHOST} if not specified.
llvm_fix_clang_version <variable-name>...
Fix the clang compiler name in specified variables to include the major version, to prevent PATH alterations from forcing an older clang version being used.
llvm_fix_tool_path <variable-name>...
Fix the LLVM tools referenced in the specified variables to their current location, to prevent PATH alterations from forcing older versions being used.
llvm_prepend_path <slot>
Prepend the path to the specified LLVM slot to PATH variable, and reexport it.

AUTHORS

Michał Górny <mgorny@gentoo.org>

MAINTAINERS

Michał Górny <mgorny@gentoo.org>

REPORTING BUGS

Please report bugs via https://bugs.gentoo.org/

FILES

llvm-utils.eclass

SEE ALSO

ebuild(5)
https://gitweb.gentoo.org/repo/gentoo.git/log/eclass/llvm-utils.eclass


Index

NAME
DESCRIPTION
SUPPORTED EAPIS
FUNCTIONS
AUTHORS
MAINTAINERS
REPORTING BUGS
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 03:27:01 GMT, June 23, 2024