gmsh: fix openmp support for Darwin platform

This commit is contained in:
qbisi 2025-04-13 13:55:56 +08:00
parent c2de8ffc88
commit 1a6cc76a4f

View file

@ -15,6 +15,7 @@
libGLU,
xorg,
opencascade-occt,
llvmPackages,
python ? null,
enablePython ? false,
}:
@ -54,6 +55,7 @@ stdenv.mkDerivation rec {
xorg.libSM
xorg.libICE
]
++ lib.optional stdenv.cc.isClang llvmPackages.openmp
++ lib.optional enablePython python;
enableParallelBuilding = true;