Skip to content

Building OCCT is super slow! #539

Closed Answered by dpasukhi
petrasvestartas asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, you have flexibility to turn on/turn off modules.
Also, 7.9.0+ provide precompiled headers (use -D BUILD_USE_PCH=ON) (Up to 5x times faster build using CLang)

Also, improving performance: (-D BUILD_OPT_PROFILE=Production)

There are 5 modules.

-D BUILD_MODULE_ApplicationFramework = OFF
-D BUILD_MODULE_DataExchange = OFF
-D BUILD_MODULE_Draw = OFF
-D BUILD_MODULE_FoundationClasses =OFF
-D BUILD_MODULE_ModelingAlgorithms = OFF
-D BUILD_MODULE_ModelingData = OFF
-D BUILD_MODULE_Visualization= ON

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@dpasukhi
Comment options

@dpasukhi
Comment options

@dpasukhi
Comment options

@petrasvestartas
Comment options

@dpasukhi
Comment options

Answer selected by dpasukhi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants