Skip to content
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

mimalloc depdence #364

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

mimalloc depdence #364

wants to merge 3 commits into from

Conversation

wtr0504
Copy link
Contributor

@wtr0504 wtr0504 commented Nov 15, 2024

添加CRANE_USE_MIMALLOC选项,与CRANE_ADDRESS_SANITIZER、CRANE_THREAD_SANITIZER联动

@L-Xiafeng L-Xiafeng added enhancement New feature or request build Build system change labels Nov 15, 2024
@@ -0,0 +1,19 @@

if(CRANE_USE_MIMALLOC)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add_subdirectory那里判断就行了


if(CRANE_ADDRESS_SANITIZER AND NOT CRANE_THREAD_SANITIZER)
set(MI_TRACK_ASAN ON CACHE BOOL "Enable ASAN in mimalloc" FORCE)
message("Set ASAN enable in mimalloc")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这些普通的message加一个STATUS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build system change enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants