Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

-DNDEBUG added to default cmake flags#1129

Open
jaroslavgratz wants to merge 1 commit intofacebookresearch:mainfrom
seznam:master
Open

-DNDEBUG added to default cmake flags#1129
jaroslavgratz wants to merge 1 commit intofacebookresearch:mainfrom
seznam:master

Conversation

@jaroslavgratz
Copy link

Default cmake build flags are preset for performance optimized build, however a NDEBUG define is not set. If the NDEBUG is not set then asserts are not optimized out and runtime performance is degraded.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants