Skip to content

Commit

Permalink
Fix jemalloc build on arm mac (#8852)
Browse files Browse the repository at this point in the history
close #8835
  • Loading branch information
CalvinNeo authored Mar 20, 2024
1 parent 63e83b3 commit 298703b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contrib/tiflash-proxy
Submodule tiflash-proxy updated 1 files
+2 −2 Cargo.toml
6 changes: 5 additions & 1 deletion contrib/tiflash-proxy-cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
if (CMAKE_BUILD_TYPE_UC STREQUAL "DEBUG" OR SAN_DEBUG)
set(_TIFLASH_PROXY_BUILD_PROFILE "debug")
if (ENABLE_JEMALLOC)
set(_TIFLASH_PROXY_MAKE_COMMAND ENABLE_FEATURES="external-jemalloc" make debug)
if (APPLE)
set(_TIFLASH_PROXY_MAKE_COMMAND make debug)
else()
set(_TIFLASH_PROXY_MAKE_COMMAND ENABLE_FEATURES="external-jemalloc" make debug)
endif()
else()
set(_TIFLASH_PROXY_MAKE_COMMAND make debug)
endif()
Expand Down

0 comments on commit 298703b

Please sign in to comment.