Skip to content

Commit fcded85

Browse files
author
Theo Paris
committed
build: allow riscv64
1 parent 46c3676 commit fcded85

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,9 @@ elseif(${OPENLIBM_ARCH_FOLDER} STREQUAL "powerpc")
500500
list(APPEND OPENLIBM_C_SOURCE
501501
"${PROJECT_SRC}/powerpc/fenv.c"
502502
)
503+
elseif(${OPENLIBM_ARCH_FOLDER} STREQUAL "riscv64")
504+
list(APPEND OPENLIBM_C_SOURCE
505+
"${PROJECT_SRC}/riscv64/fenv.c")
503506
else()
504507
message(FATAL_ERROR "${PROJECT_NAME} CMake build is not set up for ${OPENLIBM_ARCH_FOLDER}")
505508
endif()

0 commit comments

Comments
 (0)