Skip to content

Upgrade builder bison & gcc #25925

Answered by weide-zhou
trexxet asked this question in Actions
Discussion options

You must be logged in to vote

Hi @trexxet,

Glad to see you in Github Community Forum!

You can update the version to bison3.6 and install GCC10 on the hosted runner, code sample as below:

      - name: update bison
        run: |
          wget http://ftp.gnu.org/gnu/bison/bison-3.6.tar.gz
          tar -zxvf bison-3.6.tar.gz
          cd bison-3.6
          ./configure
          make
          sudo make install         
      - name: update GCC
        run: |
          sudo apt-get install build-essential software-properties-common 
          sudo add-apt-repository ppa:ubuntu-toolchain-r/test
          sudo apt-get install gcc-10 g++-10
          sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants