[Libre-soc-bugs] [Bug 433] building pia (power instruction analyser) needs to be documented

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Jul 24 22:16:42 BST 2020


https://bugs.libre-soc.org/show_bug.cgi?id=433

--- Comment #21 from Cole Poirier <colepoirier at gmail.com> ---
(In reply to Cole Poirier from comment #19)
> (In reply to Jacob Lifshay from comment #17)
> > (In reply to Cole Poirier from comment #15)
> > > Jacob can you update the README to this:
> > 
> > will do, or you can make a merge request on salsa
> > > 
> > > Program to analyze the behavior of Power ISA instructions
> > > 
> > > Script is available here:
> > > https://git.libre-soc.org/?p=dev-env-setup.git;a=blob_plain;f=pia-install;
> > > hb=HEAD
> > > 
> > 
> > That script is broken -- not everyone will have uid 1000, normally you would
> > use $USER or whoami to get the username instead of the mess you have.
> 
> In both of those cases you will get the answer root... from examining the
> output of env it appears that we want $SUDO_USER

I'm doing a global find and replace for $MYNAME with $SUDO_USER and for
$CHU_HOME with /home/$SUDO_USER.

Testing this now, then will push these changes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list