Changes between Version 179 and Version 180 of CompilationGuide/Ubuntu
- Timestamp:
- Oct 9, 2021, 5:13:47 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CompilationGuide/Ubuntu
v179 v180 91 91 {{{ 92 92 #!div style="border: 1px solid #c7e5c7; margin: 1em; background-color: #ddffdd;" 93 '''Tip:''' To significantly speed up the compilation process on systems with multiple cores, you can use the `-j` option with each `make` command to set the number of compilation jobs allowed to run simultaneously, such as `make -j4`. To set this to the number of available logical CPU cores, use `make -j$(nproc)`. The `-j` option also works with the `ninja` build system used to compile some of the libraries in this guide. 93 '''Tip:''' To significantly speed up the compilation process on systems with multiple cores, you can use the `-j` option with each `make` command to set the number of compilation jobs allowed to run simultaneously, such as `make -j4`. To set this to the number of available logical CPU cores, use `make -j$(nproc)`. The `-j` option also works with the `ninja` build system used to compile some of the libraries in this guide. Using all cores may cause your machine to become slow or unresponsive. 94 94 }}} 95 95 … … 295 295 mkdir -p aom_build && \ 296 296 cd aom_build && \ 297 PATH="$HOME/bin:$PATH" cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build" -DENABLE_ SHARED=off-DENABLE_NASM=on ../aom && \297 PATH="$HOME/bin:$PATH" cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build" -DENABLE_TESTS=OFF -DENABLE_NASM=on ../aom && \ 298 298 PATH="$HOME/bin:$PATH" make && \ 299 299 make install
