halide: 10.0.0 -> 14.0.0 (#180015)

This commit is contained in:
Átila Saraiva Quintela Soares 2022-08-25 16:49:09 -03:00 committed by GitHub
parent 00c57dfa98
commit f3228e71c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 11 deletions

View File

@ -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
@ -54,6 +48,6 @@ llvmPackages.stdenv.mkDerivation rec {
homepage = "https://halide-lang.org";
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.ck3d ];
maintainers = with maintainers; [ ck3d atila ];
};
}

View File

@ -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 { });