Skip to content

Commit b55b691

Browse files
lambdageekNathan Ricci
authored and
Nathan Ricci
committed
Enable MBR by default if interpreter is enabled
For performance testing
1 parent 5077c31 commit b55b691

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

src/mono/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR(CMAKE_CXX_COMPILER_ID STREQUAL "Cla
111111
set(GCC 1)
112112
endif()
113113

114+
if(DISABLE_INTERPRETER)
115+
unset(ENABLE_METADATA_UPDATE)
116+
endif()
117+
114118
add_definitions(-DHAVE_CONFIG_H)
115119
add_definitions(-DMONO_DLL_EXPORT)
116120

src/mono/mono.proj

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
-->
1313

1414
<PropertyGroup>
15+
<MonoMetadataUpdate Condition="'$(MonoMetadataUpdate)' == ''">true</MonoMetadataUpdate>
1516
<MonoCrossDir Condition="'$(MonoCrossDir)' == '' and '$(ROOTFS_DIR)' != ''">$(ROOTFS_DIR)</MonoCrossDir>
1617
<MonoForceInterpreter Condition="'$(MonoForceInterpreter)' == ''">false</MonoForceInterpreter>
1718
<ScriptExt Condition="'$(OS)' == 'Windows_NT'">.cmd</ScriptExt>

src/mono/netcore/System.Private.CoreLib/System.Private.CoreLib.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<Import Project="GenerateMonoCoreLibVersionFile.targets" />
44

55
<PropertyGroup>
6+
<MonoMetadataUpdate Condition="'$(MonoMetadataUpdate)' == ''">true</MonoMetadataUpdate>
67
<EnableDefaultItems>false</EnableDefaultItems>
78
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
89
<GenerateResxSourceOmitGetResourceString>true</GenerateResxSourceOmitGetResourceString>

src/mono/wasm/wasm.proj

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
</PropertyGroup>
66

77
<PropertyGroup>
8+
<MonoMetadataUpdate Condition="'$(MonoMetadataUpdate)' == ''">true</MonoMetadataUpdate>
89
<!-- FIXME: clean up the duplication with libraries Directory.Build.props -->
910
<PackageRID>browser-wasm</PackageRID>
1011
<NativeBinDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'native', '$(NetCoreAppCurrent)-$(TargetOS)-$(Configuration)-$(TargetArchitecture)'))</NativeBinDir>

0 commit comments

Comments
 (0)