Skip to content
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

Clam 2168 CMake: remove option to build using external TomsFastMath library #742

Merged

Conversation

micahsnyder
Copy link
Contributor

@micahsnyder micahsnyder commented Nov 3, 2022

ClamAV requires non-default build options for TomsFastMath to support bigger floating point numbers. Without this change, database and Windows EXE/DLL authenticode certificate validation may fail.

See also discussion in #736

The option to build with an external TomsFastMath library should be removed. The ENABLE_EXTERNAL_TOMSFASTMATH build should be ignored, with some sort of warning.

This commit removes the option. If used, the build will not fail, but CMake will print a warning that the unused option was ignored.

Fixes: #743

ClamAV requires non-default build options for TomsFastMath to support
bigger floating point numbers. Without this change, database and
Windows EXE/DLL authenticode certificate validation may fail.

The option to build with an external TomsFastMath library should be
removed. The `ENABLE_EXTERNAL_TOMSFASTMATH` build should be ignored,
with some sort of warning.

This commit removes the option. If used, the build will not fail, but
CMake will print a warning that the unused option was ignored.
@micahsnyder micahsnyder force-pushed the CLAM-2168-remove-external-tfm-option branch from 8e74d18 to 34303c2 Compare November 9, 2022 20:33
@micahsnyder
Copy link
Contributor Author

Updated per review comments offline to add missing PR link

@micahsnyder micahsnyder merged commit 5c3e866 into Cisco-Talos:main Nov 10, 2022
21 of 24 checks passed
@micahsnyder micahsnyder deleted the CLAM-2168-remove-external-tfm-option branch November 10, 2022 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant