This website requires JavaScript.
Explore
Help
Sign In
DaddyFrosty
/
yoga
Watch
1
Star
0
Fork
0
You've already forked yoga
Code
Issues
96
Pull Requests
31
Actions
Packages
Projects
Releases
33
Wiki
Activity
Files
NickGerleman/export-D42242096
yoga
/
mode
/
opt
5 lines
68 B
Plaintext
Raw
Permalink
Normal View
History
Unescape
Escape
Add buck mode/opt compile file to support release compilation mode Summary: Currently we have `-O3` hardcoded inside our BUCK target files, this will allow us afterwards to remove that. Follow up commit will also add `-DNDEBUG` which will disable `assert` in release builds. Reviewed By: emilsjolander Differential Revision: D6592024 fbshipit-source-id: f541ee8728ff44db8e31885f2085dc036a400f70
2017-12-18 11:26:20 -08:00
--config
Disable assert code in release builds (define DNDEBUG) Summary: Disable assert code in release builds (define DNDEBUG). This disables assertions in Facebook JNI library - which checks that our references to Yoga JNI objects are correct. This saves CPU time, since those checks are costly. Reviewed By: emilsjolander Differential Revision: D6592023 fbshipit-source-id: eaf869c7990cab3a72ae2bbdc67e709153f5020c
2017-12-18 11:26:22 -08:00
cxx.cxxflags=-O3 -DNDEBUG
Add buck mode/opt compile file to support release compilation mode Summary: Currently we have `-O3` hardcoded inside our BUCK target files, this will allow us afterwards to remove that. Follow up commit will also add `-DNDEBUG` which will disable `assert` in release builds. Reviewed By: emilsjolander Differential Revision: D6592024 fbshipit-source-id: f541ee8728ff44db8e31885f2085dc036a400f70
2017-12-18 11:26:20 -08:00
--config
Disable assert code in release builds (define DNDEBUG) Summary: Disable assert code in release builds (define DNDEBUG). This disables assertions in Facebook JNI library - which checks that our references to Yoga JNI objects are correct. This saves CPU time, since those checks are costly. Reviewed By: emilsjolander Differential Revision: D6592023 fbshipit-source-id: eaf869c7990cab3a72ae2bbdc67e709153f5020c
2017-12-18 11:26:22 -08:00
cxx.cflags=-O3 -DNDEBUG
Reference in New Issue
Copy Permalink