Skip to content

Commit

Permalink
disable test for emscripten-tbb
Browse files Browse the repository at this point in the history
  • Loading branch information
pca006132 committed Nov 15, 2024
1 parent e6c9478 commit 6f1189d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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/
Expand All @@ -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";
Expand Down

0 comments on commit 6f1189d

Please sign in to comment.