-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error occurred while building #1181
Comments
Try steps from here: https://openroad-flow-scripts.readthedocs.io/en/latest/user/BuildWithDocker.html |
Sry, I forgot to type Could not find a package configuration file provided by "ortools" with any
Add the installation prefix of "ortools" to CMAKE_PREFIX_PATH or set |
Don't understand your steps. Why you're cloning |
I am also having issues building with docker: #0 730.6 [ 78%] Building CXX object src/gui/CMakeFiles/gui.dir/src/bufferTreeDescriptor.cpp.o
#0 731.0 [ 78%] Building CXX object src/gui/CMakeFiles/gui.dir/gui_autogen/3YJK5W5UP7/qrc_resource.cpp.o
#0 733.6 [ 78%] Linking CXX static library gui.a
#0 733.8 [ 78%] Built target gui
#0 733.8 gmake: *** [Makefile:146: all] Error 2
------
Dockerfile.builder:14
--------------------
12 | WORKDIR /OpenROAD-flow-scripts
13 |
14 | >>> RUN ./build_openroad.sh --no_init --local --threads ${numThreads}
15 |
--------------------
ERROR: failed to solve: process "/bin/sh -c ./build_openroad.sh --no_init --local --threads ${numThreads}" did not complete successfully: exit code: 2
|
@RaidToRadar |
I used all 4 and I have allocate 4 cores to the vbox. This is the command that I followed: export OS_NAME=ubuntu22.04
git clone --recursive https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts
cd OpenROAD-flow-scripts
./etc/DockerHelper.sh create -target=dev -os=$OS_NAME
./etc/DockerHelper.sh create -target=builder -os=$OS_NAME The error arises on while running the builder DockerHelper.sh |
Can you try with single thread?
|
The same error is prompted #0 4060.2 [ 95%] Built target parseTest
#0 4060.2 [ 95%] Building CXX object src/odb/test/cpp/CMakeFiles/OdbGTests.dir/TestDbWire.cc.o
#0 4062.0 [ 95%] Building CXX object src/odb/test/cpp/CMakeFiles/OdbGTests.dir/TestAbstractLef.cc.o
#0 4062.0 /OpenROAD-flow-scripts/tools/OpenROAD/src/odb/test/cpp/TestAbstractLef.cc:13:10: fatal error: gmock/gmock.h: No such file or directory
#0 4062.0 13 | #include "gmock/gmock.h"
#0 4062.0 | ^~~~~~~~~~~~~~~
#0 4062.0 compilation terminated.
#0 4062.0 gmake[2]: *** [src/odb/test/cpp/CMakeFiles/OdbGTests.dir/build.make:90: src/odb/test/cpp/CMakeFiles/OdbGTests.dir/TestAbstractLef.cc.o] Error 1
#0 4062.0 gmake[1]: *** [CMakeFiles/Makefile2:2303: src/odb/test/cpp/CMakeFiles/OdbGTests.dir/all] Error 2
#0 4062.0 gmake: *** [Makefile:146: all] Error 2
------
Dockerfile.builder:14
--------------------
12 | WORKDIR /OpenROAD-flow-scripts
13 |
14 | >>> RUN ./build_openroad.sh --no_init --local --threads ${numThreads}
15 |
--------------------
ERROR: failed to solve: process "/bin/sh -c ./build_openroad.sh --no_init --local --threads ${numThreads}" did not complete successfully: exit code: 2
vboxuser@vbox-inator:~/OpenROAD-flow-scripts$ |
attach |
@RaidToRadar
If there is an issue, open a new issue with the |
Okay thank you, perhaps my issue is that I was attempting to build it with ubuntu22.04. It was able to build with the centos version. |
Sry, I didn't explain clearly. Forget about the previous bug. I have successfully built the Openroad.git and now I'm trying to build the Openroad-flow-scripts.git. After finish running
|
And here is the output of
|
Please try with |
Here is the output of
|
@lllyuhao
Also can you confirm is docker able to run without sudo access. Check with below command
|
I have always tried local installation and never tried docker installation. |
@lllyuhao
It is for docker based installation. Also I do not found word, you tried local installation in above thread.
|
Subject
[Build] for compilation-related issues.
Describe the bug
I am using Ubuntu 20.04 and build is failing. It seems like something wrong with the spdlog/fmt.h.
Expected Behavior
Build successfully
Environment
To Reproduce
When I using:
git clone https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts
cd OpenROAD-flow-scripts
./build_openroad.sh
Relevant log output
Screenshots
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: