Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ad5994f18214
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9f4d260adfb6
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Oct 21, 2019

  1. clfft: init at 2.21.2

    chessai committed Oct 21, 2019
    Copy the full SHA
    5feacc9 View commit details
  2. Merge pull request #71494 from chessai/clFFT-add

    clfft: init at 2.12.2
    c0bw3b authored Oct 21, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9f4d260 View commit details
Showing with 36 additions and 0 deletions.
  1. +34 −0 pkgs/development/libraries/clfft/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
34 changes: 34 additions & 0 deletions pkgs/development/libraries/clfft/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{ stdenv, fetchFromGitHub, cmake, fftw, fftwFloat, boost166, opencl-clhpp, ocl-icd }:

let
version = "2.12.2";
in stdenv.mkDerivation {
pname = "clfft";
inherit version;

src = fetchFromGitHub {
owner = "clMathLibraries";
repo = "clFFT";
rev = "refs/tags/v${version}";
sha256 = "134vb6214hn00qy84m4djg4hqs6hw19gkp8d0wlq8gb9m3mfx7na";
};

sourceRoot = "source/src";

nativeBuildInputs = [ cmake ];

buildInputs = [ fftw fftwFloat boost166 opencl-clhpp ocl-icd ];

meta = with stdenv.lib; {
description = "Library containing FFT functions written in OpenCL";
longDescription = ''
clFFT is a software library containing FFT functions written in OpenCL.
In addition to GPU devices, the library also supports running on CPU devices to facilitate debugging and heterogeneous programming.
'';
license = licenses.asl20;
homepage = "http://clmathlibraries.github.io/clFFT/";
platforms = [ "i686-linux" "x86_64-linux" ];
maintainers = with maintainers; [ chessai ];
inherit version;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -10607,6 +10607,8 @@ in

clearsilver = callPackage ../development/libraries/clearsilver { };

clfft = callPackage ../development/libraries/clfft { };

clipp = callPackage ../development/libraries/clipp { };

clipper = callPackage ../development/libraries/clipper { };