@@ -36,19 +36,11 @@ export async function setupGcc(version: string, _setupDir: string, arch: string)
36
36
}
37
37
case "linux" : {
38
38
if ( arch === "x64" ) {
39
- setupAptPack ( "gcc" , version , [
40
- "deb http://dk.archive.ubuntu.com/ubuntu/ xenial main" ,
41
- "deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe" ,
42
- "ppa:ubuntu-toolchain-r/test" ,
43
- ] )
39
+ setupAptPack ( "gcc" , version , [ "ppa:ubuntu-toolchain-r/test" ] )
44
40
binDir = setupAptPack ( "g++" , version , [ ] ) . binDir
45
41
} else {
46
42
info ( `Install g++-multilib because gcc for ${ arch } was requested` )
47
- setupAptPack ( "gcc-multilib" , version , [
48
- "deb http://dk.archive.ubuntu.com/ubuntu/ xenial main" ,
49
- "deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe" ,
50
- "ppa:ubuntu-toolchain-r/test" ,
51
- ] )
43
+ setupAptPack ( "gcc-multilib" , version , [ "ppa:ubuntu-toolchain-r/test" ] )
52
44
binDir = setupAptPack ( "g++-multilib" , version , [ ] ) . binDir
53
45
}
54
46
break
@@ -58,8 +50,6 @@ export async function setupGcc(version: string, _setupDir: string, arch: string)
58
50
// case "none": {
59
51
// if (arch === "arm" || arch === "arm64") {
60
52
// return setupAptPack("gcc-arm-none-eabi", version, [
61
- // "deb http://dk.archive.ubuntu.com/ubuntu/ xenial main",
62
- // "deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe",
63
53
// "ppa:ubuntu-toolchain-r/test",
64
54
// ])
65
55
// } else {
0 commit comments