Skip to content

Commit

Permalink
Build OpenSSH in parallel, but install it serially
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhop committed Jan 10, 2024
1 parent 6ead184 commit f8c3eef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/ci/integration/run_openssh_integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ function openssh_build() {
# See: https://github.com/openssh/openssh-portable/pull/385
export CFLAGS="-DAWS_LC_INTERNAL_IGNORE_BN_SET_FLAGS=1 -DHAVE_RSA_METH_FREE=1 -DHAVE_RSA_METH_DUP=1 -DHAVE_RSA_METH_SET1_NAME=1 -DHAVE_RSA_METH_SET_PRIV_ENC=1 -DHAVE_RSA_METH_SET_PRIV_DEC=1"
./configure --with-ssl-dir="${AWS_LC_INSTALL_FOLDER}" --prefix="${OPENSSH_INSTALL_FOLDER}" --disable-pkcs11
make -j "$NUM_CPU_THREADS" install
make -j "$NUM_CPU_THREADS"
make install
ls -R "${OPENSSH_INSTALL_FOLDER}"
popd
}
Expand Down

0 comments on commit f8c3eef

Please sign in to comment.