Veera | Hi | 12:39 |
---|---|---|
Veera | lkcl: did the problem sort out | 12:39 |
lkcl | Veera, no. | 13:42 |
lkcl | i re-ran the script, it failed. | 13:42 |
lkcl | i did not alter the script | 13:43 |
lkcl | capnp files are not being found | 13:43 |
lkcl | they are being installed in /usr/local/share/ (somewhere) | 13:43 |
lkcl | where the compile is expecting them to be in /home/lkcl/src/..... | 13:44 |
lkcl | tell you what: i will completely blow away everything and run it entirely again | 13:44 |
Veera | lkcl: please wait | 13:46 |
Veera | lkcl: is manually doing steps is painful | 13:46 |
lkcl | i haven't done any manual steps. | 13:47 |
lkcl | i'm running: mk-deb-chroot symbiflow-clean | 13:47 |
lkcl | schroot -c symbiflow-clean | 13:47 |
lkcl | then sudo bash and install-symbiflow | 13:47 |
Veera | while you were running it, I updated symbiflow-install | 13:48 |
Veera | the update fixes exactly the problem | 13:48 |
lkcl | -cp libs/libvtrcapnproto/gen/rr_graph_uxsdcxx.capnp /usr/local/symbiflow/share/vtr | 13:50 |
lkcl | +cp ../libs/libvtrcapnproto/gen/rr_graph_uxsdcxx.capnp /usr/local/symbiflow/share/vtr | 13:50 |
Veera | lkcl: can you look at HDL_workflow/symbiflow page and symbiflow-install script for comments and review | 13:50 |
Veera | yes | 13:51 |
Veera | the way you are running, i have not done that! | 13:52 |
Veera | I used debootstrap and manual install | 13:52 |
Veera | and then made the script manually | 13:52 |
Veera | so it has errors | 13:52 |
lkcl | ok that was 3 days ago. it would have been helpful to have put that as a comment ("i have updated the copying of the capnp file, this is the commit diff link") | 13:53 |
lkcl | okaaay | 13:53 |
lkcl | well it's good that i'm running the script then :) | 13:53 |
lkcl | ok that's underway - completely new schroot. | 13:54 |
Veera | Is it that we must not use buster-updates main in apt sources!!! | 13:57 |
Veera | in test debootstrap | 13:57 |
lkcl | it's fine | 13:58 |
lkcl | hmmm buster-updates, no | 13:58 |
lkcl | that's a "moving target" (non-reproducible) | 13:58 |
lkcl | but backports is fine | 13:59 |
Veera | the https://bugs.libre-soc.org/show_bug.cgi?id=654#c15 comment is not that much explicitly clear | 13:59 |
lkcl | which is probably why i missed it, doh. | 13:59 |
Veera | ok | 13:59 |
lkcl | edited | 14:00 |
lkcl | we're fairly low on budget on #384. can you do python? | 14:01 |
Veera | I scripted in python for my net modem and few others | 14:01 |
lkcl | if i give you a "slightly boring but quite straightforward and important repetitive task" would you be willing to give that a shot? | 14:01 |
lkcl | the unit tests - and i apologise here, there's a *lot* of them - need to be updated to an "expected results" format | 14:02 |
Veera | Well reading documentation of python is very clear and easy to understand | 14:02 |
Veera | can I know the prerequisite sw for doing that? means system requirements | 14:03 |
Veera | I will try | 14:03 |
Veera | my mobile is low in power! am using it for net con | 14:04 |
lkcl | https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/openpower/test/alu/alu_cases.py;h=13efdd53f9ae699c36eacefa064fa44797c46104;hb=951dd564494af57dde0c439604f529f6b007bb98#l115 | 14:04 |
lkcl | ok | 14:04 |
Veera | irc chews my battery power | 14:04 |
lkcl | zowee | 14:04 |
lkcl | it shouldn't. | 14:04 |
lkcl | https://libre-soc.org/HDL_workflow/devscripts/ | 14:04 |
lkcl | on a (new?) chroot on TALOS-II workstation | 14:05 |
lkcl | if it gets too low you can check irc logs later | 14:05 |
Veera | ok | 14:05 |
Veera | i have matrix | 14:05 |
lkcl | see that "expected" results? | 14:05 |
Veera | it logs everything | 14:05 |
lkcl | ahh | 14:05 |
lkcl | yyeahh... | 14:05 |
lkcl | that example case_addis_nonzero_r0_regression() | 14:06 |
lkcl | it was the very first example which added "expected results" | 14:06 |
lkcl | kylel should be able to guide you through it | 14:06 |
lkcl | maybe work together on this? | 14:07 |
lkcl | all the unit tests in that file need converting. | 14:07 |
lkcl | it means either calculating the answers by hand | 14:07 |
lkcl | or | 14:07 |
lkcl | (better) | 14:07 |
lkcl | looking at the debug log output (which i apologise is pretty verbose, but you'll get the hang of it) | 14:07 |
Veera | ok | 14:08 |
lkcl | and on completion of each test, extract the results that were produced | 14:08 |
lkcl | and literally just put the... well... "expected" results into the unit test. | 14:08 |
lkcl | to save yourself some time, we have a trick | 14:09 |
lkcl | (don't actually commit this!) | 14:09 |
lkcl | global search/replace ":%s/def case_/def nocase_/g" | 14:09 |
lkcl | then re-edit to enable the *one* test you want to run | 14:09 |
lkcl | once test/alu/alu_cases.py is done, there are... deep breath... 10 more (!!!) | 14:09 |
Veera | want to input more? or that's it? | 14:11 |
Veera | I try to understand and do! | 14:12 |
lkcl | :) | 14:14 |
lkcl | can you raise a bugreport and cross-ref the IRC log here? | 14:14 |
lkcl | "adapt ALU test cases to include expected results" | 14:14 |
lkcl | https://libre-soc.org/irclog/%23libre-soc.2021-10-13.log.html#t2021-10-13T14:04:29 | 14:15 |
lkcl | do each case_xxx one commit at a time. make sure to review with "git diff" *before* committing. | 14:15 |
ghostmansd[m] | lkcl: I just pushed EXTSXL and related changes for extsb/extsh/extsw, test_issuer works flawlessly | 19:47 |
ghostmansd[m] | So, the next task is ISACaller update? | 19:47 |
ghostmansd | lkcl: I've raised the task for ISACaller: https://bugs.libre-soc.org/show_bug.cgi?id=728 | 20:01 |
ghostmansd | Please provide the details and assign the budget when you have time to look at it | 20:01 |
lkcl | ghostmansd, brilliant | 21:10 |
lkcl | yes, ISACaller update. | 21:11 |
lkcl | can you remember the day we talked? irclogs. | 21:11 |
lkcl | got it | 21:12 |
lkcl | ghostmansd, EUR 1000 budget for it. we've room to do a decent job, add a stack of docstrings etc. etc. | 21:15 |
ghostmansd[m] | lkcl: sure I recall, I even posted link to IRC logs in task :-) | 21:22 |
ghostmansd[m] | That said, quite likely there be more questions once I dive into the code. call() is quite big and complex, so some questions on how to organize it best may arise in course of this task. | 21:23 |
ghostmansd[m] | I took a quick look today, but this obviously is not sufficient to make any sort of architecture-wise plans. | 21:24 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!