-
Notifications
You must be signed in to change notification settings - Fork 65
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
[Bug]: Can not build on Mac OS X86. #155
Comments
Agreed that this platform should be supported. What is the build error that you see without passing |
It informs me to add the flags:
|
@qianwch can you please provide the output of |
The CPU is intel i7 4 cores, 2.2 GHz |
Okay, so SIMD is not the issue. I hauled an old iMac out of the garage and spent a little time looking at this today. The symbols like I think we are just going to have to document that x86 macos is not supported, unless somebody who is passionate about it wants to dive deep and figure out a fix. |
What happened?
I had to set RUSTFLAGS="-C target-feature=+avx2,+fma" to perform the build. But the building still failed:
pgvectorscale extension affected
0.4.0
PostgreSQL version used
16.4
What operating system did you use?
macOS 15.0.1
What installation method did you use?
Source
What platform did you run on?
Other
Relevant log output and stack trace
No response
How can we reproduce the bug?
Use homebrew to install rust the current version is 1.8.1. Follow the building steps. RUSTFLAGS="-C target-feature=+avx2,+fma" cargo pgrx install --release
Are you going to work on the bugfix?
🆘 No, could someone else please work on the bugfix?
The text was updated successfully, but these errors were encountered: