Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucien <astrataro@gmail.com>2015-01-03 14:45:34 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2015-01-03 14:45:34 +0300
commitaaf68b50f81c717fa77858b0d47c2b0264c2ff09 (patch)
tree04c008584506e90157acae69ad9eb22d4aea9f2a
parent881f2ecfbd38bf48a078ed328873ea542a5f5e66 (diff)
Automatically detect build threads
-rw-r--r--build_ffmpeg.sh2
-rw-r--r--build_ffmpeg_msvc.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/build_ffmpeg.sh b/build_ffmpeg.sh
index eccc5617..b9cce174 100644
--- a/build_ffmpeg.sh
+++ b/build_ffmpeg.sh
@@ -111,7 +111,7 @@ configure() (
)
build() (
- make -j8
+ make -j$(($NUMBER_OF_PROCESSORS+1))
)
echo Building ffmpeg in GCC ${arch} Release config...
diff --git a/build_ffmpeg_msvc.sh b/build_ffmpeg_msvc.sh
index 0f2fd6a8..ec4f4977 100644
--- a/build_ffmpeg_msvc.sh
+++ b/build_ffmpeg_msvc.sh
@@ -87,7 +87,7 @@ configure() (
)
build() (
- make -j8
+ make -j$(($NUMBER_OF_PROCESSORS+1))
)
echo Building ffmpeg in MSVC Debug config...