summaryrefslogtreecommitdiff
path: root/external/apache2/llvm/include/module.modulemap
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2021-05-30 01:56:44 +0000
committerjoerg <joerg@NetBSD.org>2021-05-30 01:56:44 +0000
commit40e3ea6a478c9261e8967dea4f3f31b847b90672 (patch)
treed96e2db8092ebdf41789ea57e76759fba417196d /external/apache2/llvm/include/module.modulemap
parent49fa550c02ab2afecb85b328f092b03626b3e83a (diff)
Update LLVM build system for 249b40b558955afe5ac2b549edcf2d7f859c8cc9
This enables the use of modules for a significant build performance gain when building with clang as host compiler or when using HAVE_LLVM=yes. Switch libc++ to using the copy from the mono-repo.
Diffstat (limited to 'external/apache2/llvm/include/module.modulemap')
-rw-r--r--external/apache2/llvm/include/module.modulemap13
1 files changed, 13 insertions, 0 deletions
diff --git a/external/apache2/llvm/include/module.modulemap b/external/apache2/llvm/include/module.modulemap
new file mode 100644
index 00000000000..162a262a00a
--- /dev/null
+++ b/external/apache2/llvm/include/module.modulemap
@@ -0,0 +1,13 @@
+// This is copied into the build area for a $src != $build compilation.
+module LLVM_Support_DataTypes {
+ header "Support/DataTypes.h"
+ export *
+}
+module LLVM_Config_ABI_Breaking {
+ header "Config/abi-breaking.h"
+ export *
+}
+module LLVM_Config_Config {
+ header "Config/llvm-config.h"
+ export *
+}