mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00

go 1.12 was removed from oe-core, but currently k8s cannot be built successfully with go 1.13. See link below. https://github.com/kubernetes/kubernetes/issues/82531 We need to wait for k8s to support go 1.13 and update it to latest release, as well as its depedencies. Before this is done, add back go 1.12 and use it. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
33 lines
1.1 KiB
PHP
33 lines
1.1 KiB
PHP
SUMMARY = "Go programming language compiler"
|
|
DESCRIPTION = " The Go programming language is an open source project to make \
|
|
programmers more productive. Go is expressive, concise, clean, and\
|
|
efficient. Its concurrency mechanisms make it easy to write programs\
|
|
that get the most out of multicore and networked machines, while its\
|
|
novel type system enables flexible and modular program construction.\
|
|
Go compiles quickly to machine code yet has the convenience of\
|
|
garbage collection and the power of run-time reflection. It's a\
|
|
fast, statically typed, compiled language that feels like a\
|
|
dynamically typed, interpreted language."
|
|
|
|
HOMEPAGE = " http://golang.org/"
|
|
LICENSE = "BSD-3-Clause"
|
|
|
|
inherit goarch
|
|
|
|
SRC_URI = "http://golang.org/dl/go${PV}.src.tar.gz;name=main"
|
|
S = "${WORKDIR}/go"
|
|
B = "${S}"
|
|
UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.src\.tar"
|
|
|
|
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
|
SSTATE_SCAN_CMD = "true"
|
|
|
|
export GOROOT_OVERRIDE = "1"
|
|
export GOTMPDIR ?= "${WORKDIR}/go-tmp"
|
|
GOTMPDIR[vardepvalue] = ""
|
|
export CGO_ENABLED = "1"
|
|
|
|
do_compile_prepend() {
|
|
BUILD_CC=${BUILD_CC}
|
|
}
|