OpenROAD-flow-scripts
OpenROAD-flow-scripts copied to clipboard
Ubuntu 22.04.5 LTS Local Installation Error
trafficstars
Subject
[Build] for compilation-related issues.
Describe the bug
Branch: master
commit: 917131bde7a5165ed57eb6d323c153aef2ee2223
I wanted to try building ORFS from a locally in a fresh Ubuntu 22.04.5 VM and I get the following error after running:
Error:
gmake: *** [Makefile:146: all] Error 2
sudo ./setup.sh
./build_openroad.sh --local
As detailed in the installation instructions.
It looks like the source of this error is here:
/usr/bin/ld: CMakeFiles/TestWorker.dir/TestWorker.cc.o: in function `_GLOBAL__sub_I__ZN27test_suite_test_worker_Test10test_info_E':
TestWorker.cc:(.text.startup+0x1f2): undefined reference to `testing::internal::MakeAndRegisterTestInfo(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, char const*, char const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*)'
collect2: error: ld returned 1 exit status
gmake[2]: *** [src/dst/test/cpp/CMakeFiles/TestWorker.dir/build.make:131: src/dst/test/cpp/TestWorker] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:9467: src/dst/test/cpp/CMakeFiles/TestWorker.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
When running the Env.sh script it also showed that cmake was not on my path and the version of OpenROAD was outdated.
Log file is attached here (it was too large to fit in the "relevant log outputs" section)
Thanks for the help!
Expected Behavior
Expected openroad to build locally and not return error.
Environment
[WARNING] Your current OpenROAD version is outdated.
It is recommened to pull the latest changes.
If problem persists, file a github issue with the re-producible test case.
kernel: Linux 6.8.0-85-generic
os: Ubuntu 22.04.5 LTS (Jammy Jellyfish)
./etc/Env.sh: line 57: cmake: command not found
To Reproduce
Branch: master
commit: 917131bde7a5165ed57eb6d323c153aef2ee2223
sudo ./setup.sh
./build_openroad.sh --local
Relevant log output
Screenshots
No response
Additional Context
No response