Reapply "llvmPackages.openmp: Build static libraries when appropriate"

This reverts commit c006d5f063.

Mass rebuild accidentally merged to master, now being resubmitted to
staging.
This commit is contained in:
Alyssa Ross
2025-02-09 08:55:29 +01:00
parent 110af7ef47
commit d570710367
@@ -65,6 +65,7 @@ stdenv.mkDerivation (rec {
];
cmakeFlags = [
(lib.cmakeBool "LIBOMP_ENABLE_SHARED" (!stdenv.hostPlatform.isStatic && stdenv.hostPlatform.hasSharedLibraries))
(lib.cmakeBool "LIBOMP_OMPD_SUPPORT" ompdSupport)
(lib.cmakeBool "LIBOMP_OMPD_GDB_SUPPORT" ompdGdbSupport)
] ++ lib.optionals (lib.versions.major release_version == "13") [