diff options
author | zimbatm <zimbatm@zimbatm.com> | 2016-05-06 10:07:11 +0100 |
---|---|---|
committer | zimbatm <zimbatm@zimbatm.com> | 2016-05-06 10:07:11 +0100 |
commit | 9e0427900601ba49c4e255e00f2b70e8ec818927 (patch) | |
tree | 451f60aaff9f73088a1e2dc7942cb58edd6fbfcf /pkgs/development/compilers | |
parent | 25960a52c3eba9b77121b9e42d50bff767462082 (diff) | |
parent | 8ddddbfe439f65ad3766bc744abb8104bd757ea1 (diff) | |
download | nixlib-9e0427900601ba49c4e255e00f2b70e8ec818927.tar nixlib-9e0427900601ba49c4e255e00f2b70e8ec818927.tar.gz nixlib-9e0427900601ba49c4e255e00f2b70e8ec818927.tar.bz2 nixlib-9e0427900601ba49c4e255e00f2b70e8ec818927.tar.lz nixlib-9e0427900601ba49c4e255e00f2b70e8ec818927.tar.xz nixlib-9e0427900601ba49c4e255e00f2b70e8ec818927.tar.zst nixlib-9e0427900601ba49c4e255e00f2b70e8ec818927.zip |
Merge branch 'pr/14743'
Closes #14743
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r-- | pkgs/development/compilers/bupc/default.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/development/compilers/bupc/default.nix b/pkgs/development/compilers/bupc/default.nix new file mode 100644 index 000000000000..f22549d06e63 --- /dev/null +++ b/pkgs/development/compilers/bupc/default.nix @@ -0,0 +1,40 @@ +{ stdenv, fetchurl, perl, coreutils }: + +stdenv.mkDerivation rec { + name = "berkeley_upc-2.22.0"; + + src = fetchurl { + url = "http://upc.lbl.gov/download/release/${name}.tar.gz"; + sha256 = "041l215x8z1cvjcx7kwjdgiaf9rl2d778k6kiv8q09bc68nwd44m"; + }; + + postPatch = '' + patchShebangs . + ''; + + # Used during the configure phase + ENVCMD = "${coreutils}/bin/env"; + + nativeBuildInputs = [ coreutils ]; + buildInputs = [ perl ]; + + meta = with stdenv.lib; { + description = "A compiler for the Berkely Unified Parallel C language"; + longDescription = '' + Unified Parallel C (UPC) is an extension of the C programming language + designed for high performance computing on large-scale parallel + machines.The language provides a uniform programming model for both + shared and distributed memory hardware. The programmer is presented with + a single shared, partitioned address space, where variables may be + directly read and written by any processor, but each variable is + physically associated with a single processor. UPC uses a Single Program + Multiple Data (SPMD) model of computation in which the amount of + parallelism is fixed at program startup time, typically with a single + thread of execution per processor. + ''; + homepage = http://upc.lbl.gov/; + license = licenses.mit; + platforms = with platforms; [ linux ]; + maintainers = with maintainers; [ zimbatm ]; + }; +} |