SFTtech/openage

Allow easy usage of different compiler versions in the buildsystem

Geschlossen

#1.253 geöffnet am 04.05.2020

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Python (1.135 Forks)batch import
area: buildsystemgood first issueimprovement

Repository-Metriken

Stars
 (12.130 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 9T 23h) (1 gemergte PR in 30 T)

Beschreibung

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