10 Commits

Author SHA1 Message Date
62af702f8d
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:36:36 -07:00
353111f2c2
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:15:58 -07:00
e95f71abab
build: update for zig-0.12.0 release
Minor fixes for the header installation.
2024-05-12 23:42:48 -07:00
9f74aeb1d2
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:40:13 -08:00
7bf54cea4f
build: remove unused code 2024-01-15 15:40:13 -08:00
401b23c930
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:40:13 -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