This patch allows me to build KDevelop under macOS again
TODO: Get rid off uses of "Compile"/"UseClang" setting.
vonreth |
This patch allows me to build KDevelop under macOS again
TODO: Get rid off uses of "Compile"/"UseClang" setting.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
There are a couple of uses of supportsClang in craft.git, wondering if we should just try to get rid off them. Opinions?
portage/win32libs/llvm-meta/llvm/llvm.py 26: self.supportsClang = utils.utilsCache.findApplication("clang") is not None portage/dev-util/clazy/clazy.py 20: self.supportsClang = False bin/BuildSystem/BuildSystemBase.py 22: self.supportsClang = craftSettings.getboolean("Compile","UseClang", False ) 75: if self.supportsClang:
Does msvc20xx-clang work?
Getting rid of supports clang sounds good but how to build clang on windows then :)
bin/compiler.py | ||
---|---|---|
116 | I really prefer the f"{compilerExecutable}" as I then know what goes where or "{compilerExecutable}".format(compilerExecutable=compilerExecutable) {0} is no more verbose than %s |
Didn't try.
Getting rid of supports clang sounds good but how to build clang on windows then :)
True. I'll try to come up with a solution for this. I think we should be able to define an 'alternative compiler' or something