Harald Pretl
04/14/2022, 6:34 PMaarch64
(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/tagsMatt Liberty
04/15/2022, 3:29 AMHarald Pretl
04/17/2022, 11:43 AMnarrowing
compiler warning. Here is the build script that works on aarch64
and `x86_64`:
#!/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:
{
"args": {
"GIT": "true",
"BASE_IMAGE": "base",
"NAME": "openroad",
"REPO_URL": "<https://github.com/The-OpenROAD-Project/OpenROAD.git>",
"REPO_COMMIT": "944855835623e651e7b9c7c50efcce1fb04b4fee"
}
}
Matt Liberty
04/17/2022, 4:59 PMHarald Pretl
04/17/2022, 5:03 PM