Compiling (Speeding up)/ru: Difference between revisions
(Updating to match new version of source page) |
(Created page with "При разработке FreeCAD требуется сборка из исходного кода, и фаза компиляции / сборки может отнимат...") |
||
Line 2: | Line 2: | ||
{{Docnav|CompileOnMac|Third Party Libraries}} |
{{Docnav|CompileOnMac|Third Party Libraries}} |
||
При разработке FreeCAD требуется сборка из исходного кода, и фаза компиляции / сборки может отнимать драгоценное время на разработку. Вот несколько советов, чтобы сократить этот процесс и сделать время сборки более эффективным. |
|||
When developing FreeCAD one needs to build from source and the compiling/build phase can start eating in to precious development time. Here are some tips to shorten that process and make build times more efficient. |
|||
=== CCache === |
=== CCache === |
Revision as of 21:16, 24 March 2019
При разработке FreeCAD требуется сборка из исходного кода, и фаза компиляции / сборки может отнимать драгоценное время на разработку. Вот несколько советов, чтобы сократить этот процесс и сделать время сборки более эффективным.
CCache
Install ccache to cache builds
Disable Modules
Use cmake-curses-gui, cmake-qt-gui, or cmake flags to disable modules you aren't working on
make -j
Use make -j # to specify the number of jobs. A suggested value is your number of computer cores, e.g.
make -j $(nproc)
distcc
Distcc can be used for distributed compilation on a network.
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub