Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/autoconf/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

./configure --prefix=$PACKIT_PACKAGE_PATH

make
make -j $PACKIT_BUILD_JOBS_COUNT

make install

Expand Down
2 changes: 1 addition & 1 deletion packages/automake/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

./configure --prefix=$PACKIT_PACKAGE_PATH

make
make -j $PACKIT_BUILD_JOBS_COUNT

make install
2 changes: 1 addition & 1 deletion packages/bzip2/build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

make
make -j $PACKIT_BUILD_JOBS_COUNT

make install PREFIX="$PACKIT_PACKAGE_PATH"

Expand Down
2 changes: 1 addition & 1 deletion packages/calc/build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

make PREFIX="$PACKIT_PACKAGE_PATH" \
make -j $PACKIT_BUILD_JOBS_COUNT PREFIX="$PACKIT_PACKAGE_PATH" \
BINDIR="$PACKIT_PACKAGE_PATH/bin" \
LIBDIR="$PACKIT_PACKAGE_PATH/lib" \
MANDIR="$PACKIT_PACKAGE_PATH/share/man/man1" \
Expand Down
3 changes: 2 additions & 1 deletion packages/cmake/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ fi
--prefix="$PACKIT_PACKAGE_PATH" \
--no-system-libs \
--no-debugger \
--parallel=$PACKIT_BUILD_JOBS_COUNT \
$extra_flags

make
make -j $PACKIT_BUILD_JOBS_COUNT

make install
4 changes: 2 additions & 2 deletions packages/expat/build.bat
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
cmake -S . -B build -DCMAKE_INSTALL_PREFIX="%PACKIT_PACKAGE_PATH%" -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DEXPAT_BUILD_TESTS=ON
if ERRORLEVEL 1 exit /b %ERRORLEVEL%

cmake --build build --config Release
cmake --build build --config Release --parallel %PACKIT_BUILD_JOBS_COUNT%
if ERRORLEVEL 1 exit /b %ERRORLEVEL%

ctest --verbose -C Release --test-dir build
ctest --verbose -C Release --test-dir build --parallel %PACKIT_BUILD_JOBS_COUNT%
if ERRORLEVEL 1 exit /b %ERRORLEVEL%

cmake --install build --config Release
Expand Down
4 changes: 2 additions & 2 deletions packages/expat/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

./configure --prefix=$PACKIT_PACKAGE_PATH --mandir="$PACKIT_PACKAGE_PATH/share/man"

make
make -j $PACKIT_BUILD_JOBS_COUNT

cd build && make test
cd build && make test -j $PACKIT_BUILD_JOBS_COUNT

make install
2 changes: 1 addition & 1 deletion packages/htop/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

./configure --prefix=$PACKIT_PACKAGE_PATH

make
make -j $PACKIT_BUILD_JOBS_COUNT

make install
2 changes: 1 addition & 1 deletion packages/json-c/build.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake -S . -B build -DCMAKE_INSTALL_PREFIX="%PACKIT_PACKAGE_PATH%" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=ON -DBUILD_APPS=OFF -DBUILD_TESTING=OFF
if ERRORLEVEL 1 exit /b %ERRORLEVEL%

cmake --build build --config Release
cmake --build build --config Release --parallel %PACKIT_BUILD_JOBS_COUNT%
if ERRORLEVEL 1 exit /b %ERRORLEVEL%

cmake --install build --config Release
Expand Down
4 changes: 2 additions & 2 deletions packages/json-c/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ cmake -S . -B build -DCMAKE_INSTALL_PREFIX="$PACKIT_PACKAGE_PATH" -DCMAKE_BUILD_
-DBUILD_APPS=OFF \
-DBUILD_TESTING=ON

cmake --build build --config Release
cmake --build build --config Release --parallel $PACKIT_BUILD_JOBS_COUNT

# The `test_json_parse_cli` can't work when `BUILD_APPS` is OFF
ctest --verbose -C Release --test-dir build -E "test_json_parse_cli"
ctest --verbose -C Release --test-dir build -E "test_json_parse_cli" --parallel $PACKIT_BUILD_JOBS_COUNT

cmake --install build --config Release
4 changes: 2 additions & 2 deletions packages/libedit/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ if [ "$PACKIT_OS" = "linux" ]; then
LDFLAGS="-L$PACKIT_PACKAGE_DEPENDENCIES_PATH/ncurses/lib -lncurses"
fi

make
make -j $PACKIT_BUILD_JOBS_COUNT

make check
make check -j $PACKIT_BUILD_JOBS_COUNT

make install

Expand Down
2 changes: 1 addition & 1 deletion packages/libffi/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

./configure --prefix=$PACKIT_PACKAGE_PATH

make
make -j $PACKIT_BUILD_JOBS_COUNT

make install
4 changes: 2 additions & 2 deletions packages/libgit2/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ REM Build static library
cmake -S . -B build-static -DCMAKE_INSTALL_PREFIX="%PACKIT_PACKAGE_PATH%" -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF -DUSE_HTTP_PARSER=llhttp -DUSE_SSH=ON -DUSE_BUNDLED_ZLIB=OFF -DLLHTTP_INCLUDE_DIR="%PACKIT_PACKAGE_DEPENDENCIES_PATH%\llhttp\include" -DLLHTTP_LIBRARY="%PACKIT_PACKAGE_DEPENDENCIES_PATH%\llhttp\lib\llhttp.lib" -DLIBSSH2_INCLUDE_DIR="%PACKIT_PACKAGE_DEPENDENCIES_PATH%\libssh2\include" -DLIBSSH2_LIBRARY="%PACKIT_PACKAGE_DEPENDENCIES_PATH%\libssh2\lib\libssh2.lib"
if ERRORLEVEL 1 exit /b %ERRORLEVEL%

cmake --build build-static --config Release
cmake --build build-static --config Release --parallel %PACKIT_BUILD_JOBS_COUNT%
if ERRORLEVEL 1 exit /b %ERRORLEVEL%

cmake --install build-static --config Release
Expand All @@ -12,7 +12,7 @@ REM Build shared libraries
cmake -S . -B build-shared -DCMAKE_INSTALL_PREFIX="%PACKIT_PACKAGE_PATH%" -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DBUILD_TESTS=OFF -DUSE_HTTP_PARSER=llhttp -DUSE_SSH=ON -DUSE_BUNDLED_ZLIB=OFF -DLLHTTP_INCLUDE_DIR="%PACKIT_PACKAGE_DEPENDENCIES_PATH%\llhttp\include" -DLLHTTP_LIBRARY="%PACKIT_PACKAGE_DEPENDENCIES_PATH%\llhttp\lib\llhttp.lib" -DLIBSSH2_INCLUDE_DIR="%PACKIT_PACKAGE_DEPENDENCIES_PATH%\libssh2\include" -DLIBSSH2_LIBRARY="%PACKIT_PACKAGE_DEPENDENCIES_PATH%\libssh2\lib\libssh2.lib"
if ERRORLEVEL 1 exit /b %ERRORLEVEL%

cmake --build build-shared --config Release
cmake --build build-shared --config Release --parallel %PACKIT_BUILD_JOBS_COUNT%
if ERRORLEVEL 1 exit /b %ERRORLEVEL%

cmake --install build-shared --config Release
Expand Down
8 changes: 4 additions & 4 deletions packages/libgit2/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,23 @@ flags="$flags -DLIBSSH2_LIBRARY=$PACKIT_PACKAGE_DEPENDENCIES_PATH/libssh2/lib/li
# Build static library
cmake -S . -B build-static -DCMAKE_INSTALL_PREFIX="$PACKIT_PACKAGE_PATH" -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF $flags

cmake --build build-static --config Release
cmake --build build-static --config Release --parallel $PACKIT_BUILD_JOBS_COUNT

# Build tests depend on python, so only execute on macos where python is installed by default
if [ "$PACKIT_OS" = "mac" ]; then
ctest --verbose -C Release --test-dir build-static -E "online|proxy|auth_clone"
ctest --verbose -C Release --test-dir build-static -E "online|proxy|auth_clone" --parallel $PACKIT_BUILD_JOBS_COUNT
fi

cmake --install build-static --config Release

# Build shared libraries
cmake -S . -B build-shared -DCMAKE_INSTALL_PREFIX="$PACKIT_PACKAGE_PATH" -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON $flags

cmake --build build-shared --config Release
cmake --build build-shared --config Release --parallel $PACKIT_BUILD_JOBS_COUNT

# Build tests depend on python, so only execute on macos where python is installed by default
if [ "$PACKIT_OS" = "mac" ]; then
ctest --verbose -C Release --test-dir build-shared -E "online|proxy|auth_clone"
ctest --verbose -C Release --test-dir build-shared -E "online|proxy|auth_clone" --parallel $PACKIT_BUILD_JOBS_COUNT
fi

cmake --install build-shared --config Release
4 changes: 2 additions & 2 deletions packages/libpng/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ if [ "$PACKIT_OS" = "linux" ]; then
LDFLAGS="-L$PACKIT_PACKAGE_DEPENDENCIES_PATH/zlib-ng-compat/lib -lz"
fi

make
make -j $PACKIT_BUILD_JOBS_COUNT

make test
make test -j $PACKIT_BUILD_JOBS_COUNT

make install
4 changes: 2 additions & 2 deletions packages/libssh2/build.bat
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
cmake -S . -B build -DCMAKE_INSTALL_PREFIX="%PACKIT_PACKAGE_PATH%" -DCMAKE_BUILD_TYPE=Release -DOPENSSL_USE_STATIC_LIBS=TRUE
if ERRORLEVEL 1 exit /b %ERRORLEVEL%

cmake --build build --config Release
cmake --build build --config Release --parallel %PACKIT_BUILD_JOBS_COUNT%
if ERRORLEVEL 1 exit /b %ERRORLEVEL%

ctest --verbose -C Release
ctest --verbose -C Release --parallel %PACKIT_BUILD_JOBS_COUNT%
if ERRORLEVEL 1 exit /b %ERRORLEVEL%

cmake --install build --config Release
Expand Down
2 changes: 1 addition & 1 deletion packages/libssh2/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
--with-libz-prefix="$PACKIT_PACKAGE_DEPENDENCIES_PATH/zlib-ng-compat" \
--with-libssl-prefix="$PACKIT_PACKAGE_DEPENDENCIES_PATH/openssl"

make
make -j $PACKIT_BUILD_JOBS_COUNT

make install
2 changes: 1 addition & 1 deletion packages/libtool/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

./configure --prefix=$PACKIT_PACKAGE_PATH --disable-silent-rules --enable-ltdl-install

make
make -j $PACKIT_BUILD_JOBS_COUNT

make install
2 changes: 1 addition & 1 deletion packages/libtool/macos_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

./configure --prefix=$PACKIT_PACKAGE_PATH --disable-silent-rules --enable-ltdl-install --program-prefix=g

make
make -j $PACKIT_BUILD_JOBS_COUNT

make install

Expand Down
4 changes: 2 additions & 2 deletions packages/llhttp/build.bat
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
cmake -S . -B build -DCMAKE_INSTALL_PREFIX="%PACKIT_PACKAGE_PATH%" -DCMAKE_BUILD_TYPE=Release
if ERRORLEVEL 1 exit /b %ERRORLEVEL%

cmake --build build --config Release
cmake --build build --config Release --parallel %PACKIT_BUILD_JOBS_COUNT%
if ERRORLEVEL 1 exit /b %ERRORLEVEL%

ctest --verbose -C Release
ctest --verbose -C Release --parallel %PACKIT_BUILD_JOBS_COUNT%
if ERRORLEVEL 1 exit /b %ERRORLEVEL%

cmake --install build --config Release
Expand Down
4 changes: 2 additions & 2 deletions packages/llhttp/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

cmake -S . -B build -DCMAKE_INSTALL_PREFIX="$PACKIT_PACKAGE_PATH" -DCMAKE_BUILD_TYPE=Release

cmake --build build --config Release
cmake --build build --config Release --parallel $PACKIT_BUILD_JOBS_COUNT

ctest --verbose -C Release
ctest --verbose -C Release --parallel $PACKIT_BUILD_JOBS_COUNT

cmake --install build --config Release
4 changes: 2 additions & 2 deletions packages/lz4/build.bat
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
cmake -S "build/cmake" -B build -DCMAKE_INSTALL_PREFIX="%PACKIT_PACKAGE_PATH%" -DCMAKE_BUILD_TYPE=Release
if ERRORLEVEL 1 exit /b %ERRORLEVEL%

cmake --build build --config Release
cmake --build build --config Release --parallel %PACKIT_BUILD_JOBS_COUNT%
if ERRORLEVEL 1 exit /b %ERRORLEVEL%

ctest --verbose -C Release
ctest --verbose -C Release --parallel %PACKIT_BUILD_JOBS_COUNT%
if ERRORLEVEL 1 exit /b %ERRORLEVEL%

cmake --install build --config Release
Expand Down
2 changes: 1 addition & 1 deletion packages/lz4/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh

make PREFIX=$PACKIT_PACKAGE_PATH
make -j $PACKIT_BUILD_JOBS_COUNT PREFIX=$PACKIT_PACKAGE_PATH

make install PREFIX=$PACKIT_PACKAGE_PATH
2 changes: 1 addition & 1 deletion packages/m4/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

./configure --disable-dependency-tracking --prefix=$PACKIT_PACKAGE_PATH

make
make -j $PACKIT_BUILD_JOBS_COUNT

make install
2 changes: 1 addition & 1 deletion packages/make/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

sh build.sh

./make
./make -j $PACKIT_BUILD_JOBS_COUNT

./make install
2 changes: 1 addition & 1 deletion packages/make/macos_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

sh build.sh

./make
./make -j $PACKIT_BUILD_JOBS_COUNT

./make install

Expand Down
2 changes: 1 addition & 1 deletion packages/mpdecimal/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

./configure --prefix=$PACKIT_PACKAGE_PATH

make
make -j $PACKIT_BUILD_JOBS_COUNT

make install
2 changes: 1 addition & 1 deletion packages/nasm/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

./configure --prefix=$PACKIT_PACKAGE_PATH

make
make -j $PACKIT_BUILD_JOBS_COUNT

make install
2 changes: 1 addition & 1 deletion packages/ncurses/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
--disable-root-access \
--disable-root-environ

make
make -j $PACKIT_BUILD_JOBS_COUNT

make install

Expand Down
4 changes: 2 additions & 2 deletions packages/openssl/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ perl ./Configure \
--openssldir=$PACKIT_PREFIX_PATH/etc/openssl@$PACKIT_PACKAGE_VERSION \
--libdir=lib \

make
make -j $PACKIT_BUILD_JOBS_COUNT

make HARNESS_JOBS=4 test
make HARNESS_JOBS=$PACKIT_BUILD_JOBS_COUNT test -j $PACKIT_BUILD_JOBS_COUNT

make install
4 changes: 2 additions & 2 deletions packages/pcre2/build.bat
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
cmake -S . -B build -DCMAKE_INSTALL_PREFIX="%PACKIT_PACKAGE_PATH%" -DCMAKE_BUILD_TYPE=Release -DPCRE2_BUILD_PCRE2_16=ON -DPCRE2_BUILD_PCRE2_32=ON -DPCRE2_SUPPORT_LIBZ=ON -DPCRE2_SUPPORT_LIBBZ2=ON -DPCRE2_SUPPORT_JIT=ON -DBUILD_SHARED_LIBS=ON -DBZIP2_LIBRARIES="%PACKIT_PACKAGE_DEPENDENCIES_PATH%\zlib-ng-compat\lib\zlib.lib" -DBZIP2_INCLUDE_DIR="%PACKIT_PACKAGE_DEPENDENCIES_PATH%\zlib-ng-compat\include" -DZLIB_LIBRARY="%PACKIT_PACKAGE_DEPENDENCIES_PATH%\bzip2\lib\libbz2.lib" -DZLIB_INCLUDE_DIR="%PACKIT_PACKAGE_DEPENDENCIES_PATH%\bzip2\include"
if ERRORLEVEL 1 exit /b %ERRORLEVEL%

cmake --build build --config Release
cmake --build build --config Release --parallel %PACKIT_BUILD_JOBS_COUNT%
if ERRORLEVEL 1 exit /b %ERRORLEVEL%

ctest --verbose -C Release
ctest --verbose -C Release --parallel %PACKIT_BUILD_JOBS_COUNT%
if ERRORLEVEL 1 exit /b %ERRORLEVEL%

cmake --install build --config Release
Expand Down
2 changes: 1 addition & 1 deletion packages/pcre2/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ if [ "$PACKIT_OS" = "linux" ]; then
LDFLAGS="-L$PACKIT_PACKAGE_DEPENDENCIES_PATH/zlib-ng-compat/lib -lz -L$PACKIT_PACKAGE_DEPENDENCIES_PATH/bzip2/lib -lbz2 -L$PACKIT_PACKAGE_DEPENDENCIES_PATH/readline/lib -lreadline"
fi

make
make -j $PACKIT_BUILD_JOBS_COUNT

make install
4 changes: 2 additions & 2 deletions packages/perl/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ active_dir="$PACKIT_PREFIX_PATH/active/perl"
-Duselargefiles \
-Dusethreads

make
make -j $PACKIT_BUILD_JOBS_COUNT

NO_NETWORK_TESTING=1 make test
NO_NETWORK_TESTING=1 make test -j $PACKIT_BUILD_JOBS_COUNT

make install
2 changes: 1 addition & 1 deletion packages/pkgconf/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

./configure --prefix=$PACKIT_PACKAGE_PATH

make
make -j $PACKIT_BUILD_JOBS_COUNT

make install

Expand Down
2 changes: 1 addition & 1 deletion packages/readline/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ if [ "$PACKIT_OS" = "linux" ]; then
path="$PACKIT_PACKAGE_DEPENDENCIES_PATH/ncurses/lib/libcurses.so"
fi

make SHLIB_LIBS=$path
make SHLIB_LIBS=$path -j $PACKIT_BUILD_JOBS_COUNT

make install
4 changes: 2 additions & 2 deletions packages/scdoc/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

make PREFIX="$PACKIT_PACKAGE_PATH"
make PREFIX="$PACKIT_PACKAGE_PATH" -j $PACKIT_BUILD_JOBS_COUNT

make check PREFIX="$PACKIT_PACKAGE_PATH"
make check PREFIX="$PACKIT_PACKAGE_PATH" -j $PACKIT_BUILD_JOBS_COUNT

make install PREFIX="$PACKIT_PACKAGE_PATH"
2 changes: 1 addition & 1 deletion packages/sqlite/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ fi
--session \
$extra_flags

make
make -j $PACKIT_BUILD_JOBS_COUNT

make install
2 changes: 1 addition & 1 deletion packages/tree/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh

make PREFIX="$PACKIT_PACKAGE_PATH" MANDIR="$PACKIT_PACKAGE_PATH/share/man"
make PREFIX="$PACKIT_PACKAGE_PATH" MANDIR="$PACKIT_PACKAGE_PATH/share/man" -j $PACKIT_BUILD_JOBS_COUNT

make install PREFIX="$PACKIT_PACKAGE_PATH" MANDIR="$PACKIT_PACKAGE_PATH/share/man"
Loading