mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-13 14:35:46 -04:00
CPU: Add new experimental recompiler
This commit is contained in:
@ -23,6 +23,7 @@ endif()
|
||||
# Renderer options.
|
||||
option(ENABLE_OPENGL "Build with OpenGL renderer" ON)
|
||||
option(ENABLE_VULKAN "Build with Vulkan renderer" ON)
|
||||
option(ENABLE_NEWREC "Build with experimental new dynarec (needed for RISC-V)" ON)
|
||||
|
||||
# Global options.
|
||||
if(NOT ANDROID)
|
||||
@ -171,6 +172,9 @@ elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "arm" OR "${CMAKE_SYSTEM_PROCESSOR}"
|
||||
endif()
|
||||
elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "riscv64")
|
||||
set(CPU_ARCH "riscv64")
|
||||
|
||||
# Not done for us. Or we should inline atomics?
|
||||
link_libraries("-latomic")
|
||||
else()
|
||||
message(FATAL_ERROR "Unknown system processor: ${CMAKE_SYSTEM_PROCESSOR}")
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user