Commit graph

72 commits

Author SHA1 Message Date
Jan200101
5466b3ff26
add patch to add library directories 2025-05-27 16:16:32 +02:00
Jan200101
3f9c4abd5e
add gcc to runtime dependencies
zig invokes the C compiler to figure out system info like where system
2025-05-10 01:36:39 +02:00
Jan200101
098a032507
fix and re-enable documentation 2025-04-24 18:31:29 +02:00
Jan200101
9dbb6c1d28
disable docs
docs fail to generate because the build runner is unable to find the zig lib directory, despite it being present.
it will be skipped for the initial build and included again once its figured out
2025-04-22 10:32:26 +02:00
Jan200101
e2e82e488a
reuse same build options when building docs 2025-04-22 10:01:52 +02:00
Jan200101
0ec1977ad7
add default build-id to macro, correctly handle undefined macro
thanks alebastr for pointing this out, unsure why I hadn't run into this myself
2025-04-22 09:26:41 +02:00
Jan200101
f60ca2269e
fix patch name 2025-04-22 00:01:00 +02:00
Jan200101
21b8f7dff6
add patch to bump memory limits
this should fix an issue not previously observed with aarch64 builds
2025-04-21 23:40:41 +02:00
Jan200101
0c6022a563
set fedora llvm compat version to 42
this flew past me
2025-04-21 21:30:25 +02:00
Jan200101
c7d17d37d7
upload new sources 2025-04-21 21:14:52 +02:00
Jan200101
0a50d1817b
Update to 0.14.0 2025-04-13 20:15:51 +02:00
Jan200101
284dc4f1a3
add user provided test and fetch options 2025-02-01 19:21:24 +01:00
Jan200101
d0f0b383da
bump release 2025-01-27 16:35:42 +01:00
Jan200101
901fbb9f17
specify to build against local zig stdlib directory 2025-01-27 16:34:37 +01:00
Jan200101
fecba593ad
use release fast instead of release safe
this doesn't match how how we build other zig projects but it matches how stage3 is build using cmake.
I hope this brings the aarch64 memory usage down far enough for it to compile
2025-01-27 15:46:08 +01:00
Jan200101
3220db0cdf
enable position independent executable for the zig build 2025-01-27 15:21:36 +01:00
Jan200101
3f349af1df
bump release 2025-01-27 13:59:56 +01:00
Jan200101
8cc224672e
build stage 3 using zig build system 2025-01-27 13:59:52 +01:00
Jan200101
a70f739094
add user provided options to the end of the build and install options 2025-01-27 11:03:01 +01:00
Jan200101
e48280957a
drop unused patch
the patch was originally introduced to fix some hash related issues where the artifacts created by zig may influence the hash creation.
This is only an issue when the build.zig.zon of a project specifies "" as a path, which means "include the whole project foler" including any sort of output or build cache.
While this hasn't caused any issues for anyone this is undesired behavior and changes how zig operates
its best to start a discussion with upstream how this best be dealt with
2025-01-27 10:05:12 +01:00
Jan200101
2bbfea5a46
separate package dir from cache dir, add prepare macro
`zig build --system` fails if the given path does not exist
this hasn't been an issue for river or ghostty since they pull in dependencies which makes zig create the given path, but ncdu doesn't have any dependencies.
2025-01-27 10:05:12 +01:00
Jan200101
6150a6d460
rebuild against fixed llvm 2025-01-23 18:36:02 +01:00
Fedora Release Engineering
72e170e8d6 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 16:46:02 +00:00
Jan200101
ceb0aad27a
quote paths to prevent any accidents 2025-01-01 14:37:31 +01:00
Jan200101
f0f8c54d66
update baseline list, add summary flag to general options
the summary flag outputs a complete build summary of the whole build tree output in an orderly tree structure, very useful for inspecting what the build system actually did
2025-01-01 13:20:03 +01:00
Jan200101
5087b7f0b0
bump release 2024-12-30 12:08:21 +01:00
Jan200101
c61f4bb7e8
set llvm_compat for Fedora 41
Fedora 41 now ships llvm19 by default
2024-12-30 11:50:27 +01:00
Jan200101
c8cfc2b53d
correct macro variables
- zig does not handle relative paths passed to the first process so we need to specify an absolute path
- system integration was accidentally broken by an extra % sign
- system flag was used on cache instead of package directory
2024-12-30 11:49:48 +01:00
Jan200101
b72f379bfd
update callaway licenses to follow SPDX 2024-12-30 11:46:35 +01:00
Miroslav Suchý
cf62d59e74 convert license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-09-04 23:02:26 +02:00
Fedora Release Engineering
8a08922842 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 10:52:01 +00:00
Jan200101
8736cbd905
bump release 2024-06-11 22:47:27 +02:00
Jan200101
7a78a337a5
Update to 0.13.0 2024-06-11 14:03:34 +02:00
Jan200101
932de196c3
Update to 0.12.1 2024-06-11 10:57:05 +02:00
Jan200101
7048d61867
Update to 0.12.0 2024-06-11 10:57:05 +02:00
Jan200101
d8a8ae5c93
Rebuild for bootstrapping 2024-02-21 21:50:11 +01:00
8c4bf36257
Update to 0.11.0
Since 0.11.0 includes a prebuilt wasm stage1, we are no longer allowed
to build and tag it directly[1].
Instead, we shall do the following:
 * Obtain an exception from the packaging committee[2]
 * Build initial package completely from stage1 to stage3 with
   `%%bcond bootstrap 1` (this can be done in a side-tag without any
   changes to the spec[3]).
 * Use the bootstrapped package to make a clean source-only build of
   stage3.
 * Discard the ~bootstrap and send the clean build to bodhi.

[1]: https://docs.fedoraproject.org/en-US/packaging-guidelines/what-can-be-packaged/#_exceptions
[2]: https://pagure.io/packaging-committee/issue/1319
[3]: https://pagure.io/packaging-committee/pull-request/1308#request_diff

Co-authored-by: Jan Drögehoff <sentrycraft123@gmail.com>
2024-01-27 13:21:36 -08:00
39e7a7ca51
Drop %%_zig_version macro
As discussed in https://bugzilla.redhat.com/show_bug.cgi?id=2142363#c5
2024-01-27 13:21:35 -08:00
13becf1d7b
Fix build with --without macro
Skip %%check and test dependencies when tests are disabled
Other minor cleanups
2024-01-27 13:21:33 -08:00
Benson Muite
36f7a7c316
Verify signature 2024-01-27 13:21:09 -08:00
Fedora Release Engineering
92cf9baa1f Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 11:06:25 +00:00
Fedora Release Engineering
cb82d9f39e Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 19:41:38 +00:00
Jens Petersen
e8322f0e45 allow building on epel without %fedora 2023-07-03 00:32:56 +08:00
Fedora Release Engineering
de9733eb6e Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 08:15:40 +00:00
Fedora Release Engineering
d67f2fe59a Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 13:55:04 +00:00
Jan200101
2c550d93b0
build against LLVM13 compat version when needed 2022-04-10 21:49:21 +02:00
Jan200101
3138357a37
Update sources 2022-02-18 11:57:35 +01:00
Jan200101
6ef693cad9
Update to 0.9.1 2022-02-18 11:48:20 +01:00
Jan200101
473aee6a77
add patch to keep native lib paths off rpath, set default build flags 2022-01-31 21:12:54 +01:00
Fedora Release Engineering
8215cfe5c5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 05:51:23 +00:00