Loading pkgs/development/compilers/halide/default.nix +21 −8 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ lib, fetchFromGitHub, cmake, flatbuffers, libffi, libpng, libjpeg, Loading @@ -19,13 +20,13 @@ assert blas.implementation == "openblas" && lapack.implementation == "openblas"; stdenv.mkDerivation rec { pname = "halide"; version = "16.0.0"; version = "18.0.0"; src = fetchFromGitHub { owner = "halide"; repo = "Halide"; rev = "v${version}"; sha256 = "sha256-lJQrXkJgBmGb/QMSxwuPkkHOSgEDowLWzIolp1km2Y8="; hash = "sha256-BPalUh9EgdCqVaWC1HoreyyRcPQc4QMIYnLrRoNDDCI="; }; postPatch = Loading Loading @@ -63,14 +64,26 @@ stdenv.mkDerivation rec { # v16 release (See https://github.com/halide/Halide/commit/09c5d1d19ec8e6280ccbc01a8a12decfb27226ba) # These tests also fail to compile on Darwin because of some missing command line options... "-DWITH_TEST_FUZZ=OFF" # Disable FetchContent for flatbuffers and use the version from nixpkgs instead "-DFLATBUFFERS_USE_FETCHCONTENT=OFF" ]; doCheck = true; # Note: disable mullapudi2016_fibonacci because it requires too much # parallelism for remote builders preCheck = '' checkFlagsArray+=("ARGS=-E 'mullapudi2016_fibonacci'") preCheck = let disabledTests = lib.strings.concatStringsSep "|" [ # Requires too much parallelism for remote builders. "mullapudi2016_fibonacci" # Take too long---we don't want to run these in CI. "adams2019_test_apps_autoscheduler" "anderson2021_test_apps_autoscheduler" "correctness_cross_compilation" "correctness_simd_op_check_hvx" ]; in '' checkFlagsArray+=("ARGS=-E '${disabledTests}'") ''; # Note: only openblas and not atlas part of this Nix expression Loading @@ -93,7 +106,7 @@ stdenv.mkDerivation rec { libGL ]; nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake flatbuffers ]; meta = with lib; { description = "C++ based language for image processing and computational photography"; Loading pkgs/top-level/all-packages.nix +1 −1 Original line number Diff line number Diff line Loading @@ -8387,7 +8387,7 @@ with pkgs; halibut = callPackage ../tools/typesetting/halibut { }; halide = callPackage ../development/compilers/halide { llvmPackages = llvmPackages_16; llvmPackages = llvmPackages_18; }; hareThirdParty = recurseIntoAttrs (callPackage ./hare-third-party.nix { }); Loading
pkgs/development/compilers/halide/default.nix +21 −8 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ lib, fetchFromGitHub, cmake, flatbuffers, libffi, libpng, libjpeg, Loading @@ -19,13 +20,13 @@ assert blas.implementation == "openblas" && lapack.implementation == "openblas"; stdenv.mkDerivation rec { pname = "halide"; version = "16.0.0"; version = "18.0.0"; src = fetchFromGitHub { owner = "halide"; repo = "Halide"; rev = "v${version}"; sha256 = "sha256-lJQrXkJgBmGb/QMSxwuPkkHOSgEDowLWzIolp1km2Y8="; hash = "sha256-BPalUh9EgdCqVaWC1HoreyyRcPQc4QMIYnLrRoNDDCI="; }; postPatch = Loading Loading @@ -63,14 +64,26 @@ stdenv.mkDerivation rec { # v16 release (See https://github.com/halide/Halide/commit/09c5d1d19ec8e6280ccbc01a8a12decfb27226ba) # These tests also fail to compile on Darwin because of some missing command line options... "-DWITH_TEST_FUZZ=OFF" # Disable FetchContent for flatbuffers and use the version from nixpkgs instead "-DFLATBUFFERS_USE_FETCHCONTENT=OFF" ]; doCheck = true; # Note: disable mullapudi2016_fibonacci because it requires too much # parallelism for remote builders preCheck = '' checkFlagsArray+=("ARGS=-E 'mullapudi2016_fibonacci'") preCheck = let disabledTests = lib.strings.concatStringsSep "|" [ # Requires too much parallelism for remote builders. "mullapudi2016_fibonacci" # Take too long---we don't want to run these in CI. "adams2019_test_apps_autoscheduler" "anderson2021_test_apps_autoscheduler" "correctness_cross_compilation" "correctness_simd_op_check_hvx" ]; in '' checkFlagsArray+=("ARGS=-E '${disabledTests}'") ''; # Note: only openblas and not atlas part of this Nix expression Loading @@ -93,7 +106,7 @@ stdenv.mkDerivation rec { libGL ]; nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake flatbuffers ]; meta = with lib; { description = "C++ based language for image processing and computational photography"; Loading
pkgs/top-level/all-packages.nix +1 −1 Original line number Diff line number Diff line Loading @@ -8387,7 +8387,7 @@ with pkgs; halibut = callPackage ../tools/typesetting/halibut { }; halide = callPackage ../development/compilers/halide { llvmPackages = llvmPackages_16; llvmPackages = llvmPackages_18; }; hareThirdParty = recurseIntoAttrs (callPackage ./hare-third-party.nix { });