Skip to content

Pre-Compiled OpenRoad Binary QT5 Issue #83

@atsmith3

Description

@atsmith3

How can I run the precompiled openroad? Newer versions of openroad do not have the "partition_design" command that is required by the LefDef2ProtocolBufferFormat translator.

I am struggling to get the right version of QT installed to properly run the precompiled openroad binary. I am using the following Dockerfile - and I have tried with Ubuntu 18.04 and 20.04 base images but face the following issues:

Dockerfile

# syntax=docker/dockerfile:1
FROM ubuntu:20.04
RUN ln -snf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime \
  && echo America/Los_Angeles > /etc/timezone
RUN apt-get update -y \
  && apt-get -y install tcl tcl-dev software-properties-common wget \
  build-essential
RUN add-apt-repository ppa:deadsnakes/ppa && apt-get update -y
RUN apt-get install -y python3.6 python3-pip libpython3.6
RUN apt-get install -y qt5-default
RUN apt-get install -y libtinfo5
RUN wget http://launchpadlibrarian.net/354245868/libreadline7_7.0-3_amd64.deb \
  && dpkg -i libreadline7_7.0-3_amd64.deb
RUN mkdir /workspace && chmod 777 /workspace
WORKDIR /workspace
CMD ["/bin/bash"]

Build Docker Image

docker build . -t ubuntu_20_04_macro_place:qt_default

Docker Run Image:

docker run -it -v $(realpath ~/software/MacroPlacement/main):/workspace:z ubuntu_20_04_macro_place:qt_default

Error on Ubuntu 18.04:

> python3.6 ./test2.py 
../../src/utils/openroad: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.11' not found (required by ../../src/utils/openroad)

Error on Ubuntu 20.04:

> python3.6 ./test2.py 
../../src/utils/openroad: symbol lookup error: ../../src/utils/openroad: undefined symbol: _ZdlPvm, version Qt_5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions