Skip to content

Commit

Permalink
Add x86 GlibC build
Browse files Browse the repository at this point in the history
  • Loading branch information
mgord9518 committed Nov 29, 2023
1 parent d9421a2 commit a1523ee
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ jobs:
- name: Build (Musl libc, static, x86)
run: ARCH=x86 OS=linux LIBC=musl ./build.sh

# TODO: Get this build working
# - name: Build (GLibC 2.16, x86)
# run: ARCH=x86 OS=linux LIBC=gnu.2.16 ./build.sh
- name: Build (GLibC 2.16, x86)
run: ARCH=x86 OS=linux LIBC=gnu.2.16 ./build.sh

# TODO: ARM32 builds

- name: Test
run: |
Expand Down
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ pub fn link(exe: *std.Build.Step.Compile, opts: LinkOptions) void {
else => {},
}

exe.defineCMacro("FUSE_USE_VERSION", "32");
exe.defineCMacro("FUSE_USE_VERSION", "312");
exe.defineCMacro("HAVE_ASM_BYTEORDER", "1");
exe.defineCMacro("HAVE_DECL_FUSE_ADD_DIRENTRY", "1");
exe.defineCMacro("HAVE_DECL_FUSE_DAEMONIZE", "1");
Expand Down
2 changes: 1 addition & 1 deletion build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
.fuse = .{
.url = "https://github.com/mgord9518/libfuse-zig/archive/refs/tags/continuous.tar.gz",
.hash = "1220922be4f9fb37e1d31875aed857b44860c095a97b728090405ef1f8d874450323",
.hash = "12203ef757ea2db8bc8d59bb114be99e412c5c7032d8d265bbb1c08d8b8c54a6f84e",
},
.libdeflate = .{
.url = "https://github.com/ebiggers/libdeflate/archive/refs/tags/v1.19.tar.gz",
Expand Down

0 comments on commit a1523ee

Please sign in to comment.