microzig icon indicating copy to clipboard operation
microzig copied to clipboard

Various issues

Open Grazfather opened this issue 1 year ago • 2 comments

I am having troubles getting examples building with the monorepo. Reporting my issues as requested.

  1. No mention of need to install requirements.
  2. bundle.py uses pathspec with the negate kwarg in match_tree, but requirements.txt doesn't pin a version. This used 0.11.0 on my machine, but negate shows up in 0.12.0
  3. bundle.py uses the --hard-deference option from tar, which is not a valid option for OSX tar. I suggest using tarlib. I got around this, however, by installing gnutar with brew and symlinking it to tar on my PATH.
  4. No .zon files with the build.zig files for the example. I don't know how to write these to have it point to the server.

Grazfather avatar Feb 17 '24 20:02 Grazfather

No .zon files with the build.zig files for the example. I don't know how to write these to have it point to the server.

I will add this in more detail to the readme, but for now: Copy/unpack the example base from deployment-zig, which will have the correct build.zig.zon, and you can then use that repo as a testing place

ikskuh avatar Feb 18 '24 01:02 ikskuh

They are much nicer now! I was able to build the rpi2040 examples when following them again.

Grazfather avatar Feb 18 '24 14:02 Grazfather