10 Commits

Author SHA1 Message Date
0e1bc3a222
build: out-kludge the installed header include kludge
This is a, erm, beautiful(?) mess. I feel like there probably ought to
be a better way to handle this use case, but the way that the includes
are handled in this specific codebase are extremely weird (how many
times have you actually seen #include_next get used?). It may be worth
making this a more natural path to take, though.
2024-06-18 20:41:00 -07:00
bb0e7bc98c
build: update for zig-0.13.0 release
Deprecated LazyPath fields were removed. This would have been the
correct non-lazy (irony intended?) way of updating for zig 0.12 as
well, and indeed this build works with zig-0.12.1.
2024-06-17 23:16:44 -07:00
a2e9a8301d
build: update for zig-0.12.0 release
Minor fixes for the header installation.
2024-05-12 23:42:59 -07:00
9679f074d2
build: update for zig-0.12.0-dev.2208+4debd4338
Incorporate various build API changes. Hopefully there won't be any
other major API changes before the 0.12.0 release.
2024-01-15 15:38:06 -08:00
7940593eb8
build: remove unused code 2024-01-15 15:30:20 -08:00
e68d5f484b
build: handle architecture include more gracefully
The "openssl/opensslconf.h" header is copied from an
architecture-specific source file, which means that specific path is
not valid within the source tree. I previously hacked around this by
copying the file within the source tree, but that had the major
downside of invalidating various cache layers after the copy was
performed.

Since we install this header with the right name, a slightly better
solution, hopefully, is to add the header install path as an include
directory. In theory, this will not invalidate any caching and improve
the build process slightly.
2024-01-15 15:28:44 -08:00
e2db88c634
build.zig: update for 3.8.2
I had a big thing written here about how including opensslconf.h broke
but then I found out I had accidentally committed an arch-specific
opensslconf in the source tree somehow in the other branches. Whoops.
Anyway, the build system copies this around now so it should work even
better (???).
2023-11-06 23:58:01 -08:00
c06f268a16
build.zig: fix copy-paste error in header search logic
This didn't cause problems because the only file excluded this way has
its full name provided, so it matches either way.
2023-11-06 22:36:24 -08:00
9f96f4f711
build.zig: update for v3.8.1 2023-11-06 22:36:24 -08:00
e85e51738d
add build.zig 2023-11-06 22:36:24 -08:00