Skip to content

Commit

Permalink
refactor: build Perl in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
adonis0147 committed Oct 24, 2024
1 parent 29aa1bd commit 2e2cf22
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ jobs:
devel/downloads/download_packages.sh
sed -i '/function install_perl/,/^}/ s/make$/make -j "\\\$(nproc)"/' devel/scripts/install.sh
# Don't install llvm
sed -i '/function install_packages/,/^}/ s/llvm//' devel/scripts/install.sh
Expand Down
2 changes: 1 addition & 1 deletion devel/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ function install_perl() {
pushd "${PERL_PACKAGE_EXTRACTED_DIR}" >/dev/null
./Configure -des -Dprefix="${DEVEL_HOME_PATH}/opt/${package}" \
-Dlibpth="${DEVEL_HOME_PATH}/lib ${DEVEL_HOME_PATH}/compiler/lib"
make
make -j "${NUM_CORES}"
make install
popd >/dev/null
setup_package "${package}"
Expand Down

0 comments on commit 2e2cf22

Please sign in to comment.