[libc-commits] [libc] f9753ef - [libc][Obvious] Fix a typo in setting FMA control option for RISCV64.
Tue Ly via libc-commits
libc-commits at lists.llvm.org
Fri Jun 2 08:16:32 PDT 2023
Author: Tue Ly
Date: 2023-06-02T11:15:29-04:00
New Revision: f9753ef1893c3d953a0244e7935d3997499b079a
URL: https://github.com/llvm/llvm-project/commit/f9753ef1893c3d953a0244e7935d3997499b079a
DIFF: https://github.com/llvm/llvm-project/commit/f9753ef1893c3d953a0244e7935d3997499b079a.diff
LOG: [libc][Obvious] Fix a typo in setting FMA control option for RISCV64.
Added:
Modified:
libc/cmake/modules/LLVMLibCObjectRules.cmake
Removed:
################################################################################
diff --git a/libc/cmake/modules/LLVMLibCObjectRules.cmake b/libc/cmake/modules/LLVMLibCObjectRules.cmake
index 688997228fd35..27c73afcc8c60 100644
--- a/libc/cmake/modules/LLVMLibCObjectRules.cmake
+++ b/libc/cmake/modules/LLVMLibCObjectRules.cmake
@@ -44,7 +44,7 @@ function(_get_common_compile_options output_var flags)
list(APPEND compile_options "-mavx2")
list(APPEND compile_options "-mfma")
elseif(LIBC_TARGET_ARCHITECTURE_IS_RISCV64)
- list(APPEND compile_option "-D__LIBC_RISCV_USE_FMA")
+ list(APPEND compile_options "-D__LIBC_RISCV_USE_FMA")
endif()
endif()
if(ADD_SSE4_2_FLAG)
More information about the libc-commits
mailing list