00:46
_whitelogger has quit [Ping timeout: 246 seconds]
00:46
_whitelogger has joined #glasgow
00:46
mats1_ has quit [Ping timeout: 245 seconds]
00:47
noracodes has quit [Ping timeout: 246 seconds]
00:48
noracodes has joined #glasgow
00:48
mats1_ has joined #glasgow
01:25
duderonomy has joined #glasgow
03:05
mats1_ is now known as mats1
03:05
mats1 has quit [Changing host]
03:05
mats1 has joined #glasgow
03:21
<
whitequark[cis] >
E: g.target.toolchain: could not find a usable FPGA toolchain; searched (by default): builtin (missing yosys), system (missing nextpnr-ice40); consider reinstalling the package with the 'toolchain' feature enabled (e.g. `pipx install -e glasgow[toolchain]`)
03:24
<
whitequark[cis] >
W: g.target.toolchain: cannot use toolchain 'system': cannot determine version of tool 'nextpnr-ice40'
03:24
<
whitequark[cis] >
E: g.target.toolchain: could not find a usable FPGA toolchain; searched (by default): builtin (missing yosys), system (missing nextpnr-ice40); consider reinstalling the package with the 'toolchain' feature enabled (e.g. `pipx install -e glasgow[toolchain]`)
03:24
<
whitequark[cis] >
E: g.target.toolchain: could not find a usable FPGA toolchain; searched (via GLASGOW_TOOLCHAIN): builtin (missing yosys)
03:24
<
whitequark[cis] >
i think these are good enough
03:27
<
whitequark[cis] >
s/searched/checked
04:35
joerg is now known as Guest1955
04:35
Guest1955 has quit [Killed (molybdenum.libera.chat (Nickname regained by services))]
04:35
joerg has joined #glasgow
04:49
trh has quit [Quit: weg]
04:49
trh has joined #glasgow
06:40
ar-jan has joined #glasgow
08:48
redstarcomrade has joined #glasgow
08:48
redstarcomrade has quit [Changing host]
08:48
redstarcomrade has joined #glasgow
08:52
redstarcomrade has quit [Read error: Connection reset by peer]
10:31
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:45
duderonomy has joined #glasgow
11:29
<
d1b2 >
<attiegrande> hi @whitequark , sorry for my absence last night... I was unwell
11:31
<
d1b2 >
<attiegrande> I've only skimmed the patches, will have a proper look soon
11:45
GNUmoon2 has quit [Remote host closed the connection]
11:45
GNUmoon2 has joined #glasgow
12:00
<
whitequark[cis] >
hope you get well soon Attie! please don't overexert yourself
12:15
sauce has quit [Ping timeout: 246 seconds]
13:20
<
d1b2 >
<attiegrande> Thank you... I've never been good at pacing, but the last couple of weeks have been a bit brutal
15:27
sugarbeet has quit [Read error: Connection reset by peer]
15:50
<
whitequark[cis] >
Attie: yeah so I specifically avoided doing any caching until the point where the toolchain could be accurately identified
15:50
<
whitequark[cis] >
because having toolchain bugs end up in your cache is nightmarish
15:51
sugarbeet has joined #glasgow
16:12
redstarcomrade has joined #glasgow
16:30
GNUmoon2 has quit [Remote host closed the connection]
16:30
GNUmoon2 has joined #glasgow
16:43
redstarcomrade has quit [Read error: Connection reset by peer]
16:45
redstarcomrade has joined #glasgow
16:45
redstarcomrade has quit [Changing host]
16:45
redstarcomrade has joined #glasgow
17:01
redstarcomrade has quit [Read error: Connection reset by peer]
18:31
sauce has joined #glasgow
19:47
redstarcomrade has joined #glasgow
19:47
redstarcomrade has quit [Changing host]
19:47
redstarcomrade has joined #glasgow
20:30
merry has joined #glasgow
20:41
ar-jan has quit [Ping timeout: 260 seconds]
21:26
redstarcomrade has quit [Read error: Connection reset by peer]
22:45
<
_whitenotifier-8 >
[GlasgowEmbedded/glasgow] whitequark 5eb4c72 - software: add PDM support.
22:45
<
_whitenotifier-8 >
[GlasgowEmbedded/glasgow] whitequark 576f610 - cli: don't print a backtrace when interrupted.
22:45
<
_whitenotifier-8 >
[GlasgowEmbedded/glasgow] whitequark 36769e7 - target: locate and examine the FPGA build tools.
22:45
<
_whitenotifier-8 >
[GlasgowEmbedded/glasgow] whitequark b5f7b6c - software: rename `[toolchain]` feature to `[builtin-toolchain]`.
22:50
<
_whitenotifier-8 >
[GlasgowEmbedded/glasgow] whitequark 5eb4c72 - software: add PDM support.
22:51
<
_whitenotifier-8 >
[GlasgowEmbedded/glasgow] whitequark 576f610 - cli: don't print a backtrace when interrupted.
22:51
<
_whitenotifier-8 >
[GlasgowEmbedded/glasgow] whitequark 36769e7 - target: locate and examine the FPGA build tools.
22:51
<
_whitenotifier-8 >
[GlasgowEmbedded/glasgow] whitequark b5f7b6c - software: rename `[toolchain]` feature to `[builtin-toolchain]`.
22:51
<
_whitenotifier-8 >
[GlasgowEmbedded/glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-353-b16ee97b26bad93e8bdeffa1609cd4c65d1cd310
23:09
<
d1b2 >
<attiegrande> I think one of yosys / nextpnr-ice40 / icepack are trying to make /.config, /.cache and /.local... (yes, in the fs root)
23:09
<
d1b2 >
<attiegrande> I don't have time to dig right now, but this obviously isn't good
23:09
<
d1b2 >
<attiegrande> based on testing inside ubuntu:22.04, and using the oss-cad-suite release
23:12
<
whitequark[cis] >
does that not have $HOME or something?
23:13
<
whitequark[cis] >
also, do you mean yowasp ones?
23:13
<
whitequark[cis] >
oh, wait, oss-cad-suite
23:13
<
d1b2 >
<attiegrande> non-yowasp
23:13
<
d1b2 >
<attiegrande> it's got ${HOME} set okay
23:13
<
whitequark[cis] >
that's weird
23:13
<
whitequark[cis] >
you sure it's not my bug? :)
23:13
<
_whitenotifier-8 >
[GlasgowEmbedded/glasgow] whitequark 08cb950 - target: cache bitstreams.
23:14
<
d1b2 >
<attiegrande> ignore the permission denied on /home/user/.cache/..., i'm looking into it
23:14
<
d1b2 >
<attiegrande> (if you run it yourself)
23:15
<
whitequark[cis] >
oh
23:15
<
whitequark[cis] >
did they build nextpnr wit qt?
23:15
<
whitequark[cis] >
s/wit/with/
23:15
<
whitequark[cis] >
that looks like they did and it's looking for $XDG_CONFIG_HOME
23:16
<
d1b2 >
<attiegrande> nope, see second file in the gist
23:16
<
_whitenotifier-8 >
[GlasgowEmbedded/glasgow] whitequark 08cb950 - target: cache bitstreams.
23:16
<
_whitenotifier-8 >
[GlasgowEmbedded/glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-355-b5f7b6cc92012c4616fca85b0721152fb3eba0ee
23:17
<
whitequark[cis] >
> D: g.target.toolchain: using toolchain 'system' (yosys 0.30.48.gb5b0b7e83, nextpnr-ice40 (unavailable), icepack 0)
23:17
<
whitequark[cis] >
wtf is going on
23:17
<
whitequark[cis] >
that means nextpnr-ice40 --version did not return anything legible
23:17
<
whitequark[cis] >
what happens if you run /opt/oss-cad-suite/bin/nextpnr-ice40 --version?
23:18
<
d1b2 >
<attiegrande> that error is messing things up
23:18
<
d1b2 >
<attiegrande> (my bad on that one)
23:19
<
whitequark[cis] >
why the fuck is it mkdir?!
23:19
<
whitequark[cis] >
(it's still downloading on my end)
23:20
<
d1b2 >
<attiegrande> mkdir on ~/.cache/... is my fault, permissions issue, i'm working on it... but the others are just wrong
23:21
<
d1b2 >
<attiegrande> (WIP disclaimer, etc...)
23:22
<
whitequark[cis] >
out of curiosity why not stick with yowasp? performance?
23:22
<
d1b2 >
<attiegrande> yes, but also being able to easily build & test both feels useful and/or for reference
23:22
<
d1b2 >
<attiegrande> use docker.agsys.io/attie/glasgow:builtin if you want yowasp
23:22
<
whitequark[cis] >
got it
23:23
<
d1b2 >
<attiegrande> not currently planning on making this into a PR, but i found a thing...
23:23
<
d1b2 >
<attiegrande> (unless you're open to it, i know we've discussed Docker in the past)
23:24
<
whitequark[cis] >
pipx+yowasp should be a functional replacement to docker
23:24
<
d1b2 >
<attiegrande> yeah, exactly - it's very neat
23:25
<
whitequark[cis] >
it did take a lot of hard work
23:25
<
d1b2 >
<attiegrande> but I like having tools packaged up... squirrel much(?)
23:25
<
whitequark[cis] >
heheh
23:26
<
d1b2 >
<attiegrande> I abuse docker a lot for throwaway environments too... so testing your recent work has generally been inside a disposable container, but using pipx & yowasp, etc...
23:27
<
d1b2 >
<attiegrande> there's a new image with the ~/.cache directory fixed btw...
23:29
<
whitequark[cis] >
what the fuck am i looking at
23:30
<
d1b2 >
<attiegrande> not sure, but the code block link is 404 for me
23:30
<
whitequark[cis] >
wait, which link did you get?
23:30
<
whitequark[cis] >
huh that opens for me
23:30
<
whitequark[cis] >
works in curl too
23:31
<
d1b2 >
<attiegrande> 404 for both, from here
23:31
<
russss >
there's an underscore at the end of that one for me
23:31
<
russss >
if you remove the underscore it works
23:31
<
d1b2 >
<attiegrande> ahh, well spotted
23:31
<
whitequark[cis] >
huh
23:31
<
d1b2 >
<attiegrande> underscore at the start too
23:32
<
whitequark[cis] >
oh, it's the discord bridge
23:32
<
whitequark[cis] >
sigh
23:32
<
russss >
ah that is failing to bridge /me properly
23:33
<
d1b2 >
<attiegrande> hides
23:34
<
d1b2 >
<attiegrande> ohh, export HOME resolves it
23:34
<
d1b2 >
<attiegrande> that was unexpected
23:34
<
d1b2 >
<attiegrande> apologies
23:36
<
d1b2 >
<attiegrande> I don't think i've ever seen that one before... 🤔
23:40
<
d1b2 >
<attiegrande> HOME is listed with a good value in export -p, so I'm confused by that one...
23:47
<
whitequark[cis] >
i have another PR cooking by the way
23:47
<
whitequark[cis] >
something you'll like~
23:52
<
d1b2 >
<attiegrande> I think this may be in need of a fix...
23:52
<
d1b2 >
<attiegrande> re PR - exciting!
23:54
<
d1b2 >
<attiegrande> ok, i'm actually going away now
23:55
<
d1b2 >
<attiegrande> thanks for those two PRs today wq, they're very good to have in place!
23:55
<
whitequark[cis] >
ohhhh i see what happened with HOME
23:56
<
whitequark[cis] >
yeah, i am doing hermetic builds
23:56
<
whitequark[cis] >
i guess setting HOME to a new temporary directory could work
23:58
<
d1b2 >
<attiegrande> sounds like you're on to it...
23:58
<
d1b2 >
<attiegrande> To clarify, I don't know why ${HOME} appears to be undefined... it's not, and it is exported according to export -p.
23:58
<
d1b2 >
<attiegrande> Running export HOME in the parent shell resolves this (?), and this patch also resolves it.
23:58
<
whitequark[cis] >
because i explicitly undefine it
23:59
<
d1b2 >
<attiegrande> but the export HOME in the parent shell resolves it(?)
23:59
<
d1b2 >
<attiegrande> that shouldn't matter if you undefine it
23:59
<
whitequark[cis] >
$YOSYS etc are run with an environment that only has $YOSYS, $NEXTPNR_ICE40, and $ICEPACK
23:59
<
whitequark[cis] >
hm
23:59
<
whitequark[cis] >
yes true
23:59
<
whitequark[cis] >
what if you upgrade amaranth?
23:59
<
whitequark[cis] >
or is it latest git?
23:59
<
whitequark[cis] >
actually
23:59
<
d1b2 >
<attiegrande> see the amaranth commit i linked above - you extend the environment
23:59
<
whitequark[cis] >
this is the latest one