diff options
author | Tom Westerhout <14264576+twesterhout@users.noreply.github.com> | 2023-06-09 20:17:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-09 22:17:44 +0200 |
commit | b6088ea2f32335978f366708440b0f4ded5b7f9f (patch) | |
tree | 5dc1fc57a86d9d6cc9f2bc95e8bff7c9336b57e3 /pkgs/development/compilers/halide | |
parent | 220b3a245c665ff65ac1c59483f821e63227916d (diff) |
Enable tests for Halide; replace llvmPackages.stdenv with stdenv (#224473)
* Enable tests for Halide; replace llvmPackages.stdenv with stdenv
* halide: disable performance_memcpy test
* halide: disable all performance tests because they are unreliable
Diffstat (limited to 'pkgs/development/compilers/halide')
-rw-r--r-- | pkgs/development/compilers/halide/default.nix | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/pkgs/development/compilers/halide/default.nix b/pkgs/development/compilers/halide/default.nix index d0d3038c23c6..636506836dc9 100644 --- a/pkgs/development/compilers/halide/default.nix +++ b/pkgs/development/compilers/halide/default.nix @@ -1,4 +1,5 @@ -{ llvmPackages +{ stdenv +, llvmPackages , lib , fetchFromGitHub , cmake @@ -13,7 +14,7 @@ assert blas.implementation == "openblas" && lapack.implementation == "openblas"; -llvmPackages.stdenv.mkDerivation rec { +stdenv.mkDerivation rec { pname = "halide"; version = "15.0.1"; @@ -24,7 +25,15 @@ llvmPackages.stdenv.mkDerivation rec { sha256 = "sha256-mnZ6QMqDr48bH2W+andGZj2EhajXKApjuW6B50xtzx0="; }; - cmakeFlags = [ "-DWARNINGS_AS_ERRORS=OFF" "-DWITH_PYTHON_BINDINGS=OFF" "-DTARGET_WEBASSEMBLY=OFF" ]; + cmakeFlags = [ + "-DWARNINGS_AS_ERRORS=OFF" + "-DWITH_PYTHON_BINDINGS=OFF" + "-DTARGET_WEBASSEMBLY=OFF" + # Disable performance tests since they may fail on busy machines + "-DWITH_TEST_PERFORMANCE=OFF" + ]; + + doCheck = true; # Note: only openblas and not atlas part of this Nix expression # see pkgs/development/libraries/science/math/liblapack/3.5.0.nix |