diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-10-07 18:51:55 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-10-07 19:00:56 +0200 |
commit | 2dc8b4a7961ded7a38552e75358dec4f110a3092 (patch) | |
tree | 0a685e70a4e6bd5fe4956e605f79e19ddce9f138 /eclass | |
parent | profiles: last-rite media-sound/rplay (diff) | |
download | gentoo-2dc8b4a7961ded7a38552e75358dec4f110a3092.tar.gz gentoo-2dc8b4a7961ded7a38552e75358dec4f110a3092.tar.bz2 gentoo-2dc8b4a7961ded7a38552e75358dec4f110a3092.zip |
llvm.org.eclass: Add LLVM_SOABI variable
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/llvm.org.eclass | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/eclass/llvm.org.eclass b/eclass/llvm.org.eclass index b00c8029e72a..14ec9c63e170 100644 --- a/eclass/llvm.org.eclass +++ b/eclass/llvm.org.eclass @@ -216,6 +216,14 @@ ALL_LLVM_TARGET_FLAGS=( "${ALL_LLVM_EXPERIMENTAL_TARGETS[@]/#/llvm_targets_}" ) +# @ECLASS_VARIABLE: LLVM_SOABI +# @OUTPUT_VARIABLE +# @DESCRIPTION: +# The current ABI version of LLVM dylib, in a form suitable for use +# as a subslot. This is equal to LLVM_MAJOR for releases, and to PV +# for the main branch. +LLVM_SOABI=${LLVM_MAJOR} +[[ ${LLVM_MAJOR} == ${_LLVM_MASTER_MAJOR} ]] && LLVM_SOABI=${PV} # == global scope logic == |