SFTtech/openage

Allow easy usage of different compiler versions in the buildsystem

Closed

#1,253 opened on May 4, 2020

 (1 comment) (0 reactions) (0 assignees)Python (1,135 forks)batch import
area: buildsystemgood first issueimprovement

Repository metrics

Stars
 (12,130 stars)
PR merge metrics
 (Avg merge 9d 23h) (1 merged PR in 30d)

Description

Right now we can not easily set a compile and a version within our configure script. #1250 did a small fix for clang-9 and clang-10 because we needed that for the CI. But it would be nice to create some parser that "respects the versions making it easier to test for multiple compiler versions" (@TheJJ ).

Regarding:

This should be just a small fix, we should probably implement something that splits compiler into compiler-name and compiler-version => if it's clang and then append the version to clang++.

Originally posted by @simonsan in https://github.com/SFTtech/openage/pull/1250

And yes, the compiler-name-and-version parser would be the real fix. But, if we implement it, the version should actually be respected, since that way you may test multiple compiler versions easily.

Originally posted by @TheJJ in https://github.com/SFTtech/openage/pull/1250

Contributor guide