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 5c53756 commit 91e0db4Copy full SHA for 91e0db4
utils/swift_build_support/swift_build_support/products/product.py
@@ -37,6 +37,16 @@ def product_source_name(cls):
37
It provides a customization point for Product subclasses. It is set to
38
the value of product_name() by default for this reason.
39
"""
40
+
41
+ llvm_projects = ['clang',
42
+ 'clang-tools-extra',
43
+ 'compiler-rt',
44
+ 'libcxx',
45
+ 'lldb',
46
+ 'llvm']
47
48
+ if cls.product_name() in llvm_projects:
49
+ return "llvm-project/{}".format(cls.product_name())
50
return cls.product_name()
51
52
@classmethod
0 commit comments