derickson2402 / Dockerized-CAEN

Containerized dev environment that plugs into VS Code so you can test on CAEN without the hassle
GNU General Public License v3.0
5 stars 1 forks source link

Configure container with CAEN g++ version #4

Closed derickson2402 closed 2 years ago

derickson2402 commented 2 years ago

CAEN servers run g++ 6.2.0, which will have to be compiled from source for this container.

derickson2402 commented 2 years ago

See branch feature/gcc-6.2.0 for more on this issue.

This link contains a patch for compiling gcc-6.2.0 on newer versions of CentOS. Hopefully it will work 🤞

derickson2402 commented 2 years ago

UPDATE:

The patch did work! But not quite, because apparently the --enable-languages=c,c++,fortran flag has to be set or else gcc will try to install some more broken stuff for some reason??

Anyways, tested on some projects which compiled in v0.5 of this container but not on CAEN, and it didn't compile! Very good stuff!