-
Notifications
You must be signed in to change notification settings - Fork 2
/
platforms_defaults.go
75 lines (66 loc) · 1.31 KB
/
platforms_defaults.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
package main
func defaultDarwin() []Platform {
return []Platform{
{OS_DARWIN, ARCH_386},
{OS_DARWIN, ARCH_AMD64},
//{OS_DARWIN, ARCH_ARM},
//{OS_DARWIN, ARCH_ARM64},
}
}
func defaultDragonfly() []Platform {
return []Platform{
{OS_DRAGONFLY, ARCH_AMD64},
}
}
func defaultFreeBSD() []Platform {
return []Platform{
{OS_FREEBSD, ARCH_386},
{OS_FREEBSD, ARCH_AMD64},
//{OS_FREEBSD, ARCH_ARM},
}
}
func defaultLinux() []Platform {
return []Platform{
{OS_LINUX, ARCH_386},
{OS_LINUX, ARCH_AMD64},
//{OS_LINUX, ARCH_ARM},
//{OS_LINUX, ARCH_ARM64},
{OS_LINUX, ARCH_PPC64},
{OS_LINUX, ARCH_PPC64LE},
{OS_LINUX, ARCH_MIPS},
{OS_LINUX, ARCH_MIPSLE},
{OS_LINUX, ARCH_MIPS64},
{OS_LINUX, ARCH_MIPS64LE},
}
}
func defaultNetBSD() []Platform {
return []Platform{
{OS_NETBSD, ARCH_386},
{OS_NETBSD, ARCH_AMD64},
//{OS_NETBSD, ARCH_ARM},
}
}
func defaultOpenBSD() []Platform {
return []Platform{
{OS_OPENBSD, ARCH_386},
{OS_OPENBSD, ARCH_AMD64},
//{OS_OPENBSD, ARCH_ARM},
}
}
func defaultPlan9() []Platform {
return []Platform{
{OS_PLAN9, ARCH_386},
{OS_PLAN9, ARCH_AMD64},
}
}
func defaultSolaris() []Platform {
return []Platform{
{OS_SOLARIS, ARCH_AMD64},
}
}
func defaultWindows() []Platform {
return []Platform{
{OS_WINDOWS, ARCH_386},
{OS_WINDOWS, ARCH_AMD64},
}
}