Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Disable SIMD as a tentative workaround for arm64 safari corruption #1050

Closed
wants to merge 7 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 9 additions & 25 deletions Uno.Gallery/Uno.Gallery.Wasm/Uno.Gallery.Wasm.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
<WasmHead>true</WasmHead>
<DefineConstants>__WASM__</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>

<UnoUIUseRoslynSourceGenerators>false</UnoUIUseRoslynSourceGenerators>
<WasmShellWebAppBasePath>/</WasmShellWebAppBasePath>
<WasmShellWebAppBasePath>/</WasmShellWebAppBasePath>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='Debug'">
Expand All @@ -22,10 +20,10 @@

<PropertyGroup Condition="'$(Configuration)'=='Release'">
<WasmShellMonoRuntimeExecutionMode>InterpreterAndAOT</WasmShellMonoRuntimeExecutionMode>
<WasmShellEmccLinkOptimization>false</WasmShellEmccLinkOptimization>
<WasmShellEmccLinkOptimization>true</WasmShellEmccLinkOptimization>
<WasmShellEnableEmccProfiling>true</WasmShellEnableEmccProfiling>
<UnoXamlResourcesTrimming>true</UnoXamlResourcesTrimming>

<!--
Uncomment this block to generate a profile
<WasmShellGenerateAOTProfile>true</WasmShellGenerateAOTProfile>
Expand All @@ -35,21 +33,17 @@
-->
</PropertyGroup>

<PropertyGroup>
<WasmShellAOTProfileExcludedMethods>System\.IO;AsyncTaskMethodBuilder;AsyncValueTaskMethodBuilder</WasmShellAOTProfileExcludedMethods>
</PropertyGroup>

<ItemGroup>
<MonoRuntimeMixedModeExcludedAssembly Include="System.Private.Xml" />
<MonoRuntimeMixedModeExcludedAssembly Include="System.Linq.Expressions" />
<MonoRuntimeMixedModeExcludedAssembly Include="Uno.UI.FluentTheme" />
<MonoRuntimeMixedModeExcludedAssembly Include="Uno.UI.FluentTheme.v1" />
<MonoRuntimeMixedModeExcludedAssembly Include="Uno.UI.FluentTheme.v2" />
</ItemGroup>

<PropertyGroup Condition="'$(Configuration)'=='Debug' or '$(IsUiAutomationMappingEnabled)'=='True'">
<IsUiAutomationMappingEnabled>True</IsUiAutomationMappingEnabled>
<DefineConstants>$(DefineConstants);USE_UITESTS</DefineConstants>
</PropertyGroup>


<ItemGroup Condition="'$(Configuration)'=='Release' and '$(WasmShellMonoRuntimeExecutionMode)'=='InterpreterAndAOT'">
<WasmShellEnableAotProfile Condition="'$(IsUiAutomationMappingEnabled)'==''" Include="aot.profile" />

Expand All @@ -59,16 +53,6 @@
<WasmShellEnableAotProfile Condition="'$(IsUiAutomationMappingEnabled)'=='True'" Include="aot-uitests.profile" />
</ItemGroup>

<PropertyGroup>
<WasmShellAOTProfileExcludedMethods>$(WasmShellAOTProfileExcludedMethods);System\.Reflection\.Assembly\.GetExecutingAssembly</WasmShellAOTProfileExcludedMethods>
<WasmShellAOTProfileExcludedMethods>$(WasmShellAOTProfileExcludedMethods);Dispose</WasmShellAOTProfileExcludedMethods>
</PropertyGroup>


<ItemGroup>
<MonoRuntimeMixedModeExcludedAssembly Include="System.Console" />
</ItemGroup>

<ItemGroup>
<Content Include="Assets\SplashScreen.png" />
</ItemGroup>
Expand Down Expand Up @@ -117,8 +101,8 @@
<PackageReference Include="Uno.WinUI.MediaPlayer.WebAssembly" Version="5.0.0-dev.2366" />
<PackageReference Include="Uno.WinUI.WebAssembly" Version="5.0.0-dev.2366" />
<PackageReference Include="Uno.WinUI.RemoteControl" Version="5.0.0-dev.2366" Condition="'$(Configuration)'=='Debug'" />
<PackageReference Include="Uno.Wasm.Bootstrap" Version="8.0.0-dev.252" />
<PackageReference Include="Uno.Wasm.Bootstrap.DevServer" Version="8.0.0-dev.252" />
<PackageReference Include="Uno.Wasm.Bootstrap" Version="8.0.0" />
<PackageReference Include="Uno.Wasm.Bootstrap.DevServer" Version="8.0.0" />
<PackageReference Include="Microsoft.TypeScript.Compiler" Version="3.1.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
Expand Down
Loading