Skip to content

Add arm64 architecture to the shared store #2181

@pjanotti

Description

@pjanotti

The list at dotnet/runtime has other values but because of Apple M1 boxes, we may want to provide arm64 by default.

Adding all arch to the shared store doesn't seem scalable, ideally, we would have a way to automatically select the proper |arch|/|tfm| pair upon installing on the box. However, as mentioned, arm64 may be popular enough to justify its addition even without the general mechanism.

Temporary Workaround: rename $DOTNET_SHARED_STORE/x64/ to $DOTNET_SHARED_STORE/arm64/. The assemblies under the folder are IL only so source instrumentations are expected to work without issues. The native component is not supported on arm64 yet and given that the default rule engine will fail startup if it is enabled it needs to be disabled removing or setting the environment variable CORECLR_ENABLE_PROFILING to 0.

[EDIT 01: Update workaround since it is not going to work with the default rule engine checks.]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions