Myoldmopar / decent_ci

0 stars 0 forks source link

Allow missing version #25

Closed Myoldmopar closed 5 years ago

Myoldmopar commented 5 years ago

Clang was failing to configure because it adds some default compiler flags when it can't pick up the right compiler. Ultimately this was caused because the cc and cxx weren't being searched because the version was not specified, and Decent CI required it. The search function actually allows for it to be missing, and if it is missing, it tries to just find one without a specific version. However, we were exiting too early and not even trying to search for it. Just eliminate that loophole. We are required to specify a version on Windows with Visual Studio, so no issue there. And the GCC builds already specify a version, so it shouldn't affect those. Hopefully it will be a quick, painless fix that will get Mac working well.