Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
go
Commits
3e5b83bf
Commit
3e5b83bf
authored
Sep 16, 2019
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated go to 1.12.6
parent
338bfc1e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
6 deletions
+13
-6
Makefile
Makefile
+12
-5
build.xml
build.xml
+1
-1
go1.12.6.src.tar.gz
go1.12.6.src.tar.gz
+0
-0
No files found.
Makefile
View file @
3e5b83bf
current_dir
:=
$(
dir
$(
abspath
$(
lastword
$(MAKEFILE_LIST)
)))
temporary
:
tar
xf go1.8.7.src.tar.gz
# FIXME: go tests failure! Cannot successfully complete all.bash
dd
if
=
/dev/zero
of
=
swap
bs
=
1048576
count
=
1024
chmod
600 swap
mkswap swap
swapon swap
mkdir
-p
/tmp/gocache
tar
xf go1.12.6.src.tar.gz
if
[
"
$(HOSTTYPE)
"
=
"aarch64"
]
;
then
\
tar
xf go-linux-arm64-bootstrap.tbz
;
\
cd
go/src
&&
GOROOT_BOOTSTRAP
=
$(current_dir)
go-linux-arm64-bootstrap
./make
.bash
;
\
cd
go/src
&&
GOROOT_BOOTSTRAP
=
$(current_dir)
go-linux-arm64-bootstrap
GOCACHE
=
/tmp/gocache ./all
.bash
;
\
rm
-rf
$(current_dir)
go-linux-arm64-bootstrap
;
\
elif
[
"
$(HOSTTYPE)
"
=
"x86_64"
]
;
then
\
tar
xf go-linux-amd64-bootstrap.tbz
;
\
ln
-s
/lib /lib64
;
\
cd
go/src
&&
GOROOT_BOOTSTRAP
=
$(current_dir)
go-linux-amd64-bootstrap
./make
.bash
;
\
cd
go/src
&&
GOROOT_BOOTSTRAP
=
$(current_dir)
go-linux-amd64-bootstrap
GOCACHE
=
/tmp/gocache ./all
.bash
;
\
rm
-rf
/lib64
;
\
rm
-rf
$(current_dir)
go-linux-amd64-bootstrap
;
\
else
\
tar
xf go-linux-arm-bootstrap.tbz
;
\
cd
go/src
&&
GOROOT_BOOTSTRAP
=
$(current_dir)
go-linux-arm-bootstrap
./make
.bash
;
\
cd
go/src
&&
GOROOT_BOOTSTRAP
=
$(current_dir)
go-linux-arm-bootstrap
GOCACHE
=
/tmp/gocache ./all
.bash
;
\
rm
-rf
$(current_dir)
go-linux-arm-bootstrap
;
\
fi
rm
-rf
/tmp/gocache
swapoff swap
rm
-rf
swap
build.xml
View file @
3e5b83bf
...
...
@@ -8,7 +8,7 @@
<exec
executable=
"./make.bash"
dir=
"${makedir}/src"
/>
<move
file=
"${builddir}/go"
tofile=
"${builddir}/go1.4"
/>
<exec
executable=
"tar"
failonerror=
"true"
>
<arg
line=
"xf ${basedir}/packages/go/go1.
8.7
.src.tar.gz -C ${builddir}"
/>
<arg
line=
"xf ${basedir}/packages/go/go1.
12.6
.src.tar.gz -C ${builddir}"
/>
</exec>
<exec
executable=
"./bootstrap.bash"
dir=
"${makedir}/src"
>
<env
key=
"GOROOT_BOOTSTRAP"
path=
"${builddir}/go1.4"
/>
...
...
go1.
8.7
.src.tar.gz
→
go1.
12.6
.src.tar.gz
View file @
3e5b83bf
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment