Building ORFS locally on Ubuntu 24.04 - boost version issue? #10667
|
After running I'm trying to build ORFS locally with a custom install-path, as so: but that leads to the following error: Does anyone have a suggestion what to do next? |
Replies: 3 comments 3 replies
|
Your log is not asking for "any Boost iostreams"; it is asking for the Boost version exported by the OR-Tools package under This line is the clue: That package exports a Boost 1.87 config, so CMake then looks for I would avoid mixing the For a clean ORFS build, I would try the flow wrapper first: # from a clean OpenROAD-flow-scripts checkout
./setup.shor, if you need the manual dependency path, install dependencies with a consistent local prefix instead of using whatever is already in For diagnosis, check which OR-Tools CMake package is being picked up: cmake --debug-find-pkg=ortools ...or temporarily move So I would not manually install only If removing |
|
I suggest you use |
|
Thanks for looking into this. @yudin-s I haven't manually installed I started from a clean Ubuntu 24.04 installation, so any Since I don't know enough about sudo rm -rf /opt/*
git reset --hard HEAD
git clean -fd
sudo ./setup.sh
./build_openroad.sh --no_init --local --install-path "${INSTALL_PATH}"Here are some excerpts from the build output, hopefully that gives a clue as to where the problem may be: |
I would avoid installing GCC 15 right now. The failure mode now appears to be a toolchain consistency issue: CMake selected GCC 15 (
GNU 15.2.0), but the expected archiver wrapper/usr/bin/gcc-ar-15is missing. That points to a compiler/AR mismatch in the environment, not back to the original Boost/OR-Tools conflict.The confusing part is that your shell
gcc --versionshows Ubuntu's GCC 13, while the OpenROAD configure step says:So I would first find where that compiler choice is coming from: