File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9898 git clone https://github.com/microsoft/mimalloc.git
9999 cd mimalloc && mkdir build && cd build && git checkout tags/v2.1.2
100100 echo "Building mimalloc..."
101- cmake -DCMAKE_BUILD_TYPE=Release -DMI_BUILD_STATIC=ON -DMI_BUILD_SHARED=OFF -DMI_BUILD_TESTS=OFF -DMI_BUILD_OBJECT=ON ..
101+ cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_SNMALLOC_STATIC=OFF - DMI_BUILD_STATIC=ON -DMI_BUILD_SHARED=OFF -DMI_BUILD_TESTS=OFF -DMI_BUILD_OBJECT=ON ..
102102 make -j4
103103 echo "Installing mimalloc..."
104104 sudo make install
@@ -141,11 +141,11 @@ jobs:
141141
142142 - name : Build proxy
143143 run : |
144- cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DENABLE_BUILD_WERROR=OFF
144+ cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DENABLE_SNMALLOC_STATIC=ON - DENABLE_BUILD_WERROR=OFF
145145 cmake --build build --config Release
146146
147147 - name : Archive artifacts
148148 uses : actions/upload-artifact@v4
149149 with :
150150 name : proxy_server-msvc_x64
151- path : build/bin/release/proxy_server.exe
151+ path : build/bin/release/proxy_server.exe
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ option(ENABLE_STATIC_LINK_TO_GCC "Build static link to gcc" ON)
7272option (ENABLE_TCMALLOC_STATIC "Build with Tcmalloc support" OFF )
7373option (ENABLE_JEMALLOC_STATIC "Build with Jemalloc support" OFF )
7474option (ENABLE_MIMALLOC_STATIC "Build with mimalloc support" OFF )
75- option (ENABLE_SNMALLOC_STATIC "Build with snmalloc support" ON )
75+ option (ENABLE_SNMALLOC_STATIC "Build with snmalloc support" OFF )
7676
7777option (ENABLE_BUILD_EXAMPLES "Build proxy examples" OFF )
7878option (ENABLE_LINKE_TO_LIBATOMIC "Link to libatomic.so - some platform requires it" OFF )
You can’t perform that action at this time.
0 commit comments