Support compiling & building jemalloc2 with cmake. Verified in version jemalloc-5.2.
- Copy all of the files into jemalloc source code folder.
- Create the build directory: cd jemalloc-5.2.1 && mkdir build && cd build
- Run cmake: cmake .. -DCMAKE_BUILD_TYPE=Release
- Start to make. Enjoy!