wrk2 installation failed on Mac OS Monterey and Apple M1 Max chip
I am using below commands to install wrk2 and facing error
brew tap jabley/homebrew-wrk2 brew install --HEAD wrk2
#error "Need at least GCC 4.3 or newer" ^ 3 errors generated. lj_arch.h:55:2: error: "No support for this architecture (yet)" #error "No support for this architecture (yet)" ^ lj_arch.h:279:2: error: "No target architecture defined" #error "No target architecture defined" ^ lj_arch.h:302:2: error: "Need at least GCC 4.3 or newer" #error "Need at least GCC 4.3 or newer" ^ 3 errors generated. Makefile:231: *** Unsupported target architecture. Stop. make: *** [deps/luajit/src/libluajit.a] Error 2
same issue
found this guy https://github.com/AppsFlyer/wrk3
Somehow ended up in this issue, but didn't see the PR that had already been opened to fix this: https://github.com/giltene/wrk2/pull/110. So, without being aware of that I came up with my own PR haha: https://github.com/giltene/wrk2/pull/128 - Anyway....