Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for riscv64 #1023

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cmake/VSTConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ if(NOT VST3_PACKAGE_ARCHITECTURE)
set(VST3_PACKAGE_ARCHITECTURE "${VST3_SYSTEM_PROCESSOR}")
elseif(VST3_SYSTEM_PROCESSOR MATCHES "^(aarch64)$")
set(VST3_PACKAGE_ARCHITECTURE "aarch64")
elseif(VST3_SYSTEM_PROCESSOR MATCHES "^(riscv64)$")
set(VST3_PACKAGE_ARCHITECTURE "riscv64")
else()
message(FATAL_ERROR "We don't know this architecture for VST3: ${VST3_SYSTEM_PROCESSOR}.")
endif()
Expand Down
2 changes: 1 addition & 1 deletion external/atomic_queue/include/atomic_queue/defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ static inline void spin_loop_pause() noexcept {
_mm_pause();
}
} // namespace atomic_queue
#elif defined(__arm__) || defined(__aarch64__)
#elif defined(__arm__) || defined(__aarch64__) || defined(__riscv)
namespace atomic_queue {
constexpr int CACHE_LINE_SIZE = 64;
static inline void spin_loop_pause() noexcept {
Expand Down