Skip to content

Commit

Permalink
Merge pull request #618 from hvdijk/arm-qemu-arm
Browse files Browse the repository at this point in the history
Restore ARM CMAKE_CROSSCOMPILING_EMULATOR.
  • Loading branch information
hvdijk authored Dec 23, 2024
2 parents f4449c2 + 8fa8682 commit 5863b9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/developer-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ ninja -C build-arm install
```

The provided `arm-toolchain.cmake` will set the `CMAKE_CROSSCOMPILING_EMULATOR`
variable to `qemu-armhf`; if available, the oneAPI Construction Kit can use this
variable to `qemu-arm`; if available, the oneAPI Construction Kit can use this
to enable emulated testing using the `check` target.

```sh
Expand Down
2 changes: 1 addition & 1 deletion platform/arm-linux/arm-toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)

set(CMAKE_CROSSCOMPILING_EMULATOR qemu-armhf -L ${CMAKE_FIND_ROOT_PATH} CACHE STRING "")
set(CMAKE_CROSSCOMPILING_EMULATOR qemu-arm -L ${CMAKE_FIND_ROOT_PATH} CACHE STRING "")

0 comments on commit 5863b9a

Please sign in to comment.