Skip to content

Commit

Permalink
g++ version 11 for Solaris
Browse files Browse the repository at this point in the history
  • Loading branch information
gansm committed Aug 1, 2023
1 parent 2b44114 commit 1273771
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/solaris.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ jobs:
with:
prepare: |
pkg publisher solaris
pkg update --accept
echo "========= before ggc install ========="
pkg install -v gcc-11
test -f /usr/bin/gcc || test -f /usr/gcc/11/bin/gcc && ln -s ../gcc/11/bin/gcc /usr/bin/gcc
test -f /usr/bin/g++ || test -f /usr/gcc/11/bin/g++ && ln -s ../gcc/11/bin/g++ /usr/bin/g++
/usr/bin/g++ -dumpfullversion -dumpversion
echo "========= after ggc install ========="
pkgutil -y -i automake autoconf autoconf_archive libtool pkgconfig libcppunit1_12_1 libcppunit_dev gsed ggrep
mem: 4096
Expand All @@ -36,5 +38,5 @@ jobs:
export PATH
autoreconf -v --install --force
./configure --prefix=/usr
gmake V=1 -j$(nproc)
CXX="/usr/gcc/11/bin/g++" gmake V=1 -j$(nproc)

0 comments on commit 1273771

Please sign in to comment.