mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 04:06:33 +02:00
eclass/llvm-utils: Sync with Gentoo
It's from Gentoo commit 7f6abb01edf5a677c6286d12810b4a7cbccf437e. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
2b7e6dcdfe
commit
79444a38fd
@ -6,21 +6,21 @@
|
||||
# Michał Górny <mgorny@gentoo.org>
|
||||
# @AUTHOR:
|
||||
# Michał Górny <mgorny@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 7 8
|
||||
# @SUPPORTED_EAPIS: 7 8 9
|
||||
# @BLURB: 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.
|
||||
|
||||
case ${EAPI} in
|
||||
7|8) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
if [[ -z ${_LLVM_UTILS_ECLASS} ]]; then
|
||||
_LLVM_UTILS_ECLASS=1
|
||||
|
||||
case ${EAPI} in
|
||||
7|8|9) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
# @FUNCTION: llvm_tuple_to_target
|
||||
# @USAGE: [<tuple>]
|
||||
# @DESCRIPTION:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user