-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Crypto++ needs to support a fixed target #1252
Comments
That's not true. Please run Also state how you built the library. In particular, we need to know which |
If I just run make with no CPPFLAGS or CXXFLAGS on an AMD Threadripper 3960X, it compiles most files with default settings (no arch) but those are issued:
Isn't compiling with |
In the current form, Crypto++ will compile the library with optimal settings for the current build machine.
However in many cases (as mine) we need to compile a generic version of the library such that the resulting binary can be redistributed.
If Crypto++ is build on a high end machine and then shipped to a client with old hardware, it is very likely that the application will crash with an instruction unknown.
It would be very useful if a target (-march=target) platform could be defined somewhere that would define all instruction sets supported. In this case all hardware tests should be ignored.
The text was updated successfully, but these errors were encountered: