Skip to content

Commit

Permalink
[cmake] Fix arm64 binary package name on linux
Browse files Browse the repository at this point in the history
arm64 may be reported as aarch64
  • Loading branch information
tobil4sk committed Jun 28, 2024
1 parent a6e08df commit acb7ea0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: linux${{ matrix.name_suffix }}-${{ matrix.arch }}-binaries
path: bin/${{ matrix.link_type }}/linux/${{ matrix.arch }}/neko-${{ env.NEKO_VERSION }}-linux64.tar.gz
path: bin/${{ matrix.link_type }}/linux/${{ matrix.arch }}/neko-${{ env.NEKO_VERSION }}-linux*.tar.gz

mac-build:
name: mac
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ else()
set(OS_NAME "")
endif()

if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "arm64")
if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "arm64" OR ${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64")
set(arch_suffix "-arm64")
else()
set(arch_suffix ${arch_64})
Expand Down

0 comments on commit acb7ea0

Please sign in to comment.