d08c2860da
ysyx_22040000 李心杨 Linux calcite 6.6.19 #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar 1 12:35:11 UTC 2024 x86_64 GNU/Linux 16:26:21 up 4 days 3:32, 2 users, load average: 0.85, 0.91, 0.95
16 lines
No EOL
287 B
CMake
16 lines
No EOL
287 B
CMake
cmake_minimum_required(VERSION 3.22)
|
|
|
|
project(am-kernels)
|
|
set(CMAKE_C_STANDARD 11)
|
|
enable_language(C ASM)
|
|
|
|
include(CheckPIESupported)
|
|
check_pie_supported()
|
|
|
|
if(${PLATFORM} MATCHES "native")
|
|
set(ARCH "native")
|
|
else()
|
|
set(ARCH ${ISA}-${PLATFORM})
|
|
endif()
|
|
|
|
add_subdirectory(tests/cpu-tests) |