aboutsummaryrefslogtreecommitdiff
path: root/README-hacking.md
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2019-06-14 13:17:38 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2019-06-14 13:17:38 +0100
commitbcd4c51642205412242bd23f695e05be98ec6a06 (patch)
tree7f03f23d1305784b81e2c723f5ea7b57195c16e5 /README-hacking.md
parent723e813e4e67281a327c5abccf02145a1a91527a (diff)
Software building status check tip added to README-hacking.md
It is useful to visually see how the building of software is progressing when running configure. I have been using a simple Bash `while' loop for this, so I added it in the `README-hacking.md' to be useful for others too.
Diffstat (limited to 'README-hacking.md')
-rw-r--r--README-hacking.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/README-hacking.md b/README-hacking.md
index 37429b3..84cf71b 100644
--- a/README-hacking.md
+++ b/README-hacking.md
@@ -945,6 +945,24 @@ for the benefit of others.
[reproducible-paper-output](https://gitlab.com/makhlaghi/reproducible-paper-output)
repository.
+ - **Inspecting status**: When you run `./configure`, several programs and
+ libraries start to get configured and build (in many cases,
+ simultaneously). To understand the building process, or for debuging a
+ strange situation, it is sometimes useful to know which programs are
+ being built at every moment. To do this, you can look into the
+ `.build/software/build-tmp` directory (from the top project
+ directory). This temporary directory is only present while building
+ the software. At every moment, it contains the unpacked source tarball
+ directories of the all the packages that are being built. After a
+ software is successfully installed in your project, it is removed from
+ this directory. To automatically get a listing of this directory every
+ second, you can run the command below (on another terminal while the
+ software are being built). Press `CTRL-C` to stop it and return back
+ to the command-line).
+ ```
+ while true; do echo; date; ls .build/software/build-tmp; sleep 1; done
+ ```
+