good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open
bor
Commits
83a22b45
Commit
83a22b45
authored
9 years ago
by
Péter Szilágyi
Browse files
Options
Downloads
Patches
Plain Diff
Makefile: support library build modes
parent
2c42e545
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Godeps/Godeps.json
+1
-1
1 addition, 1 deletion
Godeps/Godeps.json
Godeps/_workspace/src/github.com/nsf/termbox-go/syscalls_darwin.go
+2
-0
2 additions, 0 deletions
...orkspace/src/github.com/nsf/termbox-go/syscalls_darwin.go
Makefile
+12
-11
12 additions, 11 deletions
Makefile
with
15 additions
and
12 deletions
Godeps/Godeps.json
+
1
−
1
View file @
83a22b45
...
...
@@ -55,7 +55,7 @@
},
{
"ImportPath"
:
"github.com/nsf/termbox-go"
,
"Rev"
:
"c
4d5eeeb18b378c361f9f2a731680e8b835969ed
"
"Rev"
:
"c
a2931516914070bb7f934c83e408689cea8dfb7
"
},
{
"ImportPath"
:
"github.com/pborman/uuid"
,
...
...
This diff is collapsed.
Click to expand it.
Godeps/_workspace/src/github.com/nsf/termbox-go/syscalls_darwin.go
+
2
−
0
View file @
83a22b45
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs syscalls.go
// +build !amd64
package
termbox
type
syscall_Termios
struct
{
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
12
−
11
View file @
83a22b45
...
...
@@ -12,6 +12,7 @@
GOBIN
=
build/bin
CROSSDEPS
=
https://gmplib.org/download/gmp/gmp-6.1.0.tar.bz2
MODE
?=
default
GO
?=
latest
geth
:
...
...
@@ -28,17 +29,17 @@ geth-linux: xgo geth-linux-arm geth-linux-386 geth-linux-amd64
@
ls
-l
$(
GOBIN
)
/geth-linux-
*
geth-linux-arm
:
xgo
build/env.sh
$(
GOBIN
)
/xgo
--go
=
$(
GO
)
--dest
=
$(
GOBIN
)
--deps
=
$(
CROSSDEPS
)
--targets
=
linux/arm
-v
$(
shell build/flags.sh
)
./cmd/geth
build/env.sh
$(
GOBIN
)
/xgo
--go
=
$(
GO
)
--buildmode
=
$(
MODE
)
--dest
=
$(
GOBIN
)
--deps
=
$(
CROSSDEPS
)
--targets
=
linux/arm
-v
$(
shell build/flags.sh
)
./cmd/geth
@
echo
"Linux ARM cross compilation done:"
@
ls
-l
$(
GOBIN
)
/geth-linux-
*
|
grep
arm
geth-linux-386
:
xgo
build/env.sh
$(
GOBIN
)
/xgo
--go
=
$(
GO
)
--dest
=
$(
GOBIN
)
--deps
=
$(
CROSSDEPS
)
--targets
=
linux/386
-v
$(
shell build/flags.sh
)
./cmd/geth
build/env.sh
$(
GOBIN
)
/xgo
--go
=
$(
GO
)
--buildmode
=
$(
MODE
)
--dest
=
$(
GOBIN
)
--deps
=
$(
CROSSDEPS
)
--targets
=
linux/386
-v
$(
shell build/flags.sh
)
./cmd/geth
@
echo
"Linux 386 cross compilation done:"
@
ls
-l
$(
GOBIN
)
/geth-linux-
*
|
grep
386
geth-linux-amd64
:
xgo
build/env.sh
$(
GOBIN
)
/xgo
--go
=
$(
GO
)
--dest
=
$(
GOBIN
)
--deps
=
$(
CROSSDEPS
)
--targets
=
linux/amd64
-v
$(
shell build/flags.sh
)
./cmd/geth
build/env.sh
$(
GOBIN
)
/xgo
--go
=
$(
GO
)
--buildmode
=
$(
MODE
)
--dest
=
$(
GOBIN
)
--deps
=
$(
CROSSDEPS
)
--targets
=
linux/amd64
-v
$(
shell build/flags.sh
)
./cmd/geth
@
echo
"Linux amd64 cross compilation done:"
@
ls
-l
$(
GOBIN
)
/geth-linux-
*
|
grep
amd64
...
...
@@ -47,12 +48,12 @@ geth-darwin: xgo geth-darwin-386 geth-darwin-amd64
@
ls
-l
$(
GOBIN
)
/geth-darwin-
*
geth-darwin-386
:
xgo
build/env.sh
$(
GOBIN
)
/xgo
--go
=
$(
GO
)
--dest
=
$(
GOBIN
)
--deps
=
$(
CROSSDEPS
)
--targets
=
darwin/386
-v
$(
shell build/flags.sh
)
./cmd/geth
build/env.sh
$(
GOBIN
)
/xgo
--go
=
$(
GO
)
--buildmode
=
$(
MODE
)
--dest
=
$(
GOBIN
)
--deps
=
$(
CROSSDEPS
)
--targets
=
darwin/386
-v
$(
shell build/flags.sh
)
./cmd/geth
@
echo
"Darwin 386 cross compilation done:"
@
ls
-l
$(
GOBIN
)
/geth-darwin-
*
|
grep
386
geth-darwin-amd64
:
xgo
build/env.sh
$(
GOBIN
)
/xgo
--go
=
$(
GO
)
--dest
=
$(
GOBIN
)
--deps
=
$(
CROSSDEPS
)
--targets
=
darwin/amd64
-v
$(
shell build/flags.sh
)
./cmd/geth
build/env.sh
$(
GOBIN
)
/xgo
--go
=
$(
GO
)
--buildmode
=
$(
MODE
)
--dest
=
$(
GOBIN
)
--deps
=
$(
CROSSDEPS
)
--targets
=
darwin/amd64
-v
$(
shell build/flags.sh
)
./cmd/geth
@
echo
"Darwin amd64 cross compilation done:"
@
ls
-l
$(
GOBIN
)
/geth-darwin-
*
|
grep
amd64
...
...
@@ -61,12 +62,12 @@ geth-windows: xgo geth-windows-386 geth-windows-amd64
@
ls
-l
$(
GOBIN
)
/geth-windows-
*
geth-windows-386
:
xgo
build/env.sh
$(
GOBIN
)
/xgo
--go
=
$(
GO
)
--dest
=
$(
GOBIN
)
--deps
=
$(
CROSSDEPS
)
--targets
=
windows/386
-v
$(
shell build/flags.sh
)
./cmd/geth
build/env.sh
$(
GOBIN
)
/xgo
--go
=
$(
GO
)
--buildmode
=
$(
MODE
)
--dest
=
$(
GOBIN
)
--deps
=
$(
CROSSDEPS
)
--targets
=
windows/386
-v
$(
shell build/flags.sh
)
./cmd/geth
@
echo
"Windows 386 cross compilation done:"
@
ls
-l
$(
GOBIN
)
/geth-windows-
*
|
grep
386
geth-windows-amd64
:
xgo
build/env.sh
$(
GOBIN
)
/xgo
--go
=
$(
GO
)
--dest
=
$(
GOBIN
)
--deps
=
$(
CROSSDEPS
)
--targets
=
windows/amd64
-v
$(
shell build/flags.sh
)
./cmd/geth
build/env.sh
$(
GOBIN
)
/xgo
--go
=
$(
GO
)
--buildmode
=
$(
MODE
)
--dest
=
$(
GOBIN
)
--deps
=
$(
CROSSDEPS
)
--targets
=
windows/amd64
-v
$(
shell build/flags.sh
)
./cmd/geth
@
echo
"Windows amd64 cross compilation done:"
@
ls
-l
$(
GOBIN
)
/geth-windows-
*
|
grep
amd64
...
...
@@ -75,12 +76,12 @@ geth-android: xgo geth-android-16 geth-android-21
@
ls
-l
$(
GOBIN
)
/geth-android-
*
geth-android-16
:
xgo
build/env.sh
$(
GOBIN
)
/xgo
--go
=
$(
GO
)
--dest
=
$(
GOBIN
)
--deps
=
$(
CROSSDEPS
)
--targets
=
android-16/
*
-v
$(
shell build/flags.sh
)
./cmd/geth
build/env.sh
$(
GOBIN
)
/xgo
--go
=
$(
GO
)
--buildmode
=
$(
MODE
)
--dest
=
$(
GOBIN
)
--deps
=
$(
CROSSDEPS
)
--targets
=
android-16/
*
-v
$(
shell build/flags.sh
)
./cmd/geth
@
echo
"Android 16 cross compilation done:"
@
ls
-l
$(
GOBIN
)
/geth-android-16-
*
geth-android-21
:
xgo
build/env.sh
$(
GOBIN
)
/xgo
--go
=
$(
GO
)
--dest
=
$(
GOBIN
)
--deps
=
$(
CROSSDEPS
)
--targets
=
android-21/
*
-v
$(
shell build/flags.sh
)
./cmd/geth
build/env.sh
$(
GOBIN
)
/xgo
--go
=
$(
GO
)
--buildmode
=
$(
MODE
)
--dest
=
$(
GOBIN
)
--deps
=
$(
CROSSDEPS
)
--targets
=
android-21/
*
-v
$(
shell build/flags.sh
)
./cmd/geth
@
echo
"Android 21 cross compilation done:"
@
ls
-l
$(
GOBIN
)
/geth-android-21-
*
...
...
@@ -89,12 +90,12 @@ geth-ios: xgo geth-ios-5.0 geth-ios-8.1
@
ls
-l
$(
GOBIN
)
/geth-ios-
*
geth-ios-5.0
:
build/env.sh
$(
GOBIN
)
/xgo
--go
=
$(
GO
)
--dest
=
$(
GOBIN
)
--deps
=
$(
CROSSDEPS
)
--depsargs
=
--disable-assembly
--targets
=
ios-5.0/
*
-v
$(
shell build/flags.sh
)
./cmd/geth
build/env.sh
$(
GOBIN
)
/xgo
--go
=
$(
GO
)
--buildmode
=
$(
MODE
)
--dest
=
$(
GOBIN
)
--deps
=
$(
CROSSDEPS
)
--depsargs
=
--disable-assembly
--targets
=
ios-5.0/
*
-v
$(
shell build/flags.sh
)
./cmd/geth
@
echo
"iOS 5.0 cross compilation done:"
@
ls
-l
$(
GOBIN
)
/geth-ios-5.0-
*
geth-ios-8.1
:
build/env.sh
$(
GOBIN
)
/xgo
--go
=
$(
GO
)
--dest
=
$(
GOBIN
)
--deps
=
$(
CROSSDEPS
)
--depsargs
=
--disable-assembly
--targets
=
ios-8.1/
*
-v
$(
shell build/flags.sh
)
./cmd/geth
build/env.sh
$(
GOBIN
)
/xgo
--go
=
$(
GO
)
--buildmode
=
$(
MODE
)
--dest
=
$(
GOBIN
)
--deps
=
$(
CROSSDEPS
)
--depsargs
=
--disable-assembly
--targets
=
ios-8.1/
*
-v
$(
shell build/flags.sh
)
./cmd/geth
@
echo
"iOS 8.1 cross compilation done:"
@
ls
-l
$(
GOBIN
)
/geth-ios-8.1-
*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment