LLVM-UTILS.ECLASS
Section: eclass-manpages (5)Updated: Mar 2025
Index Return to Main Contents
NAME
llvm-utils.eclass - Common utility functions for building against installed LLVMDESCRIPTION
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 8FUNCTIONS
- 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 [-b|-d] <slot>
-
Prepend the path to the specified LLVM slot to PATH variable,
and reexport it.
With no option or "-d", the path is prefixed by ESYSROOT. LLVM dependencies should be in DEPEND then.
With "-b" option, the path is prefixed by BROOT. LLVM dependencies should be in BDEPEND then.
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.eclassSEE ALSO
ebuild(5)https://gitweb.gentoo.org/repo/gentoo.git/log/eclass/llvm-utils.eclass
Index
This document was created by man2html, using the manual pages.
Time: 03:27:01 GMT, March 13, 2025