Skip to content

Commit

Permalink
Add test for aarch64
Browse files Browse the repository at this point in the history
Signed-off-by: HyukWoo Park <[email protected]>
  • Loading branch information
clover2123 committed Oct 31, 2023
1 parent 1df8e3a commit bf602a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,6 @@ jobs:
commands: |
apt-get update
apt-get install -y cmake build-essential ninja-build
cmake -H. -Bout/linux/aarch64 -DWALRUS_ARCH=aarch64 -DWALRUS_HOST=linux -DWALRUS_MODE=debug -DWALRUS_OUTPUT=shell -GNinja
ninja -Cout/linux/aarch64
./tools/run-tests.py --engine="./out/linux/aarch64/walrus"
1 change: 1 addition & 0 deletions build/target.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ IF (${WALRUS_HOST} STREQUAL "linux")
SET (WALRUS_BUILD_32BIT ON)
SET (WALRUS_CXXFLAGS ${WALRUS_CXXFLAGS} -march=armv7-a -mthumb)
ELSEIF (${WALRUS_ARCH} STREQUAL "aarch64")
SET (WALRUS_CXXFLAGS ${WALRUS_CXXFLAGS} -march=armv8-a)
ELSE()
MESSAGE (FATAL_ERROR ${WALRUS_ARCH} " is unsupported")
ENDIF()
Expand Down

0 comments on commit bf602a5

Please sign in to comment.