File tree Expand file tree Collapse file tree 4 files changed +48
-0
lines changed
Expand file tree Collapse file tree 4 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 2626 gmp_sha256: fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2
2727 gmp_sha512: c99be0950a1d05a0297d65641dd35b75b74466f7bf03c9e8a99895a3b2f9a0856cd17887738fa51cf7499781b65c049769271cbcb77d057d2e9f1ec52e07dd84
2828
29+ # renovate: datasource=github-tags extractVersion=^go(?<version>.*)$ depName=golang/go
30+ golang_version: 1.23.4
31+ golang_sha256: ad345ac421e90814293a9699cca19dd5238251c3f687980bbcae28495b263531
32+ golang_sha512: 5d1cce76b2cbdf628f86a1a8185a07f362becee053cb4270281520e77b36e3908faeaf5b2a6266e61dec9866dc1f3791f77e8dc1bf5f8beaf858c138d0e18c22
33+
2934 # renovate: datasource=git-tags depName=https://gitlab.inria.fr/mpc/mpc.git
3035 mpc_version: 1.3.1
3136 mpc_sha256: ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8
Original file line number Diff line number Diff line change 1+ name : golang
2+ install :
3+ - go
4+ dependencies :
5+ - stage : binutils
6+ steps :
7+ - sources :
8+ - url : https://dl.google.com/go/go{{ .golang_version }}.src.tar.gz
9+ destination : go.src.tar.gz
10+ sha256 : " {{ .golang_sha256 }}"
11+ sha512 : " {{ .golang_sha512 }}"
12+
13+ env :
14+ GOROOT_FINAL : ' {{ .TOOLCHAIN }}/go'
15+ CGO_ENABLED : ' 0'
16+ GOTOOLCHAIN : ' local'
17+
18+ prepare :
19+ - tar -xzf go.src.tar.gz --strip-components=1
20+ - rm go.src.tar.gz
21+
22+ build :
23+ - cd src && sh make.bash
24+ install :
25+ - rm -rf pkg/obj
26+ - rm -rf pkg/bootstrap
27+ - rm -f pkg/tool/*/api
28+ - |
29+ find src \( -type f -a -name "*_test.go" \) \
30+ -exec rm -rf \{\} \+
31+ - |
32+ find src \( -type d -a -name "testdata" \) \
33+ -exec rm -rf \{\} \+
34+ - |
35+ find src -type f -a \( -name "*.bash" -o -name "*.rc" -o -name "*.bat" \) \
36+ -exec rm -rf \{\} \+
37+
38+ - mkdir -p "${GOROOT_FINAL}"
39+ - mv * "${GOROOT_FINAL}"
40+ finalize :
41+ - from : " {{ .TOOLCHAIN }}"
42+ to : " {{ .TOOLCHAIN }}"
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ dependencies:
44 - stage : gcc
55 - stage : linux-headers
66 - stage : musl
7+ - stage : golang
78steps :
89 - env :
910 PATH : " {{ .TOOLCHAIN }}/bin:{{ .PATH }}"
You can’t perform that action at this time.
0 commit comments