mirror of
https://git.yoctoproject.org/poky
synced 2026-02-25 10:59:41 +01:00
go-dep: Remove
go-dep was an effort for dependency management before go modules, which since 2020 has been deprecated in favor of go modules. Since its not developed any longer and go mdules is officially supported, this should be retired from OE-core as well. (From OE-Core rev: 1e7ed44d87034446f1d07692c9378c3b0a8a9dd3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Otavio Salvador <otavio.salvador@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
DEPENDS_append = " go-dep-native"
|
||||
|
||||
do_compile_prepend() {
|
||||
rm -f ${WORKDIR}/build/src/${GO_IMPORT}/Gopkg.toml
|
||||
rm -f ${WORKDIR}/build/src/${GO_IMPORT}/Gopkg.lock
|
||||
( cd ${WORKDIR}/build/src/${GO_IMPORT} && dep init && dep ensure )
|
||||
}
|
||||
|
||||
@@ -224,7 +224,6 @@ RECIPE_MAINTAINER_pn-go-binary-native = "Khem Raj <raj.khem@gmail.com>"
|
||||
RECIPE_MAINTAINER_pn-go-cross-${TUNE_PKGARCH} = "Khem Raj <raj.khem@gmail.com>"
|
||||
RECIPE_MAINTAINER_pn-go-cross-canadian-${TRANSLATED_TARGET_ARCH} = "Khem Raj <raj.khem@gmail.com>"
|
||||
RECIPE_MAINTAINER_pn-go-crosssdk-${SDK_SYS} = "Khem Raj <raj.khem@gmail.com>"
|
||||
RECIPE_MAINTAINER_pn-go-dep = "Otavio Salvador <otavio.salvador@ossystems.com.br>"
|
||||
RECIPE_MAINTAINER_pn-go-helloworld = "Khem Raj <raj.khem@gmail.com>"
|
||||
RECIPE_MAINTAINER_pn-go-native = "Khem Raj <raj.khem@gmail.com>"
|
||||
RECIPE_MAINTAINER_pn-go-runtime = "Khem Raj <raj.khem@gmail.com>"
|
||||
|
||||
@@ -29,7 +29,6 @@ import datetime
|
||||
#https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20210215-0_td9la2/packages/diff-html/
|
||||
exclude_packages = [
|
||||
'glide',
|
||||
'go-dep',
|
||||
'go-helloworld',
|
||||
'go-runtime',
|
||||
'go_',
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
From f0fb80604385ae3266a472601ef685896b4cc0af Mon Sep 17 00:00:00 2001
|
||||
From: Vladimir Stefanovic <vladimir.stefanovic@imgtec.com>
|
||||
Date: Fri, 17 Feb 2017 20:44:43 +0100
|
||||
Subject: [PATCH] Add support for mips, mips64
|
||||
|
||||
---
|
||||
Upstream-Status: Submitted
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
|
||||
vendor/github.com/boltdb/bolt/bolt_mips64x.go | 12 ++++++++++++
|
||||
vendor/github.com/boltdb/bolt/bolt_mipsx.go | 12 ++++++++++++
|
||||
2 files changed, 24 insertions(+)
|
||||
create mode 100644 vendor/github.com/boltdb/bolt/bolt_mips64x.go
|
||||
create mode 100644 vendor/github.com/boltdb/bolt/bolt_mipsx.go
|
||||
|
||||
diff --git a/vendor/github.com/boltdb/bolt/bolt_mips64x.go b/vendor/github.com/boltdb/bolt/bolt_mips64x.go
|
||||
new file mode 100644
|
||||
index 00000000..134b578b
|
||||
--- /dev/null
|
||||
+++ b/vendor/github.com/boltdb/bolt/bolt_mips64x.go
|
||||
@@ -0,0 +1,12 @@
|
||||
+// +build mips64 mips64le
|
||||
+
|
||||
+package bolt
|
||||
+
|
||||
+// maxMapSize represents the largest mmap size supported by Bolt.
|
||||
+const maxMapSize = 0x8000000000 // 512GB
|
||||
+
|
||||
+// maxAllocSize is the size used when creating array pointers.
|
||||
+const maxAllocSize = 0x7FFFFFFF
|
||||
+
|
||||
+// Are unaligned load/stores broken on this arch?
|
||||
+var brokenUnaligned = false
|
||||
diff --git a/vendor/github.com/boltdb/bolt/bolt_mipsx.go b/vendor/github.com/boltdb/bolt/bolt_mipsx.go
|
||||
new file mode 100644
|
||||
index 00000000..d5ecb059
|
||||
--- /dev/null
|
||||
+++ b/vendor/github.com/boltdb/bolt/bolt_mipsx.go
|
||||
@@ -0,0 +1,12 @@
|
||||
+// +build mips mipsle
|
||||
+
|
||||
+package bolt
|
||||
+
|
||||
+// maxMapSize represents the largest mmap size supported by Bolt.
|
||||
+const maxMapSize = 0x40000000 // 1GB
|
||||
+
|
||||
+// maxAllocSize is the size used when creating array pointers.
|
||||
+const maxAllocSize = 0xFFFFFFF
|
||||
+
|
||||
+// Are unaligned load/stores broken on this arch?
|
||||
+var brokenUnaligned = false
|
||||
--
|
||||
2.14.1
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,33 +0,0 @@
|
||||
From 5e051669d117d7cd9b24cea3494959eec396ec1e Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 25 Jan 2020 22:37:25 -0800
|
||||
Subject: [PATCH] /bolt_riscv64: Add support for riscv64
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
vendor/github.com/boltdb/bolt/bolt_riscv64.go | 12 ++++++++++++
|
||||
1 file changed, 12 insertions(+)
|
||||
create mode 100644 vendor/github.com/boltdb/bolt/bolt_riscv64.go
|
||||
|
||||
diff --git a/vendor/github.com/boltdb/bolt/bolt_riscv64.go b/vendor/github.com/boltdb/bolt/bolt_riscv64.go
|
||||
new file mode 100644
|
||||
index 00000000..3d6b88d4
|
||||
--- /dev/null
|
||||
+++ b/vendor/github.com/boltdb/bolt/bolt_riscv64.go
|
||||
@@ -0,0 +1,12 @@
|
||||
+// +build riscv64
|
||||
+
|
||||
+package bolt
|
||||
+
|
||||
+// maxMapSize represents the largest mmap size supported by Bolt.
|
||||
+const maxMapSize = 0xFFFFFFFFFFFF // 256TB
|
||||
+
|
||||
+// maxAllocSize is the size used when creating array pointers.
|
||||
+const maxAllocSize = 0x7FFFFFFF
|
||||
+
|
||||
+// Are unaligned load/stores broken on this arch?
|
||||
+var brokenUnaligned = false
|
||||
--
|
||||
2.25.0
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
SUMMARY = "Dependency management tool for Golang"
|
||||
HOMEPAGE = "https://github.com/golang/dep"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=1bad315647751fab0007812f70d42c0d"
|
||||
|
||||
GO_IMPORT = "github.com/golang/dep"
|
||||
SRC_URI = "git://${GO_IMPORT} \
|
||||
file://0001-Add-support-for-mips-mips64.patch;patchdir=src/github.com/golang/dep \
|
||||
file://0001-bolt_riscv64-Add-support-for-riscv64.patch;patchdir=src/github.com/golang/dep \
|
||||
"
|
||||
SRC_URI_append_riscv64 = " file://0001-Update-sys-module-to-latest.patch;patchdir=src/github.com/golang/dep "
|
||||
|
||||
SRCREV = "1f7c19e5f52f49ffb9f956f64c010be14683468b"
|
||||
|
||||
inherit go
|
||||
|
||||
# New Go versions has Go modules support enabled by default and cause the Glide
|
||||
# tool build to fail.
|
||||
export GO111MODULE = "off"
|
||||
|
||||
GO_INSTALL = "${GO_IMPORT}/cmd/dep"
|
||||
|
||||
RDEPENDS_${PN}-dev += "bash"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
# For compiling ptest on mips and mips64, the current go-dep version fails with the go 1.11 toolchain.
|
||||
# error message: vet config not found
|
||||
PTEST_ENABLED_mips = "0"
|
||||
PTEST_ENABLED_mips64 = "0"
|
||||
Reference in New Issue
Block a user