Skip to content

Commit

Permalink
build: refactor and decouple pkg builds from main build (#742)
Browse files Browse the repository at this point in the history
This refactor decouples the build phases of the Vere submodules (c3,
ent, ur, noun, and vere) from the main Urbit binary Zig build by moving
them into separate Zig builds within each respective pkg directory.

This change is intended to resolve certain Zig cache issues where the
linker fails to locate newly added symbols in submodules when these
symbols are used in dependent modules.
  • Loading branch information
pkova authored Nov 11, 2024
2 parents eab882f + 2a3db33 commit ad825d5
Show file tree
Hide file tree
Showing 16 changed files with 1,119 additions and 864 deletions.
7 changes: 4 additions & 3 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,10 @@ Supported values:
- soon
- edge

#### `-Dflags=[string]`
Provide additional compiler flags. These propagate to all build artifacts and
dependencies.
#### `-Dcopt=[list]`
Provide additional compiler flags. These propagate to all build artifacts.

Example: `zig build -Dcopt="-g" -Dcopt="-fno-sanitize=all"`

<!-- ## LSP Integration -->

Expand Down
Loading

0 comments on commit ad825d5

Please sign in to comment.