SFTtech/openage

Allow easy usage of different compiler versions in the buildsystem

Chiusa

#1253 aperta il 4 mag 2020

 (1 commento) (0 reazioni) (0 assegnatari)Python (1135 fork)batch import
area: buildsystemgood first issueimprovement

Metriche repository

Star
 (12.130 stelle)
Metriche merge PR
 (Merge medio 9g 23h) (1 PR mergiata in 30 g)

Descrizione

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

Guida contributor