Skip to content

Commit

Permalink
Setting up gcc 11 as an alternative
Browse files Browse the repository at this point in the history
We're not going to release this just yet. Minor convenience change that we'll fold into ts.9 when it goes out.
  • Loading branch information
thirtytwobits committed Jun 1, 2024
1 parent 35875ac commit 505b590
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion toolshed/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ FROM doxygen AS gcc-select
WORKDIR /tmp

ADD gcc-select.sh ./gcc-select.sh
RUN ./gcc-select.sh 12
RUN ./gcc-select.sh 11 1
RUN ./gcc-select.sh 12 99
RUN update-alternatives --display gcc

# LEAVE THE WORKDIR AS /repo
Expand Down
2 changes: 1 addition & 1 deletion toolshed/gcc-select.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ setup_gcc_alternatives()
update-alternatives ${cmdln}
}

GCC_ALTERNATIVES_PRI=99
GCC_ALTERNATIVES_PRI=${2}
GCC_ALTERNATIVES_PATH="/usr/bin/"

# setup gcc group
Expand Down

0 comments on commit 505b590

Please sign in to comment.