mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
41 lines
1.4 KiB
Nix
41 lines
1.4 KiB
Nix
{ lib, stdenv, fetchurl, perl, coreutils }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "berkeley_upc";
|
|
version = "2020.12.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://upc.lbl.gov/download/release/berkeley_upc-${version}.tar.gz";
|
|
sha256 = "sha256-JdpFORlXHpCQE+TivoQQnjQlxQN7C8BNfHvTOSwXbYQ=";
|
|
};
|
|
|
|
postPatch = ''
|
|
patchShebangs .
|
|
'';
|
|
|
|
# Used during the configure phase
|
|
ENVCMD = "${coreutils}/bin/env";
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
meta = with lib; {
|
|
description = "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 = "https://upc.lbl.gov/";
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ zimbatm ];
|
|
};
|
|
}
|