-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#23709) mimalloc: add version 2.1.7, 1.8.7, remove older versions
* mimalloc: add version 2.1.4, 1.8.4, remove older versions * (trial) drop support 1.6.7 * make MI_WIN_REDIRECT off * update 2.1.6 * update 2.1.7 * fix config.yml * add build_requires
- Loading branch information
Showing
13 changed files
with
70 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 0 additions & 40 deletions
40
recipes/mimalloc/all/patches/1.6.7-0001-change-install-paths-avoid-symlink.patch
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
recipes/mimalloc/all/patches/1.6.7-0002-include-cstddef-to-get-std-size-t.patch
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
recipes/mimalloc/all/patches/1.7.7-0001-change-install-paths.patch
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
recipes/mimalloc/all/patches/1.8.7-0002-support-older-compiler.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/include/mimalloc.h b/include/mimalloc.h | ||
index ae6f99b..773424e 100644 | ||
--- a/include/mimalloc.h | ||
+++ b/include/mimalloc.h | ||
@@ -511,7 +511,7 @@ template<class T, bool _mi_destroy> struct _mi_heap_stl_allocator_common : publi | ||
#endif | ||
|
||
void collect(bool force) { mi_heap_collect(this->heap.get(), force); } | ||
- template<class U> bool is_equal(const _mi_heap_stl_allocator_common<U, _mi_destroy>& x) const { return (this->heap == x.heap); } | ||
+ template<class U, bool b> bool is_equal(const _mi_heap_stl_allocator_common<U, b>& x) const { return (this->heap == x.heap); } | ||
|
||
protected: | ||
std::shared_ptr<mi_heap_t> heap; | ||
@@ -522,7 +522,7 @@ protected: | ||
this->heap.reset(hp, (_mi_destroy ? &heap_destroy : &heap_delete)); /* calls heap_delete/destroy when the refcount drops to zero */ | ||
} | ||
_mi_heap_stl_allocator_common(const _mi_heap_stl_allocator_common& x) mi_attr_noexcept : heap(x.heap) { } | ||
- template<class U> _mi_heap_stl_allocator_common(const _mi_heap_stl_allocator_common<U, _mi_destroy>& x) mi_attr_noexcept : heap(x.heap) { } | ||
+ template<class U, bool b> _mi_heap_stl_allocator_common(const _mi_heap_stl_allocator_common<U, b>& x) mi_attr_noexcept : heap(x.heap) { } | ||
|
||
private: | ||
static void heap_delete(mi_heap_t* hp) { if (hp != NULL) { mi_heap_delete(hp); } } |
30 changes: 0 additions & 30 deletions
30
recipes/mimalloc/all/patches/2.0.2-0001-change-install-paths-avoid-symlink.patch
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
recipes/mimalloc/all/patches/2.0.2-0002-include-cstddef-to-get-std-size-t.patch
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
recipes/mimalloc/all/patches/2.0.3-0001-change-install-paths-avoid-symlink.patch
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
recipes/mimalloc/all/patches/2.0.6-0001-change-install-paths.patch
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
recipes/mimalloc/all/patches/2.0.7-0001-change-install-paths.patch
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
recipes/mimalloc/all/patches/2.1.7-0002-support-older-compiler.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/include/mimalloc.h b/include/mimalloc.h | ||
index c41bcc8..cc4929e 100644 | ||
--- a/include/mimalloc.h | ||
+++ b/include/mimalloc.h | ||
@@ -512,7 +512,7 @@ template<class T, bool _mi_destroy> struct _mi_heap_stl_allocator_common : publi | ||
#endif | ||
|
||
void collect(bool force) { mi_heap_collect(this->heap.get(), force); } | ||
- template<class U> bool is_equal(const _mi_heap_stl_allocator_common<U, _mi_destroy>& x) const { return (this->heap == x.heap); } | ||
+ template<class U, bool b> bool is_equal(const _mi_heap_stl_allocator_common<U, b>& x) const { return (this->heap == x.heap); } | ||
|
||
protected: | ||
std::shared_ptr<mi_heap_t> heap; | ||
@@ -523,7 +523,7 @@ protected: | ||
this->heap.reset(hp, (_mi_destroy ? &heap_destroy : &heap_delete)); /* calls heap_delete/destroy when the refcount drops to zero */ | ||
} | ||
_mi_heap_stl_allocator_common(const _mi_heap_stl_allocator_common& x) mi_attr_noexcept : heap(x.heap) { } | ||
- template<class U> _mi_heap_stl_allocator_common(const _mi_heap_stl_allocator_common<U, _mi_destroy>& x) mi_attr_noexcept : heap(x.heap) { } | ||
+ template<class U, bool b> _mi_heap_stl_allocator_common(const _mi_heap_stl_allocator_common<U, b>& x) mi_attr_noexcept : heap(x.heap) { } | ||
|
||
private: | ||
static void heap_delete(mi_heap_t* hp) { if (hp != NULL) { mi_heap_delete(hp); } } |
Oops, something went wrong.