[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Reproduce-devel] [task #15344] wishlist: having a minimal demo project
From: |
Mohammad Akhlaghi |
Subject: |
[Reproduce-devel] [task #15344] wishlist: having a minimal demo project would be helpful for newbies |
Date: |
Sun, 28 Jul 2019 20:35:28 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Update of task #15344 (project reproduce):
Category: None => Analysis
Status: None => In Progress
Assigned to: None => makhlaghi
_______________________________________________________
Follow-up Comment #1:
Did the (old: commit 33820ab) configure script finish with the lines below?
----------------
The project and its environment are configured with no errors.
Please run the following command to start.
(Replace '8' with the number of CPU threads)
.local/bin/make
To change the configuration later, please re-run './configure',
DO NOT manually edit the relevant files.
Just before printing these lines, it should have made a Makefile in the top
project directory.
But since no Makefile is apparently created, then I guess the configure script
must have crashed somewhere.
Can you run the `./configure' command again with `-e -j1' (to respectively use
the previous directories and to only build on one thread). You can then more
clearly see where it stops. It won't re-built something that has already been
built, so it will automatically start very close to the problematic package.
It would be great if you can send us the last lines as a bug report so we can
fix the problematic issue for the future.
But getting back to the wishlist, this is a good point, thanks. So far, the
pipeline does a very simple/basic analysis that you can see in
reproduce/analysis/make/delete-me.mk
<http://git.savannah.nongnu.org/cgit/reproduce.git/tree/reproduce/analysis/make/delete-me.mk>:
it will download a small FITS file, get its histogram and convert it to PDF to
show in the template paper.
Once the `./configure' script finishes successfully (and you have a `Makefile'
in the top directory), you can run `.local/bin/make' which will do this basic
analysis and build a `paper.pdf'. You can see the PDF for commit ced465c here
<https://gitlab.com/makhlaghi/reproducible-paper-output/raw/master/paper.pdf>.
But generally, just yesterday
<http://git.savannah.nongnu.org/cgit/reproduce.git/commit/?id=6ef4cc854d> a
new `./project' wrapper script for the old `./configure', `.local/bin/make'
and `./for-group' steps has been written to simplify the interface (and have
better control over the environment). I recommend to pull this new commit and
use that. It will not affect your existing built software, you can give it the
same environment as before with these commands (after pulling to the most
recent commit):
./project configure -e --host-cc -j1
./project make
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/task/?15344>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/