anchor.diff:      libboost-dev \
       libpng12-dev
   
  -RUN python3 -m pip install -U pip && \
  -    python3 -m pip install -U setuptools scons==3.1.2
  +# Use python 3.9 by default
  +RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1
  +
  +# Setuptools is needed for cmake for ROCm build. Install using pip.
  +# Instructions to install PIP from https://pypi.org/project/pip/
  +RUN wget https://bootstrap.pypa.io/get-pip.py -qO get-pip.py
  +RUN python3 get-pip.py
  +RUN pip install -U setuptools scons==3.1.2 six
   
   ARG gem5_dist=http://dist.gem5.org/dist/develop
   
  
positive.code: FROM ubuntu:16.04
  
  # Should be minimal needed packages
  RUN apt-get update && apt-get install -y --no-install-recommends \
  
negative.code:     libprotoc-dev \
      libgoogle-perftools-dev \
      python-yaml \
      python3.9 \
      python3.9-dev \
      python3.9-distutils \
      wget \
      libpci3 \
      libelf1 \
  