Duplicating Cling_Runtime and Cling_Runtime_Extra in both module.modulemap
and module.modulemap.build causes redefinition errors if -Dbuiltin_clang=Off.
We should not duplicate the cling runtime modules in both modulemaps.
This commit is contained in:
Vassil Vassilev 2019-03-23 00:02:26 +02:00 committed by SFT
parent 27f03abc6c
commit b639a0d53c

View File

@ -1,19 +1,3 @@
// Only included at runtime.
module Cling_Runtime {
module "RuntimeUniverse.h" { header "Interpreter/RuntimeUniverse.h" export * }
module "DynamicLookupRuntimeUniverse.h" { header "Interpreter/DynamicLookupRuntimeUniverse.h" export * }
module "RuntimePrintValue.h" { header "Interpreter/RuntimePrintValue.h" export * }
export *
}
// Included in both compile time and runtime.
module Cling_Runtime_Extra {
module "DynamicExprInfo.h" { header "Interpreter/DynamicExprInfo.h" export * }
module "DynamicLookupLifetimeHandler.h" { header "Interpreter/DynamicLookupLifetimeHandler.h" export * }
module "Value.h" { header "Interpreter/Value.h" export * }
export *
}
module Cling_Interpreter {
requires cplusplus
umbrella "Interpreter"