Skip to content

Instantly share code, notes, and snippets.

@srivathsanmurali
Created April 26, 2017 15:02
Show Gist options
  • Save srivathsanmurali/d777df2c5d69fcdeaae85eaba8057553 to your computer and use it in GitHub Desktop.
Save srivathsanmurali/d777df2c5d69fcdeaae85eaba8057553 to your computer and use it in GitHub Desktop.
Openmp package from llvm. Provides libomp. Can be used to comile openmp with clang. use -fopenmp flag.
with import <nixpkgs> {};
stdenv.mkDerivation rec {
name = "openmp-${version}";
version = "24.6.17";
src = fetchgit {
url = "http://llvm.org/git/openmp";
rev = "81a7c91728a2c763d6ecbb9374a0bbf413e43ac4";
#date: "2017-04-25T19:04:07+00:00";
sha256 = "06641656wckpg4va1fn1dz3b6irr525vw699qallhf095h16gskm";
fetchSubmodules = true;
};
buildInputs = [ cmake gnumake perl];
meta = {
description = "openmp library to be used with clang";
homepage = http://openmp.llvm.org/;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment