Created
April 26, 2017 15:02
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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