Skip to content

Installing wrk2 on Mac

Oliver Mannion edited this page Jul 29, 2018 · 5 revisions

Via Homebrew

brew tap jabley/homebrew-wrk2
brew install --HEAD wrk2

Building from source

First run: brew install openssl

Then modify Makefile:

  • add -I/usr/local/opt/openssl/include to the end of CFLAGS definition
  • add -L/usr/local/opt/openssl/lib to the end of LIBS definition

Remember about make clean before retrying to run make

Based on: https://github.com/wg/wrk/issues/186#issuecomment-196819089

Clone this wiki locally