Skip to content

Commit

Permalink
Revert "Support PyTorch ROCm CI on Ubuntu18.04 (#31886)" (#31946)
Browse files Browse the repository at this point in the history
Summary:
This reverts commit 4ee9c56.
Pull Request resolved: pytorch/pytorch#31946

Differential Revision: D19368391

Pulled By: bddppq

fbshipit-source-id: 63d032a5256ff4da7247fb1092be314c5b133eb6
  • Loading branch information
iotamudelta authored and facebook-github-bot committed Jan 12, 2020
1 parent 927c2a0 commit 46f32e1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docker/caffe2/jenkins/common/install_clang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -ex

if [[ "$CLANG_VERSION" == "6.0" || "$CLANG_VERSION" == "7" || "$CLANG_VERSION" == "8" ]]; then
apt-get update
apt-get install -y --no-install-recommends software-properties-common wget gpg-agent
apt-get install -y --no-install-recommends software-properties-common wget
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
if [[ "$UBUNTU_VERSION" == 16.04 ]]; then
apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-${CLANG_VERSION} main"
Expand Down
2 changes: 0 additions & 2 deletions docker/caffe2/jenkins/common/install_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,11 @@ install_ubuntu() {
;;
3.6)
install_ubuntu_deadsnakes python3.6-dev
apt-get install -y python3-distutils
PYTHON=python3.6
INSTALL_SETUPTOOLS=yes
;;
3.7)
install_ubuntu_deadsnakes python3.7-dev
apt-get install -y python3-distutils
PYTHON=python3.7
INSTALL_SETUPTOOLS=yes
;;
Expand Down
7 changes: 2 additions & 5 deletions docker/caffe2/jenkins/common/install_rocm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,8 @@ install_ubuntu() {
apt-get install -y libopenblas-dev

# Need the libc++1 and libc++abi1 libraries to allow torch._C to load at runtime
apt-get install -y libc++1
apt-get install -y libc++abi1

# cmake needs libidn11
apt-get install -y libidn11
apt-get install libc++1
apt-get install libc++abi1

DEB_ROCM_REPO=http://repo.radeon.com/rocm/apt/debian
# Add rocm repository
Expand Down
3 changes: 0 additions & 3 deletions docker/caffe2/jenkins/ubuntu-rocm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
ARG UBUNTU_VERSION
FROM ubuntu:${UBUNTU_VERSION}

# set this to noninteractive so that the installer knows
ENV DEBIAN_FRONTEND=noninteractive

# Include BUILD_ENVIRONMENT environment variable in image
ARG BUILD_ENVIRONMENT
ENV BUILD_ENVIRONMENT ${BUILD_ENVIRONMENT}
Expand Down

0 comments on commit 46f32e1

Please sign in to comment.