Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
solotzg committed Sep 22, 2022
1 parent ca3f707 commit 4dccd63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libs/libmemcpy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

# TODO: optimize for small size memory
option(USE_FOLLY_MEMCPY_IS_MEMCPY "use folly memcpy as default `memcpy` and `memmove`" OFF)
option(USE_FOLLY_MEMCPY_AS_MEMCPY "use folly memcpy as default `memcpy` and `memmove`" OFF)

set (memcpy_sources)

Expand All @@ -25,11 +25,11 @@ if (ARCH_LINUX AND TIFLASH_ENABLE_AVX_SUPPORT)
list (APPEND memcpy_sources folly/memcpy.S)
message (STATUS "`libmemcpy` support Folly memcpy")
else ()
set (USE_FOLLY_MEMCPY_IS_MEMCPY OFF)
set (USE_FOLLY_MEMCPY_AS_MEMCPY OFF)
endif ()

if (USE_INTERNAL_MEMCPY)
if (USE_FOLLY_MEMCPY_IS_MEMCPY)
if (USE_FOLLY_MEMCPY_AS_MEMCPY)
message (STATUS "Using Folly memcpy as default `memcpy` and `memmove`")
add_definitions(-DFOLLY_MEMCPY_IS_MEMCPY=1)
else ()
Expand Down

0 comments on commit 4dccd63

Please sign in to comment.