Skip to content

Commit 7568b3b

Browse files
Jemalloc : Disable for macOS builds
Jemalloc 3.6.0 is too old to be compatible with macOS 14 & Xcode 15, reporting `configure: error: Unsupported malloc zone version` when configuring the build. We could build Jemalloc with `--enable-zone-allocator=no` but that would prevent it from acting as the default allocator on macOS. We'd need to update to Jemalloc 5.3.0, or look at alternative allocators.
1 parent 639409b commit 7568b3b

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

Changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- Boost : Updated to version 1.85.0.
55
- Cortex : Updated to version 10.7.0.0a2.
66
- Imath : Updated to version 3.1.12.
7+
- Jemalloc : Removed when building on macOS.
78
- LLVM : Updated to version 17.0.6.
89
- OpenColorIO : Updated to version 2.4.2.
910
- OpenEXR : Updated to version 3.3.6.

Jemalloc/config.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,10 @@
2424
"lib/libjemalloc*{sharedLibraryExtension}*",
2525

2626
],
27+
28+
"platform:macos" : {
29+
30+
"enabled" : False,
31+
32+
},
2733
}

0 commit comments

Comments
 (0)