../configure \
--enable-debug \
--enable-libs \
- && make -j5
+ && make -j$(nproc)
cd ..
--enable-libs \
CXXFLAGS="-fsanitize=address" \
LDFLAGS="-fsanitize=address" \
- && make -j5
+ && make -j$(nproc)
cd ..
--enable-libs \
CC=clang \
CXX=clang++ \
- && make -j5
+ && make -j$(nproc)
cd ..
--enable-libs \
CC=clang \
CXX=clang++ \
- CFLAGS="-fsanitize=memory" \
- CXXFLAGS="-fsanitize=memory" \
- LDFLAGS="-fsanitize=memory" \
- && make -j5
+ CFLAGS="-fsanitize=memory -fsanitize-memory-track-origins=2" \
+ CXXFLAGS="-fsanitize=memory -fsanitize-memory-track-origins=2" \
+ LDFLAGS="-fsanitize=memory -fsanitize-memory-track-origins=2" \
+ && make -j$(nproc)
cd ..
--enable-debug \
--enable-libs \
CXXFLAGS="-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC" \
- && make -j5
+ && make -j$(nproc)
cd ..
--enable-libs \
CXXFLAGS="-fsanitize=leak" \
LDFLAGS="-fsanitize=leak" \
- && make -j5
+ && make -j$(nproc)
cd ..
--enable-libs \
CXXFLAGS="-m32" \
LDFLAGS="-m32" \
- && make -j5
+ && make -j$(nproc)
cd ..
--enable-debug \
--enable-libs \
--host i686-w64-mingw32 \
- && make -j5 LIBTOOL="dlibtool"
+ && make -j$(nproc) LIBTOOL="dlibtool"
cd ..
cd $builddir
../configure \
--enable-libs \
- && make -j5
+ && make -j$(nproc)
cd ..
--enable-libs \
CFLAGS="-ffunction-sections -fdata-sections" \
LDFLAGS="-Wl,--gc-sections -Wl,--print-gc-sections" \
- && make -j5
+ && make -j$(nproc)
cd ..
--enable-libs \
CXXFLAGS="-fsanitize=undefined" \
LDFLAGS="-fsanitize=undefined" \
- && make -j5
+ && make -j$(nproc)
cd ..
# 'make' implies 'make docs'; running both in parallel may cause data races
# configure without --enable-debug, this is the release binary
../configure --enable-docs --enable-libs \
- && $make_prog bootstrap -j5 \
- && $make_prog distcheck -j5
+ && $make_prog bootstrap -j$(nproc) \
+ && $make_prog distcheck -j$(nproc)
cd ..
done