musikr: build taglib sequentially w/more threads
This is probably better since locality can be leveraged more.
This commit is contained in:
parent
a888d09a2c
commit
44696424a9
1 changed files with 5 additions and 6 deletions
|
@ -30,14 +30,13 @@ build_for_arch() {
|
||||||
-DBUILD_EXAMPLES=OFF -DBUILD_BINDINGS=OFF -DWITH_ZLIB=OFF -DCMAKE_BUILD_TYPE=Release \
|
-DBUILD_EXAMPLES=OFF -DBUILD_BINDINGS=OFF -DWITH_ZLIB=OFF -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_CXX_FLAGS="-fPIC"
|
-DCMAKE_CXX_FLAGS="-fPIC"
|
||||||
# Try to parallelize the build
|
# Try to parallelize the build
|
||||||
cmake --build $DST_DIR --config Release -j$(( $(nproc) / 4 ))
|
cmake --build $DST_DIR --config Release -j$(nproc)
|
||||||
cd $WORKING_DIR
|
cd $WORKING_DIR
|
||||||
|
|
||||||
cmake --install $DST_DIR --config Release --prefix $PKG_DIR --strip
|
cmake --install $DST_DIR --config Release --prefix $PKG_DIR --strip
|
||||||
}
|
}
|
||||||
|
|
||||||
build_for_arch $X86_ARCH&
|
build_for_arch $X86_ARCH
|
||||||
build_for_arch $X86_64_ARCH&
|
build_for_arch $X86_64_ARCH
|
||||||
build_for_arch $ARMV7_ARCH&
|
build_for_arch $ARMV7_ARCH
|
||||||
build_for_arch $ARMV8_ARCH&
|
build_for_arch $ARMV8_ARCH
|
||||||
wait
|
|
||||||
|
|
Loading…
Reference in a new issue