@@ -64,6 +64,7 @@ var slowBotAliases = map[string]string{
64
64
"linux-mipsle" : "linux-mipsle-rtrk" ,
65
65
"linux-ppc64" : "linux-ppc64-buildlet" ,
66
66
"linux-ppc64le" : "linux-ppc64le-buildlet" ,
67
+ "linux-riscv64" : "linux-riscv64-unleashed" ,
67
68
"linux-s390x" : "linux-s390x-ibm" ,
68
69
"longtest" : "linux-amd64-longtest" ,
69
70
"mac" : "darwin-amd64-10_14" ,
@@ -87,6 +88,7 @@ var slowBotAliases = map[string]string{
87
88
"plan9-amd64" : "plan9-amd64-9front" ,
88
89
"ppc64" : "linux-ppc64-buildlet" ,
89
90
"ppc64le" : "linux-ppc64le-buildlet" ,
91
+ "riscv64" : "linux-riscv64-unleashed" ,
90
92
"s390x" : "linux-s390x-ibm" ,
91
93
"solaris" : "solaris-amd64-oraclerel" ,
92
94
"solaris-amd64" : "solaris-amd64-oraclerel" ,
@@ -209,6 +211,13 @@ var Hosts = map[string]*HostConfig{
209
211
env : []string {"GOROOT_BOOTSTRAP=/usr/local/go" },
210
212
OwnerGithub : "esnolte" , // https://github.com/golang/go/issues/34973#issuecomment-543836871
211
213
},
214
+ "host-linux-riscv64-unleashed" : & HostConfig {
215
+ Notes : "SiFive HiFive Unleashed RISC-V board. 8 GB RAM, 4 cores." ,
216
+ IsReverse : true ,
217
+ ExpectNum : 1 , // for now. Joel's board might join the party later.
218
+ OwnerGithub : "bradfitz" , // at home
219
+ env : []string {"GOROOT_BOOTSTRAP=/usr/local/goboot" },
220
+ },
212
221
"host-openbsd-amd64-60" : & HostConfig {
213
222
VMImage : "openbsd-amd64-60" ,
214
223
machineType : "n1-highcpu-4" ,
@@ -2293,6 +2302,26 @@ func init() {
2293
2302
"GOHOSTARCH=mips" ,
2294
2303
},
2295
2304
})
2305
+ addBuilder (BuildConfig {
2306
+ HostType : "host-linux-riscv64-unleashed" ,
2307
+ Name : "linux-riscv64-unleashed" ,
2308
+ SkipSnapshot : true ,
2309
+ shouldRunDistTest : func (distTest string , isTry bool ) bool {
2310
+ switch distTest {
2311
+ case "api" , "reboot" :
2312
+ return false
2313
+ }
2314
+ return true
2315
+ },
2316
+ buildsRepo : func (repo , branch , goBranch string ) bool {
2317
+ switch repo {
2318
+ case "go" , "net" , "sys" :
2319
+ return branch == "master" && goBranch == "master"
2320
+ default :
2321
+ return false
2322
+ }
2323
+ },
2324
+ })
2296
2325
addBuilder (BuildConfig {
2297
2326
Name : "linux-s390x-ibm" ,
2298
2327
HostType : "host-linux-s390x" ,
0 commit comments