The-OpenROAD-Project / OpenROAD-flow-scripts

OpenROAD's scripts implementing an RTL-to-GDS Flow. Documentation at https://openroad-flow-scripts.readthedocs.io/en/latest/
https://theopenroadproject.org/
Other
282 stars 262 forks source link

Error when executing setup.sh on RHEL8 #2021

Open Shigeya-Y opened 1 month ago

Shigeya-Y commented 1 month ago

Subject

[Build] for compilation-related issues.

Describe the bug

I'm trying local instration on RHEL8.9. When I run OpenROAD-flow-scripts/setup.sh on RHEL8.9, the following error is output:

sudo ./setup.sh
unsupported system: Red Hat Enterprise Linux

Reference to https://github.com/The-OpenROAD-Project/OpenROAD/issues/1207, I added to etc/DependencyInstaller.sh as followed:

case "${os}" in
    "Red Hat Enterprise Linux" )
        _installORDependencies
        if [[ "${option}" == "base" || "${option}" == "all" ]]; then
            _installCentosPackages
            _installCentosCleanUp
        fi
        if [[ "${option}" == "common" || "${option}" == "all" ]]; then
            _installCommon
        fi
        ;;

Then, the following error is output:

     :
No match for argument: llvm7.0
No match for argument: llvm7.0-devel
No match for argument: llvm7.0-libs
    :
No match for argument: tcl-tclreadline
No match for argument: tcl-tclreadline-devel
No match for argument: tcl-thread-devel
No match for argument: tcllib
    :

Expected Behavior

Successful execution of the following commands on RHEL8.9:

cd OpenROAD-flow-scripts
sudo ./setup.sh
./build_openroad.sh --local

Environment

$ cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="8.9 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.9"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.9 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"

To Reproduce

none

Relevant log output

No response

Screenshots

No response

Additional Context

No response