Skip to content

Commit

Permalink
halide: 10.0.0 -> 14.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AtilaSaraiva committed Aug 25, 2022
1 parent 4692955 commit e53425a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
12 changes: 3 additions & 9 deletions pkgs/development/compilers/halide/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,16 @@ assert blas.implementation == "openblas" && lapack.implementation == "openblas";

llvmPackages.stdenv.mkDerivation rec {
pname = "halide";
version = "10.0.0";
version = "14.0.0";

src = fetchFromGitHub {
owner = "halide";
repo = "Halide";
rev = "v${version}";
sha256 = "0il71rppjp76m7zd420siidvhs76sqiq26h60ywk812sj9mmgxj6";
sha256 = "sha256-/7U2TBcpSAKeEyWncAbtW6Vk/cP+rp1CXtbIjvQMmZA=";
};

# clang fails to compile intermediate code because
# of unused "--gcc-toolchain" option
postPatch = ''
sed -i "s/-Werror//" src/CMakeLists.txt
'';

cmakeFlags = [ "-DWARNINGS_AS_ERRORS=OFF" "-DWITH_PYTHON_BINDINGS=OFF" ];
cmakeFlags = [ "-DWARNINGS_AS_ERRORS=OFF" "-DWITH_PYTHON_BINDINGS=OFF" "-DTARGET_WEBASSEMBLY=OFF" ];

# Note: only openblas and not atlas part of this Nix expression
# see pkgs/development/libraries/science/math/liblapack/3.5.0.nix
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7310,7 +7310,7 @@ with pkgs;
halibut = callPackage ../tools/typesetting/halibut { };

halide = callPackage ../development/compilers/halide {
llvmPackages = llvmPackages_9;
llvmPackages = llvmPackages_14;
};

harePackages = recurseIntoAttrs (callPackage ../development/compilers/hare { });
Expand Down

0 comments on commit e53425a

Please sign in to comment.