mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-lang/swift: update to llvm-r2.eclass
Signed-off-by: Itai Ferber <itai@itaiferber.net>
This commit is contained in:
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
LLVM_COMPAT=( {17..21} )
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
inherit flag-o-matic llvm-r1 python-single-r1
|
||||
inherit flag-o-matic llvm-r2 python-single-r1
|
||||
|
||||
DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled programming language"
|
||||
HOMEPAGE="https://www.swift.org"
|
||||
@@ -130,7 +130,7 @@ pkg_setup() {
|
||||
python_setup
|
||||
|
||||
# Sets up `PATH` to point to the appropriate LLVM toolchain.
|
||||
llvm-r1_pkg_setup
|
||||
llvm-r2_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
@@ -155,7 +155,7 @@ src_unpack() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# `llvm-r1_pkg_setup` sets these tools to their absolute paths, but we need
|
||||
# `llvm-r2_pkg_setup` sets these tools to their absolute paths, but we need
|
||||
# to still pick them up dynamically based on `PATH` for stage1 and stage2
|
||||
# builds below (to keep all parts of the Swift toolchain compiling with the
|
||||
# same internal tools).
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
LLVM_COMPAT=( {17..21} )
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
inherit llvm-r1 python-single-r1 toolchain-funcs
|
||||
inherit llvm-r2 python-single-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled programming language"
|
||||
HOMEPAGE="https://www.swift.org"
|
||||
@@ -138,7 +138,7 @@ pkg_setup() {
|
||||
|
||||
# Sets up `PATH` to point to the appropriate LLVM toolchain, and ensure
|
||||
# we're using the toolchain for compilation.
|
||||
llvm-r1_pkg_setup
|
||||
llvm-r2_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
LLVM_COMPAT=( {17..21} )
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
inherit llvm-r1 python-single-r1 toolchain-funcs
|
||||
inherit llvm-r2 python-single-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled programming language"
|
||||
HOMEPAGE="https://www.swift.org"
|
||||
@@ -140,7 +140,7 @@ pkg_setup() {
|
||||
|
||||
# Sets up `PATH` to point to the appropriate LLVM toolchain, and ensure
|
||||
# we're using the toolchain for compilation.
|
||||
llvm-r1_pkg_setup
|
||||
llvm-r2_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
LLVM_COMPAT=( {17..21} )
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
inherit llvm-r1 python-single-r1 toolchain-funcs
|
||||
inherit llvm-r2 python-single-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled programming language"
|
||||
HOMEPAGE="https://www.swift.org"
|
||||
@@ -141,7 +141,7 @@ pkg_setup() {
|
||||
|
||||
# Sets up `PATH` to point to the appropriate LLVM toolchain, and ensure
|
||||
# we're using the toolchain for compilation.
|
||||
llvm-r1_pkg_setup
|
||||
llvm-r2_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
LLVM_COMPAT=( {17..21} )
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
inherit llvm-r1 python-single-r1 toolchain-funcs
|
||||
inherit llvm-r2 python-single-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled programming language"
|
||||
HOMEPAGE="https://www.swift.org"
|
||||
@@ -141,7 +141,7 @@ pkg_setup() {
|
||||
|
||||
# Sets up `PATH` to point to the appropriate LLVM toolchain, and ensure
|
||||
# we're using the toolchain for compilation.
|
||||
llvm-r1_pkg_setup
|
||||
llvm-r2_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
LLVM_COMPAT=( {17..21} )
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
inherit llvm-r1 python-single-r1 toolchain-funcs
|
||||
inherit llvm-r2 python-single-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled programming language"
|
||||
HOMEPAGE="https://www.swift.org"
|
||||
@@ -141,7 +141,7 @@ pkg_setup() {
|
||||
|
||||
# Sets up `PATH` to point to the appropriate LLVM toolchain, and ensure
|
||||
# we're using the toolchain for compilation.
|
||||
llvm-r1_pkg_setup
|
||||
llvm-r2_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
LLVM_COMPAT=( {17..21} )
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
inherit llvm-r1 python-single-r1 toolchain-funcs
|
||||
inherit llvm-r2 python-single-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled programming language"
|
||||
HOMEPAGE="https://www.swift.org"
|
||||
@@ -141,7 +141,7 @@ pkg_setup() {
|
||||
|
||||
# Sets up `PATH` to point to the appropriate LLVM toolchain, and ensure
|
||||
# we're using the toolchain for compilation.
|
||||
llvm-r1_pkg_setup
|
||||
llvm-r2_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
LLVM_COMPAT=( {17..21} )
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
inherit llvm-r1 python-single-r1 toolchain-funcs
|
||||
inherit llvm-r2 python-single-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled programming language"
|
||||
HOMEPAGE="https://www.swift.org"
|
||||
@@ -141,7 +141,7 @@ pkg_setup() {
|
||||
|
||||
# Sets up `PATH` to point to the appropriate LLVM toolchain, and ensure
|
||||
# we're using the toolchain for compilation.
|
||||
llvm-r1_pkg_setup
|
||||
llvm-r2_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
|
||||
Reference in New Issue
Block a user