Accepting request 1219149 from devel:BCI:Tumbleweed

🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1219149
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gcc-12-image?expand=0&rev=25
This commit is contained in:
Dominique Leuenberger 2024-10-30 16:35:53 +00:00 committed by Git OBS Bridge
commit b5104d85e5
3 changed files with 13 additions and 5 deletions

View File

@ -17,13 +17,12 @@
#!BuildTag: opensuse/bci/gcc:%%gcc_minor_version%%-%RELEASE%
#!BuildTag: opensuse/bci/gcc:%%gcc_minor_version%%
#!BuildTag: opensuse/bci/gcc:12-%RELEASE%
#!BuildTag: opensuse/bci/gcc:12
FROM opensuse/tumbleweed:latest
RUN set -euo pipefail; \
zypper -n install --no-recommends gcc12 gcc12-c++ make curl findutils gawk git-core procps util-linux; \
zypper -n install --no-recommends gcc12 gcc12-c++ gcc12-fortran make curl findutils gawk git-core procps util-linux; \
zypper -n clean; \
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}
@ -48,6 +47,6 @@ ENV GCC_VERSION="%%gcc_minor_version%%"
# symlink all versioned gcc & g++ binaries to unversioned
# ones in /usr/local/bin so that plain gcc works
RUN set -euo pipefail; for gcc_bin in $(rpm -ql gcc12 gcc12-c++ |grep ^/usr/bin/ ); do \
RUN set -euo pipefail; for gcc_bin in $(rpm -ql gcc12 gcc12-c++ gcc12-fortran |grep ^/usr/bin/ ); do \
ln -sf $gcc_bin $(echo "$gcc_bin" | sed -e 's|/usr/bin/|/usr/local/bin/|' -e 's|-12$||'); \
done

View File

@ -59,10 +59,9 @@ using `zypper`. This includes the following:
### Available compiler frontends
The GNU Compiler Collections supports a wide range of frontends. The container
image ships the C and C++ frontends available as `gcc` and `g++`
image ships the C, C++ and fortran frontends available as `gcc`, `g++` and `gfortran`
respectively. The following additional frontends can be installed from the
repository:
- `gcc12-fortran` for Fortran support
- `gcc12-ada` for the Ada frontend (GNAT)
- `gcc12-go` for the Go frontend
- `gcc12-objc` and `gcc12-obj-c++` for the Objective C and Objective C++

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Oct 29 15:23:20 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
- drop tag_version-%RELEASE%
-------------------------------------------------------------------
Tue Oct 29 14:22:15 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
- add fortran
-------------------------------------------------------------------
Mon Oct 14 11:26:26 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>