From 1741cc3561786d59d2d67d843d135506374b1e29 Mon Sep 17 00:00:00 2001 From: Anthony Templeton Date: Wed, 13 Nov 2024 14:28:31 -0500 Subject: [PATCH] comment out cfitsio and fitsimg until it works on master --- build.zig | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/build.zig b/build.zig index c03e6ff..2fa8ec6 100644 --- a/build.zig +++ b/build.zig @@ -21,21 +21,23 @@ pub fn build(b: *std.Build) void { .optimize = optimize, .root_source_file = root_source_file, }); - const zigimg_dependency = b.dependency("zigimg", .{ - .target = target, - .optimize = optimize, - }); - - lib.root_module.addImport("zigimg", zigimg_dependency.module("zigimg")); - astroz_mod.addImport("zigimg", zigimg_dependency.module("zigimg")); - - const cfitsio_dep = b.dependency("cfitsio", .{ - .target = target, - .optimize = optimize, - }); - lib.root_module.addImport("cfitsio", cfitsio_dep.module("cfitsio")); - astroz_mod.addImport("cfitsio", cfitsio_dep.module("cfitsio")); + // Currently not using cfitsio or zigimg due to breaking on the master branch + // const zigimg_dependency = b.dependency("zigimg", .{ + // .target = target, + // .optimize = optimize, + // }); + // + // lib.root_module.addImport("zigimg", zigimg_dependency.module("zigimg")); + // astroz_mod.addImport("zigimg", zigimg_dependency.module("zigimg")); + + // const cfitsio_dep = b.dependency("cfitsio", .{ + // .target = target, + // .optimize = optimize, + // }); + // + // lib.root_module.addImport("cfitsio", cfitsio_dep.module("cfitsio")); + // astroz_mod.addImport("cfitsio", cfitsio_dep.module("cfitsio")); const lib_install = b.addInstallArtifact(lib, .{}); lib_step.dependOn(&lib_install.step); @@ -78,8 +80,8 @@ pub fn build(b: *std.Build) void { .root_source_file = root_source_file, }); - tests.root_module.addImport("zigimg", zigimg_dependency.module("zigimg")); - tests.root_module.addImport("cfitsio", cfitsio_dep.module("cfitsio")); + // tests.root_module.addImport("zigimg", zigimg_dependency.module("zigimg")); + // tests.root_module.addImport("cfitsio", cfitsio_dep.module("cfitsio")); const tests_run = b.addRunArtifact(tests); tests_step.dependOn(&tests_run.step);