-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#14174) mimalloc: add version 1.7.7/2.0.7, support conan v2
* mimalloc: add version 1.7.7/2.0.7, support conan v2 * fix linter error * fix DYLD_INSERT_LIBRARIES error * remove lib/pkgconfig * add condition for MSVC MD * fix comment Co-authored-by: Chris Mc <prince.chrismc@gmail.com> * fix error message Co-authored-by: Chris Mc <prince.chrismc@gmail.com> * fix copy function call Co-authored-by: Chris Mc <prince.chrismc@gmail.com> * fix copy function call Co-authored-by: Chris Mc <prince.chrismc@gmail.com> * remove duplicated import Co-authored-by: Chris Mc <prince.chrismc@gmail.com> * add patch_description * fix execution error * use self.info.options Co-authored-by: Uilian Ries <uilianries@gmail.com> Co-authored-by: Chris Mc <prince.chrismc@gmail.com> Co-authored-by: Uilian Ries <uilianries@gmail.com>
- Loading branch information
1 parent
7113f33
commit 9c9f44e
Showing
11 changed files
with
309 additions
and
160 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
File renamed without changes.
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
22 changes: 22 additions & 0 deletions
22
recipes/mimalloc/all/patches/2.0.7-0001-change-install-paths.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/CMakeLists.txt b/CMakeLists.txt | ||
index 2550f0d..da42112 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -360,7 +360,7 @@ if(MI_BUILD_SHARED) | ||
install(FILES "$<TARGET_FILE_DIR:mimalloc>/mimalloc-redirect${MIMALLOC_REDIRECT_SUFFIX}.dll" DESTINATION ${mi_install_libdir}) | ||
endif() | ||
|
||
- install(TARGETS mimalloc EXPORT mimalloc DESTINATION ${mi_install_libdir} LIBRARY) | ||
+ install(TARGETS mimalloc EXPORT mimalloc RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib) | ||
install(EXPORT mimalloc DESTINATION ${mi_install_cmakedir}) | ||
endif() | ||
|
||
@@ -384,7 +384,7 @@ if (MI_BUILD_STATIC) | ||
set_target_properties(mimalloc-static PROPERTIES OUTPUT_NAME ${mi_basename}) | ||
endif() | ||
|
||
- install(TARGETS mimalloc-static EXPORT mimalloc DESTINATION ${mi_install_objdir} LIBRARY) | ||
+ install(TARGETS mimalloc-static EXPORT mimalloc RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib) | ||
install(EXPORT mimalloc DESTINATION ${mi_install_cmakedir}) | ||
endif() | ||
|
Oops, something went wrong.