mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 04:57:56 +03:00
added berkeley upc
This commit is contained in:
parent
b48172ea72
commit
8ddddbfe43
40
pkgs/development/compilers/bupc/default.nix
Normal file
40
pkgs/development/compilers/bupc/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -5178,6 +5178,8 @@ in
|
||||
ocaml = ocaml_4_02;
|
||||
};
|
||||
|
||||
bupc = callPackage ../development/compilers/bupc { };
|
||||
|
||||
urweb = callPackage ../development/compilers/urweb { };
|
||||
|
||||
vala = callPackage ../development/compilers/vala/default.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user