Skip to content

Commit 505b590

Browse files
committed
Setting up gcc 11 as an alternative
We're not going to release this just yet. Minor convenience change that we'll fold into ts.9 when it goes out.
1 parent 35875ac commit 505b590

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

toolshed/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ FROM doxygen AS gcc-select
123123
WORKDIR /tmp
124124

125125
ADD gcc-select.sh ./gcc-select.sh
126-
RUN ./gcc-select.sh 12
126+
RUN ./gcc-select.sh 11 1
127+
RUN ./gcc-select.sh 12 99
127128
RUN update-alternatives --display gcc
128129

129130
# LEAVE THE WORKDIR AS /repo

toolshed/gcc-select.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ setup_gcc_alternatives()
1818
update-alternatives ${cmdln}
1919
}
2020

21-
GCC_ALTERNATIVES_PRI=99
21+
GCC_ALTERNATIVES_PRI=${2}
2222
GCC_ALTERNATIVES_PATH="/usr/bin/"
2323

2424
# setup gcc group

0 commit comments

Comments
 (0)