Skip to content

[SPEC] Define arch/os portability flag for riscv64-linux-gnu #158

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

Merged
merged 1 commit into from
Oct 26, 2024
Merged
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 External/SPEC/SpecCPU2017.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ macro (speccpu2017_benchmark)
elseif (ARCH STREQUAL "AArch64" AND TARGET_OS STREQUAL "Linux" AND CMAKE_SIZEOF_VOID_P EQUAL 8)
# Linux ARM
list(APPEND SPEC_COMMON_DEFS "-DSPEC_LINUX_AARCH64")
elseif (ARCH STREQUAL "riscv64")
list(APPEND SPEC_COMMON_DEFS "-DSPEC_MANUAL_CONFIG")
elseif (ARCH STREQUAL "x86" AND TARGET_OS STREQUAL "Windows")
# Windows x86/x64
elseif (TARGET_OS STREQUAL "Darwin")
Expand Down