Commit d5707103 authored by Alyssa Ross's avatar Alyssa Ross
Browse files

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

This reverts commit c006d5f0.

Mass rebuild accidentally merged to master, now being resubmitted to
staging.
parent 110af7ef
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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") [