giltene / wrk2

A constant throughput, correct latency recording variant of wrk
Apache License 2.0
4.23k stars 381 forks source link

wrk2 installation failed on Mac OS Monterey and Apple M1 Max chip #121

Open sbathineni opened 2 years ago

sbathineni commented 2 years ago

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

orefalo commented 2 years ago

same issue

orefalo commented 2 years ago

found this guy https://github.com/AppsFlyer/wrk3

galderz commented 2 years ago

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....