build: add --apt option to make things easier on other distros

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-01-22 00:00:00 +00:00
parent e45fdd4dec
commit aacec0aadc
2 changed files with 33 additions and 14 deletions

View File

@@ -11276,13 +11276,23 @@ gem5:
We tend to test this repo the most on the latest Ubuntu and on the latest link:https://askubuntu.com/questions/16366/whats-the-difference-between-a-long-term-support-release-and-a-normal-release[Ubuntu LTS].
For other Linux distros, everything will likely also just work if you install the analogous required packages for your distro, find them out with:
For other Linux distros, everything will likely also just work if you install the analogous required packages for your distro
Find out the packages that we install with:
....
./build --download-dependencies --dry-run
....
which just prints what `build` would do quickly without doing anything.
and then just look for the `apt-get` commands shown on the log.
After installing the missing packages for your distro, do the build with:
....
./build --download-dependencies --no-apt
....
which does everything as normal, except that it skips any `apt` commands.
Ports to new host systems are welcome and will be merged.