OpenROAD and OpenLane now working fine on `aarch64...
# openroad
h
OpenROAD and OpenLane now working fine on
aarch64
(means Raspberry Pi and M1 Macs) in addition to
x86_64
with the build scripts you can find here: https://github.com/hpretl/foss-asic-tools/tree/rocky Alternatively you can grab the Docker image where a lot of tools are already installed based on RockyLinux 8.5: https://hub.docker.com/r/hpretl/foss-asic-tools/tags
m
Is there anything that should be folded back into openroad?
h
Just a minor thing maybe: We need to disable the
narrowing
compiler warning. Here is the build script that works on
aarch64
and `x86_64`:
Copy code
#!/bin/bash

set -e
source scl_source enable gcc-toolset-9

REPO_COMMIT_SHORT=$(echo $REPO_COMMIT | cut -c 1-7)

git clone --recursive ${REPO_URL} ${NAME}
cd ${NAME}
git checkout ${REPO_COMMIT}
mkdir -p build/
cd build
CFLAGS='-Wno-narrowing' cmake .. "-DCMAKE_INSTALL_PREFIX=/foss/tools/${NAME}/${REPO_COMMIT_SHORT}"
make -j$(nproc)
make install
Here are the variables used:
Copy code
{
  "args": {
    "GIT": "true",
    "BASE_IMAGE": "base",
    "NAME": "openroad",
    "REPO_URL": "<https://github.com/The-OpenROAD-Project/OpenROAD.git>",
    "REPO_COMMIT": "944855835623e651e7b9c7c50efcce1fb04b4fee"
  }
}
m
What narrowing warning do you get - probably we should fix that rather than disable the warning
h
I will test next week and give you the compiler log (no access to my M1 Mac the next 2 days).