mirror of
https://github.com/ErnyTech/neomimalloc
synced 2024-09-27 16:56:53 +02:00
b9584e861f
Now mimalloc symbols are inside neomimalloc library
67 lines
2.1 KiB
JSON
67 lines
2.1 KiB
JSON
{
|
|
"name": "neomimalloc",
|
|
"description": "Wrapper to use mimalloc in D with the support of high-level API std.experimental.allocator.",
|
|
"authors": [
|
|
"Ernesto Castellotti"
|
|
],
|
|
"copyright": "Copyright © 2019, Ernesto Castellotti <erny.castell@gmail.com>",
|
|
"license": "MPL-2.0",
|
|
"configurations": [
|
|
{
|
|
"name" : "standard",
|
|
"preBuildCommands-posix" : [
|
|
"cd $PACKAGE_DIR && git clone --recursive https://github.com/ErnyTech/neomimalloc || true",
|
|
"cd $PACKAGE_DIR/neomimalloc/source/mimalloc && rm -rf build && mkdir build && cd build && cmake -DMI_OVERRIDE=OFF .. && make"
|
|
],
|
|
"libs-posix" : [
|
|
":libmimalloc.a"
|
|
],
|
|
"lflags-posix" : [
|
|
"-L$PACKAGE_DIR/neomimalloc/source/mimalloc/build"
|
|
]
|
|
},
|
|
{
|
|
"name" : "secure",
|
|
"preBuildCommands-posix" : [
|
|
"cd $PACKAGE_DIR && git clone --recursive https://github.com/ErnyTech/neomimalloc || true",
|
|
"cd $PACKAGE_DIR/neomimalloc/source/mimalloc && rm -rf build && mkdir build && cd build && cmake -DMI_OVERRIDE=OFF -DMI_SECURE=ON .. && make"
|
|
],
|
|
"libs-posix" : [
|
|
":ibmimalloc-secure.a"
|
|
],
|
|
"lflags-posix" : [
|
|
"-L$PACKAGE_DIR/neomimalloc/source/mimalloc/build"
|
|
]
|
|
},
|
|
{
|
|
"name" : "override-malloc",
|
|
"preBuildCommands-posix" : [
|
|
"cd $PACKAGE_DIR && git clone --recursive https://github.com/ErnyTech/neomimalloc || true",
|
|
"cd $PACKAGE_DIR/neomimalloc/source/mimalloc && rm -rf build && mkdir build && cd build && cmake -DMI_OVERRIDE=ON .. && make"
|
|
],
|
|
"libs-posix" : [
|
|
":libmimalloc.a"
|
|
],
|
|
"lflags-posix" : [
|
|
"-L$PACKAGE_DIR/neomimalloc/source/mimalloc/build"
|
|
]
|
|
},
|
|
{
|
|
"name" : "override-malloc-secure",
|
|
"preBuildCommands-posix" : [
|
|
"cd $PACKAGE_DIR && git clone --recursive https://github.com/ErnyTech/neomimalloc || true",
|
|
"cd $PACKAGE_DIR/neomimalloc/source/mimalloc && rm -rf build && mkdir build && cd build && cmake -DMI_OVERRIDE=ON -DMI_SECURE=ON .. && make"
|
|
],
|
|
"libs-posix" : [
|
|
":ibmimalloc-secure.a"
|
|
],
|
|
"lflags-posix" : [
|
|
"-L$PACKAGE_DIR/neomimalloc/source/mimalloc/build"
|
|
]
|
|
},
|
|
{
|
|
"name" : "manual-link"
|
|
}
|
|
]
|
|
}
|