Install devtoolset-7 for RHEL 7 derivatives #86
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
RHEL 7 and clones (CentOS, Oracle Linux, etc.) have GCC 4.8 which is too old for multicore. It is possible to get GCC 7 via RedHat Software Collections which this PR starts to enable.
Accessing the commands needs some trickery via the
scl
command (scl enable devtoolset-7 bash
gives you a shell with the appropriate tweaks - I haven't looked in enough detail to see if you can persist it).There'd then be the question of whether to have all CentOS 7 and Oracle Linux 7 images using GCC 7 (probably bad - better for the images for the older compilers to use the stock GCC, however old it is) or to build a separate opam image specifically for use by OCaml 5.00.0+ (more work, more space).
Anyway, this is what I'd done so far.