Skip to content

Commit

Permalink
arm64 initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
RassK committed Feb 16, 2024
1 parent 67673bb commit 32be8e8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
log-dir: "/var/log/opentelemetry/dotnet"
- machine: macos-11
log-dir: "/var/log/opentelemetry/dotnet"
- machine: actuated-arm64
log-dir: "/var/log/opentelemetry/dotnet"
runs-on: ${{ matrix.machine }}
steps:
- uses: actions/checkout@v4.1.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
<Platform>x64</Platform>
<StorePath>$(StoreOutputBasePath)</StorePath>
</StoreRuntime>
<StoreRuntime Include="arm64" Condition="'$([MSBuild]::IsOSPlatform('Linux'))'">
<Platform>arm64</Platform>
<StorePath>$(StoreOutputBasePath)</StorePath>
</StoreRuntime>
</ItemGroup>

<Message Text="Calling ComposeStore for TargetFramework='$(TargetFramework)'" Importance="high" />
Expand Down
2 changes: 2 additions & 0 deletions src/OpenTelemetry.AutoInstrumentation.Native/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ elseif (ISX86)
add_compile_options(-DBX86 -DHOST_X86)
elseif (ISARM64)
add_compile_options(-DARM64)
# See https://github.com/dotnet/runtime/issues/78286
add_compile_definitions(HOST_ARM64)
elseif (ISARM)
add_compile_options(-DARM)
endif()
Expand Down

0 comments on commit 32be8e8

Please sign in to comment.