Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| openroad [2026/02/12 14:48] – openroad bazel fixed beckmanf | openroad [2026/02/19 09:16] (current) – bazel beckmanf | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| Bazel promises reproducable builds which I liked. I tried it on a virtual (via UTM) debian 13 (trixie) arm64 machine. The openroad binary is a gui application which relies on qt. It seems quite difficult to have system independent gui application. OpenROAD uses prebuild libraries, for example the xcd libraries which are from [[https:// | Bazel promises reproducable builds which I liked. I tried it on a virtual (via UTM) debian 13 (trixie) arm64 machine. The openroad binary is a gui application which relies on qt. It seems quite difficult to have system independent gui application. OpenROAD uses prebuild libraries, for example the xcd libraries which are from [[https:// | ||
| - | I gave up on that one for the time being. | + | == Install bazelisk == |
| + | |||
| + | See: https:// | ||
| + | |||
| + | for the different systems. For debian linux on x86_64 machines do: | ||
| + | |||
| + | < | ||
| + | wget https:// | ||
| + | sudo dpkg -i bazelisk-amd64.deb | ||
| + | </ | ||
| + | |||
| + | |||
| + | == Build and Run openroad in cmdline mode == | ||
| + | |||
| + | The will build and run the openroad tool in cmdline mode. | ||
| + | < | ||
| + | bazelisk run //: | ||
| + | </ | ||
| + | |||
| + | == Build and run in gui mode == | ||
| + | |||
| + | < | ||
| + | bazelisk run --// | ||
| + | </ | ||
| + | |||
| + | == Run the regression test via bazel == | ||
| + | |||
| + | The following command will run all tests which are defined in the | ||
| + | src folder. The three dots are real. | ||
| + | < | ||
| + | bazelisk test src/... | ||
| + | </ | ||
| + | |||
| + | == Run one test from the regression == | ||
| + | |||
| + | < | ||
| + | bazelisk test src/ | ||
| + | </ | ||
| === Install via cmake === | === Install via cmake === | ||
| Line 28: | Line 65: | ||
| </ | </ | ||
| + | |||
| + | === Regression Test === | ||
| + | |||
| + | To be sure that the compiled tools are actually working as expected on possibly different platforms, a regression test is a good idea. The [[https:// | ||
| + | |||
| + | < | ||
| + | ./ | ||
| + | ctest --test-dir build -j 8 | ||
| + | </ | ||
| + | |||
| + | |||
| + | === Build Results === | ||
| + | |||
| + | Some collected build results: | ||
| + | |||
| + | [[or_buildresults|OpenROAD Build Results]] | ||