Skip to content

Commit bb49a9f

Browse files
authored
Add openssl-devel/libssl-dev to build_common.sh/build_libtorch.sh (#623)
1 parent 974b18f commit bb49a9f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

manywheel/build_common.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ retry () {
2323
# TODO move this into the Docker images
2424
OS_NAME=`awk -F= '/^NAME/{print $2}' /etc/os-release`
2525
if [[ "$OS_NAME" == *"CentOS Linux"* ]]; then
26-
retry yum install -q -y zip openssl
26+
retry yum install -q -y zip openssl openssl-devel
2727
elif [[ "$OS_NAME" == *"Ubuntu"* ]]; then
2828
retry apt-get update
29-
retry apt-get -y install zip openssl
29+
retry apt-get -y install zip openssl libssl-dev
3030
fi
3131

3232
# We use the package name to test the package by passing this to 'pip install'

manywheel/build_libtorch.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ retry () {
2323
# TODO move this into the Docker images
2424
OS_NAME=`awk -F= '/^NAME/{print $2}' /etc/os-release`
2525
if [[ "$OS_NAME" == *"CentOS Linux"* ]]; then
26-
retry yum install -q -y zip openssl
26+
retry yum install -q -y zip openssl openssl-devel
2727
elif [[ "$OS_NAME" == *"Ubuntu"* ]]; then
2828
retry apt-get update
29-
retry apt-get -y install zip openssl
29+
retry apt-get -y install zip openssl libssl-dev
3030
fi
3131

3232
# Version: setup.py uses $PYTORCH_BUILD_VERSION.post$PYTORCH_BUILD_NUMBER if

0 commit comments

Comments
 (0)