Skip to content

Commit

Permalink
Disable mimalloc for python binding builds
Browse files Browse the repository at this point in the history
  • Loading branch information
MikePopoloski committed Jun 25, 2023
1 parent 4906dfa commit e7d434d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
add_compile_options(/utf-8 /bigobj /permissive-)
endif()

# mimalloc is incompatible with Python bindings on MacOS
if(CMAKE_SYSTEM_NAME MATCHES "Darwin" AND SLANG_INCLUDE_PYLIB)
# mimalloc is incompatible with Python bindings
if(SLANG_INCLUDE_PYLIB)
set(SLANG_USE_MIMALLOC OFF)
endif()

Expand Down

0 comments on commit e7d434d

Please sign in to comment.