We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7edb525 commit 2e472a1Copy full SHA for 2e472a1
var/spack/repos/builtin/packages/llvm/package.py
@@ -1144,12 +1144,12 @@ def post_install(self):
1144
with open(os.path.join(self.prefix.bin, cfg), "w") as f:
1145
print(gcc_install_dir_flag, file=f)
1146
1147
- def llvm_config(self, *args, **kwargs):
+ def llvm_config(self, *args, result=None, **kwargs):
1148
lc = Executable(self.prefix.bin.join("llvm-config"))
1149
if not kwargs.get("output"):
1150
kwargs["output"] = str
1151
ret = lc(*args, **kwargs)
1152
- if kwargs.get("result") == "list":
+ if result == "list":
1153
return ret.split()
1154
else:
1155
return ret
0 commit comments