<Getorix>
seems to work fine on clean mac snapshot. these are some things worth discussing:
<Getorix>
1. I currently used `ktemkin/oss-fpga` tap to install opensource fpga toolchain. Eventually we should probably have similar tap under GlasgowEmbedded
<Getorix>
2. on mac glasgow installs itself to `$HOME/Library/Python/3.7/bin/`, which is probabaly fine but maybe we want to add symlink there from /usr/local/bin/
<Getorix>
3. On the very first glasgow call there might be an error "E: __main__: device not found", however second and all further attempts are fine (maybe because of vmware)
<emily>
# nix run nixpkgs.glasgow -c glasgow run benchmark
<emily>
and have it Just Work
<Getorix>
hehe, brew is enough for me I think :)
<emily>
although right now you'd need to use the unstable nixpkgs channel which requires a little setup
<emily>
fair enough
<emily>
a handful of people (incl. M-Labs) are using Nix for FPGA design stuff because it involves so many interlocking toolchains with complicated setup procedures and is hard to make easy to setup and reproducible, which Nix addresses nicely
<emily>
so I just figured I'd plug it in case it might be helpful to you :)
<Getorix>
also if ppl vote for brew we can always add prebuild binaries there as well
<Getorix>
yeah, thanks for letting me know, I will take a look for sure
<emily>
that first-time run issue is strange
<emily>
hm, "If there is no existing kernel extension installed for the device, libusb will run out of the box, you do not even need to have root privilege and there is no need to set up udev rules like Linux."
<emily>
maybe it's something like, first run it sets up the kernel extension
<emily>
but that only works by the second run
<Getorix>
I don't think it is using any separate kernel extension
<Getorix>
usblib should use IOKit USB to talk to device which is already loaded
<Getorix>
for FTDI it is a bit different but it is not our case
<emily>
ah
<emily>
ok, just my unfamiliarity with macOS (it's been a long time)
<Getorix>
I can trace kext loading though, worth checking
<Getorix>
we should probably add Nix setup instruction for macOS as well if ppl are using it
<emily>
dunno if anyone is using it on macOS, I only recently got Glasgow in there and the toolchain building on the macOS builders :)
<emily>
I don't personally have access to a macOS box so my latency for fixing issues is a bit long