cole can you create a separate script which rather than installs stuff in the chroot just installs nmigen yosys simbiyosys and git clones the dev repos soc, nmutil, ieee754fpu and so on? not as a chroot just a straight install. we need this quite fast becaude there are people who will need to use it over the nect 1 to 5 days.
it is probably stuff that is already in the yaml files.
Sure, should only take about 5 minutes because I already have the yosys part separated out, and the dev repos are straightforward. I'm not sure what you're referring to with regard to the yaml files. Can you please be more specific?
Do you want me to assume the user has already correctly set up ssh config? Or just basic setup with clone via read-only https?
(In reply to Cole Poirier from comment #3) > Do you want me to assume the user has already correctly set up ssh config? no. this is for the hackathon. i'm not giving them accounts yet. > Or just basic setup with clone via read-only https? basic clone. does https work? i usually use git://... because git-daemon is running.
(In reply to Luke Kenneth Casson Leighton from comment #4) > (In reply to Cole Poirier from comment #3) > > Do you want me to assume the user has already correctly set up ssh config? > > no. this is for the hackathon. i'm not giving them accounts yet. > > > Or just basic setup with clone via read-only https? > > basic clone. does https work? i usually use git://... because > git-daemon is running. Ok perfect. Much easier. Https does work, I had to look through the mailing list, I think you and Jacob discussed it in March (https://bugs.libre-soc.org/show_bug.cgi?id=266), and set up this method: http://swarm.cs.pub.ro/~razvan/blog/http-repository-sharing-asides-gitweb/. Testing the script now, will let you know once I have committed it to dev-env-setup repo, with the file name 'hdl-dev-repos'.
(In reply to Cole Poirier from comment #5) > Ok perfect. Much easier. Https does work, I had to look through the mailing > list, I think you and Jacob discussed it in March > (https://bugs.libre-soc.org/show_bug.cgi?id=266), and set up this method: > http://swarm.cs.pub.ro/~razvan/blog/http-repository-sharing-asides-gitweb/. > Testing the script now, will let you know once I have committed it to > dev-env-setup repo, with the file name 'hdl-dev-repos'. throw it out there anyway - commit it the moment you've written it - so that other people can take a look. we have an anti-"i'll-commit-it-when-it's-perfect" development rule, remember?
(In reply to Luke Kenneth Casson Leighton from comment #6) > (In reply to Cole Poirier from comment #5) > > > Ok perfect. Much easier. Https does work, I had to look through the mailing > > list, I think you and Jacob discussed it in March > > (https://bugs.libre-soc.org/show_bug.cgi?id=266), and set up this method: > > http://swarm.cs.pub.ro/~razvan/blog/http-repository-sharing-asides-gitweb/. > > Testing the script now, will let you know once I have committed it to > > dev-env-setup repo, with the file name 'hdl-dev-repos'. > > throw it out there anyway - commit it the moment you've written it - so > that other people can take a look. > > we have an anti-"i'll-commit-it-when-it's-perfect" development rule, > remember? With you, saw this and pushed.
(In reply to Cole Poirier from comment #7) > (In reply to Luke Kenneth Casson Leighton from comment #6) > > (In reply to Cole Poirier from comment #5) > > > > > Ok perfect. Much easier. Https does work, I had to look through the mailing > > > list, I think you and Jacob discussed it in March > > > (https://bugs.libre-soc.org/show_bug.cgi?id=266), and set up this method: > > > http://swarm.cs.pub.ro/~razvan/blog/http-repository-sharing-asides-gitweb/. > > > Testing the script now, will let you know once I have committed it to > > > dev-env-setup repo, with the file name 'hdl-dev-repos'. > > > > throw it out there anyway - commit it the moment you've written it - so > > that other people can take a look. > > > > we have an anti-"i'll-commit-it-when-it's-perfect" development rule, > > remember? > > With you, saw this and pushed. got it. https://git.libre-soc.org/?p=dev-env-setup.git;a=blob;f=hdl-dev-repos;hb=HEAD ah goood, looks like that'll work really well. and these cover everything and a bit more, yes? https://git.libre-soc.org/?p=dev-env-setup.git;a=blob;f=install-apt-reqs;hb=HEAD if so, that's probably pretty much what the hackathon will need.
(In reply to Luke Kenneth Casson Leighton from comment #8) > (In reply to Cole Poirier from comment #7) > > With you, saw this and pushed. > > got it. > https://git.libre-soc.org/?p=dev-env-setup.git;a=blob;f=hdl-dev-repos;hb=HEAD > > ah goood, looks like that'll work really well. > > and these cover everything and a bit more, yes? > https://git.libre-soc.org/?p=dev-env-setup.git;a=blob;f=install-apt-reqs; > hb=HEAD > > if so, that's probably pretty much what the hackathon will need. Yes, it's the list of all dependencies I've run into errors for not having installed while trying to build and install the top-level dependencies.
Tested in a lxc-container of Debian 10. The following command should produce the desired outcome: ``` cd ~ git clone https://git.libre-soc.org/git/dev-env-setup.git sudo bash cd /home/$USER ./dev-env-setup/install-apt-reqs && ./dev-env-setup/yosys-et-al && ./dev-env-setup/hdl-dev-repos ctrl-d ``` As I am the assignee, should I now close this bug report?
superb. yes done tested therefore close. thank you cole.