>>109836790
I find that downloading w64devkit and temporarily adding its "bin" folder to your path is more convenient. Has all the linshit tools included and basically "just works" with 2 cmake commands.
cmake -B build -DCMAKE_BUILD_TYPE=Release -DGGML_NATIVE=ON -DGGML_OPENMP=ON -DCMAKE_C_FLAGS="-w -fopenmp" -DCMAKE_CXX_FLAGS="-w -fopenmp"
cmake --build build