• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisãoade2f46af0f4a10c69f39f8f2286e4d1b6cdaaf1 (tree)
Hora2020-06-04 21:37:15
Autormatsuand <30614168+matsuand@user...>
Commitermatsuand

Mensagem de Log

[BLFS] Added go.

Mudança Sumário

Diff

--- /dev/null
+++ b/BLFS/go.sh
@@ -0,0 +1,69 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+# https://dl.google.com/go/go1.14.4.src.tar.gz
6+
7+APPNAME=go
8+VER=1.14.4
9+TARGET=$APPNAME-$VER
10+TARGETBALL=$DLD/${APPNAME}${VER}.src.tar.gz
11+TARGETDIR=$APPNAME
12+
13+#Bootstrapping
14+BVER=1.4
15+BTARGETBALL=${APPNAME}${BVER}-bootstrap-20171003.tar.gz
16+BTARGETDIR=$APPNAME
17+
18+echo $TARGET
19+
20+. $WRK/_checkRequired.sh ""
21+. $WRK/_checkOptions.sh ""
22+. $WRK/_checkTarball.sh
23+. $WRK/_checkExit.sh "$1" || exit $?
24+
25+cd $SRC
26+RemoveSrcDir
27+
28+mkdir -p go
29+cd go
30+Extract
31+mkdir -p go_bootstrap
32+cd go_bootstrap
33+tar xf $DLD/$BTARGETBALL
34+
35+TimeStart
36+
37+cd go/src
38+
39+echo Bootstrapping...
40+./all.bash \
41+ 1> $LOG/$TARGET.1_boot.log 2>&1
42+
43+cd ../../..
44+cd ../go/go/src
45+
46+mkdir -p /usr/lib/go
47+
48+Making
49+porg -lp $TARGET "\
50+GOROOT_FINAL=/usr/lib/go \
51+GOROOT_BOOTSTRAP=/mnt/lfs/sources/BLFS/go/go_bootstrap/go \
52+./all.bash" \
53+ 1> $LOG/$TARGET.2_make.log 2>&1
54+
55+Installing
56+porg -lp+ $TARGET "\
57+cp ../bin/go /usr/bin" \
58+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
59+porg -lp+ $TARGET "\
60+cp ../bin/gofmt /usr/bin" \
61+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
62+
63+TimeEnd
64+
65+cd ../../..
66+pwd
67+RemoveSrcDir
68+PorgingDone
69+