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: 622423781bbb
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dd8d859829ff
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 10, 2020

  1. opencl-clhpp: fix install directory

    Previously, it was installing to `$out/include/include`. Now it's correct:
    
    /nix/store/alw8idc8qhfhzw98banq2l5hmrdaglgm-opencl-clhpp-2.0.11
    ├── include
    │   └── CL
    │       ├── cl2.hpp
    │       └── cl.hpp
    └── nix-support
        └── propagated-build-inputs
    
    3 directories, 3 files
    bhipple authored and Jon committed Apr 10, 2020
    Copy the full SHA
    dd8d859 View commit details
Showing with 4 additions and 3 deletions.
  1. +4 −3 pkgs/development/libraries/opencl-clhpp/default.nix
7 changes: 4 additions & 3 deletions pkgs/development/libraries/opencl-clhpp/default.nix
Original file line number Diff line number Diff line change
@@ -15,9 +15,10 @@ stdenv.mkDerivation rec {

propagatedBuildInputs = [ opencl-headers ];

preConfigure = ''
cmakeFlags="-DCMAKE_INSTALL_PREFIX=$out/include -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF"
'';
cmakeFlags = [
"-DBUILD_EXAMPLES=OFF"
"-DBUILD_TESTS=OFF"
];

meta = with stdenv.lib; {
description = "OpenCL Host API C++ bindings";