From 6f1189d327ead76379571c647666ba7e8dca921e Mon Sep 17 00:00:00 2001 From: pca006132 Date: Sat, 16 Nov 2024 00:42:53 +0800 Subject: [PATCH] disable test for emscripten-tbb --- flake.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 594a04385..f37f57ff8 100644 --- a/flake.nix +++ b/flake.nix @@ -112,7 +112,7 @@ cd ../ ''; }; - manifold-emscripten = { parallel }: pkgs.buildEmscriptenPackage { + manifold-emscripten = { parallel, doCheck ? true }: pkgs.buildEmscriptenPackage { name = "manifold-js"; version = manifold-version; src = self; @@ -134,11 +134,11 @@ buildPhase = '' emmake make -j''${NIX_BUILD_CORES} ''; - checkPhase = '' + checkPhase = if doCheck then '' cd test node manifold_test.js cd ../ - ''; + '' else ""; installPhase = '' mkdir -p $out cp bindings/wasm/manifold.* $out/ @@ -150,7 +150,11 @@ manifold-tbb = manifold { }; manifold-none = manifold { parallel = false; }; manifold-js = manifold-emscripten { parallel = false; }; - manifold-js-tbb = manifold-emscripten { parallel = true; }; + # disable check for now + manifold-js-tbb = manifold-emscripten { + parallel = true; + doCheck = false; + }; # but how should we make it work with other python versions? manifold3d = with pkgs.python3Packages; buildPythonPackage { pname = "manifold3d";