mirror of https://github.com/aminya/setup-cpp
fix: fix old gcc ppa
This commit is contained in:
parent
95c8ebb90c
commit
90a15f5705
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -35,13 +35,13 @@ export async function setupGcc(version: string, _setupDir: string, arch: string)
|
|||
case "linux": {
|
||||
if (arch === "x64") {
|
||||
await setupAptPack("gcc", version, [
|
||||
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial mai",
|
||||
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial main",
|
||||
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe",
|
||||
"ppa:ubuntu-toolchain-r/test",
|
||||
])
|
||||
binDir = (
|
||||
await setupAptPack("g++", version, [
|
||||
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial mai",
|
||||
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial main",
|
||||
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe",
|
||||
"ppa:ubuntu-toolchain-r/test",
|
||||
])
|
||||
|
@ -49,13 +49,13 @@ export async function setupGcc(version: string, _setupDir: string, arch: string)
|
|||
} else {
|
||||
info(`Install g++-multilib because gcc for ${arch} was requested`)
|
||||
await setupAptPack("gcc-multilib", version, [
|
||||
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial mai",
|
||||
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial main",
|
||||
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe",
|
||||
"ppa:ubuntu-toolchain-r/test",
|
||||
])
|
||||
binDir = (
|
||||
await setupAptPack("g++-multilib", version, [
|
||||
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial mai",
|
||||
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial main",
|
||||
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe",
|
||||
"ppa:ubuntu-toolchain-r/test",
|
||||
])
|
||||
|
@ -68,7 +68,7 @@ export async function setupGcc(version: string, _setupDir: string, arch: string)
|
|||
// case "none": {
|
||||
// if (arch === "arm" || arch === "arm64") {
|
||||
// return setupAptPack("gcc-arm-none-eabi", version, [
|
||||
// "deb http://dk.archive.ubuntu.com/ubuntu/ xenial mai",
|
||||
// "deb http://dk.archive.ubuntu.com/ubuntu/ xenial main",
|
||||
// "deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe",
|
||||
// "ppa:ubuntu-toolchain-r/test",
|
||||
// ])
|
||||
|
|
Loading…
Reference in New Issue