mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-10-05 00:05:12 -04:00
* CMake: ARM toolchain files * CI: Cross compile for ARM instead of emulating the entire build * CMake: do not use mcpu=native when cross compiling * CI: Disable testapproval [skip ci] * CI: Disable armel tests * CI: Disable test_mem on ARM
9 lines
255 B
CMake
9 lines
255 B
CMake
# SPDX-License-Identifier: MIT
|
|
|
|
set(CMAKE_SYSTEM_NAME Linux)
|
|
set(CMAKE_SYSTEM_PROCESSOR arm32v7)
|
|
set(CMAKE_CROSSCOMPILING ON)
|
|
|
|
set(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc)
|
|
set(CMAKE_CROSSCOMPILING_EMULATOR "qemu-arm-static;-L;/usr/arm-linux-gnueabihf/")
|