All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Kube <alexander.j.kube@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH v4 2/3] go: Add go1.13 recipes
Date: Fri, 25 Oct 2019 01:57:35 +0430	[thread overview]
Message-ID: <20191024212736.73979-2-alexander.j.kube@gmail.com> (raw)
In-Reply-To: <20191024212736.73979-1-alexander.j.kube@gmail.com>

From: Alex Kube <alexander.j.kube@gmail.com>

Signed-off-by: Alex Kube <alexander.j.kube@gmail.com>
---
 meta/recipes-devtools/go/go-1.13.inc          | 24 +++++++++++++++++++
 .../go/go-cross-canadian_1.13.bb              |  2 ++
 meta/recipes-devtools/go/go-cross_1.13.bb     |  2 ++
 meta/recipes-devtools/go/go-crosssdk_1.13.bb  |  2 ++
 meta/recipes-devtools/go/go-native_1.13.bb    |  2 ++
 meta/recipes-devtools/go/go-runtime_1.13.bb   |  2 ++
 meta/recipes-devtools/go/go_1.13.bb           | 14 +++++++++++
 7 files changed, 48 insertions(+)
 create mode 100644 meta/recipes-devtools/go/go-1.13.inc
 create mode 100644 meta/recipes-devtools/go/go-cross-canadian_1.13.bb
 create mode 100644 meta/recipes-devtools/go/go-cross_1.13.bb
 create mode 100644 meta/recipes-devtools/go/go-crosssdk_1.13.bb
 create mode 100644 meta/recipes-devtools/go/go-native_1.13.bb
 create mode 100644 meta/recipes-devtools/go/go-runtime_1.13.bb
 create mode 100644 meta/recipes-devtools/go/go_1.13.bb

diff --git a/meta/recipes-devtools/go/go-1.13.inc b/meta/recipes-devtools/go/go-1.13.inc
new file mode 100644
index 0000000000..2afe8b69cd
--- /dev/null
+++ b/meta/recipes-devtools/go/go-1.13.inc
@@ -0,0 +1,24 @@
+require go-common.inc
+
+GO_BASEVERSION = "1.13"
+GO_MINOR = ".3"
+PV .= "${GO_MINOR}"
+FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
+
+SRC_URI += "\
+    file://0001-allow-CC-and-CXX-to-have-multiple-words.patch \
+    file://0002-cmd-go-make-content-based-hash-generation-less-pedan.patch \
+    file://0003-allow-GOTOOLDIR-to-be-overridden-in-the-environment.patch \
+    file://0004-ld-add-soname-to-shareable-objects.patch \
+    file://0005-make.bash-override-CC-when-building-dist-and-go_boot.patch \
+    file://0006-cmd-dist-separate-host-and-target-builds.patch \
+    file://0007-cmd-go-make-GOROOT-precious-by-default.patch \
+    file://0008-use-GOBUILDMODE-to-set-buildmode.patch \
+"
+SRC_URI_append_libc-musl = " file://0009-ld-replace-glibc-dynamic-linker-with-musl.patch"
+
+SRC_URI[main.md5sum] = "94ae8bf6a4fe623e34cb8b0db2a71ec0"
+SRC_URI[main.sha256sum] = "4f7123044375d5c404280737fbd2d0b17064b66182a65919ffe20ffe8620e3df"
+
diff --git a/meta/recipes-devtools/go/go-cross-canadian_1.13.bb b/meta/recipes-devtools/go/go-cross-canadian_1.13.bb
new file mode 100644
index 0000000000..7ac9449e47
--- /dev/null
+++ b/meta/recipes-devtools/go/go-cross-canadian_1.13.bb
@@ -0,0 +1,2 @@
+require go-cross-canadian.inc
+require go-${PV}.inc
diff --git a/meta/recipes-devtools/go/go-cross_1.13.bb b/meta/recipes-devtools/go/go-cross_1.13.bb
new file mode 100644
index 0000000000..80b5a03f6c
--- /dev/null
+++ b/meta/recipes-devtools/go/go-cross_1.13.bb
@@ -0,0 +1,2 @@
+require go-cross.inc
+require go-${PV}.inc
diff --git a/meta/recipes-devtools/go/go-crosssdk_1.13.bb b/meta/recipes-devtools/go/go-crosssdk_1.13.bb
new file mode 100644
index 0000000000..1857c8a577
--- /dev/null
+++ b/meta/recipes-devtools/go/go-crosssdk_1.13.bb
@@ -0,0 +1,2 @@
+require go-crosssdk.inc
+require go-${PV}.inc
diff --git a/meta/recipes-devtools/go/go-native_1.13.bb b/meta/recipes-devtools/go/go-native_1.13.bb
new file mode 100644
index 0000000000..bbf3c0dd73
--- /dev/null
+++ b/meta/recipes-devtools/go/go-native_1.13.bb
@@ -0,0 +1,2 @@
+require ${PN}.inc
+require go-${PV}.inc
diff --git a/meta/recipes-devtools/go/go-runtime_1.13.bb b/meta/recipes-devtools/go/go-runtime_1.13.bb
new file mode 100644
index 0000000000..43b68b4e46
--- /dev/null
+++ b/meta/recipes-devtools/go/go-runtime_1.13.bb
@@ -0,0 +1,2 @@
+require go-${PV}.inc
+require go-runtime.inc
diff --git a/meta/recipes-devtools/go/go_1.13.bb b/meta/recipes-devtools/go/go_1.13.bb
new file mode 100644
index 0000000000..483e2e2cb7
--- /dev/null
+++ b/meta/recipes-devtools/go/go_1.13.bb
@@ -0,0 +1,14 @@
+require go-${PV}.inc
+require go-target.inc
+
+export GOBUILDMODE=""
+
+# Add pie to GOBUILDMODE to satisfy "textrel" QA checking, but mips
+# doesn't support -buildmode=pie, so skip the QA checking for mips and its
+# variants.
+python() {
+    if 'mips' in d.getVar('TARGET_ARCH',True):
+        d.appendVar('INSANE_SKIP_%s' % d.getVar('PN',True), " textrel")
+    else:
+        d.setVar('GOBUILDMODE', 'pie')
+}
-- 
2.17.1 (Apple Git-112)



  reply	other threads:[~2019-10-24 21:27 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-24 17:29 Add recipes for Go v1.13 Alexander Kube
2019-10-24 17:29 ` [PATCH 1/3] Refactor patches for go-1.13.3 Alexander Kube
2019-10-24 17:29 ` [PATCH 2/3] Add go1.13 recipes Alexander Kube
2019-10-24 17:29 ` [PATCH 3/3] Change default GOVERSION to 1.13 Alexander Kube
2019-10-24 17:32 ` ✗ patchtest: failure for "Refactor patches for go-1.13.3..." and 2 more Patchwork
2019-10-24 17:37 ` Add recipes for Go v1.13 Richard Purdie
2019-10-24 18:13   ` Alexander Kube
2019-10-24 20:18 ` [PATCH v2 1/3] Refactor patches for go-1.13.3 Alexander Kube
2019-10-24 20:18   ` [PATCH v2 2/3] Add go1.13 recipes Alexander Kube
2019-10-24 20:18   ` [PATCH v2 3/3] Change default GOVERSION to 1.13 Alexander Kube
2019-10-24 20:32 ` ✗ patchtest: failure for "Refactor patches for go-1.13.3..." and 2 more (rev2) Patchwork
2019-10-24 20:32 ` ✗ patchtest: failure for "Refactor patches for go-1.13.3..." and 2 more (rev3) Patchwork
2019-10-24 20:32 ` ✗ patchtest: failure for "Refactor patches for go-1.13.3..." and 2 more (rev4) Patchwork
2019-10-24 20:38 ` [PATCH v3 1/3] recipes-devtools/go: Refactor patches for go-1.13.3 Alexander Kube
2019-10-24 20:38   ` [PATCH v3 2/3] recipes-devtools/go: Add go1.13 recipes Alexander Kube
2019-10-24 20:38   ` [PATCH v3 3/3] recipes-devtools/go: Change default GOVERSION to 1.13 Alexander Kube
2019-10-25  9:29   ` [PATCH v3 1/3] recipes-devtools/go: Refactor patches for go-1.13.3 Khem Raj
2019-10-28 18:29     ` Alexander Kube
2019-10-28 19:29       ` Khem Raj
2019-10-24 21:02 ` ✗ patchtest: failure for "Refactor patches for go-1.13.3..." and 2 more (rev5) Patchwork
2019-10-24 21:02 ` ✗ patchtest: failure for "Refactor patches for go-1.13.3..." and 2 more (rev6) Patchwork
2019-10-24 21:02 ` ✗ patchtest: failure for "Refactor patches for go-1.13.3..." and 2 more (rev7) Patchwork
2019-10-24 21:27 ` [PATCH v4 1/3] go: Refactor patches for 1.13.3 Alexander Kube
2019-10-24 21:27   ` Alexander Kube [this message]
2019-10-24 21:27   ` [PATCH v4 3/3] go: Change default GOVERSION to 1.13 Alexander Kube
2019-10-24 21:32 ` ✗ patchtest: failure for "Refactor patches for go-1.13.3..." and 2 more (rev10) Patchwork
2019-10-24 21:32 ` ✗ patchtest: failure for "Refactor patches for go-1.13.3..." and 2 more (rev8) Patchwork
2019-10-24 21:32 ` ✗ patchtest: failure for "Refactor patches for go-1.13.3..." and 2 more (rev9) Patchwork
2019-10-25  9:18 ` Add recipes for Go v1.13 Khem Raj
2019-10-25 21:30   ` Alexander Kube

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191024212736.73979-2-alexander.j.kube@gmail.com \
    --to=alexander.j.kube@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.