-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install wrk2 using brew on Apple Silicon (AArch64 /arm64) #6
Comments
Got an Apple M1 now, so I can try to push this forwards. As a workaround, the intel build still works and you can build it via something like https://noahpeeters.de/posts/apple-silicon/homebrew-setup/ |
Reminder: this is a For now, it looks like wrk2 does not build on Apple Silicon because it vendors luajit 2.0.x giltene/wrk2#104 giltene/wrk2#106 giltene/wrk2#110 giltene/wrk2#111 giltene/wrk2#121 giltene/wrk2#124 giltene/wrk2#128 . That version of luajit doesn't build on Apple Silicon. wrk2 has got various open PRs to update to luajit-2.1.x, but this will be blocked until there is progress with wrk2. |
See also giltene/wrk2#120 |
another one giltene/wrk2#145 |
I am using new macbook with apple chip. While trying to install wrk2 using brew I am receiving below error.
Apple M1 Max and Mac OS Monterey
Last 15 lines from /Users/sbathineni/Library/Logs/Homebrew/wrk2/01.make:
#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
The text was updated successfully, but these errors were encountered: