Commit Graph

19 Commits

Author SHA1 Message Date
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Ashley Ruglys
35f9c2bdbf
ocl-icd: build for windows 2024-02-23 20:56:23 +13:00
R. Ryantm
c720089d58 ocl-icd: 2.3.1 -> 2.3.2 2023-06-07 09:31:32 +00:00
Ryan Burns
437fa8d107 ocl-icd: fix ICD vendor path for NixOS
This fixes the vendor ICD load path to work with NixOS's opengl path.
Previously, the only workaround to load ICD files was to manually
override the load path at runtime using an environment variable.

Tested against Intel and Nvidia drivers using the clinfo package:

Before:

```
$ clinfo
Number of platforms                               0
```

After:

```
$ clinfo
Number of platforms                               1
  Platform Name                                   NVIDIA CUDA
  Platform Vendor                                 NVIDIA Corporation
<...>
```
2021-11-08 18:46:16 -08:00
Elliot
b862bde8b0
ocl-icd: update platforms, remove outdated postPatch (#137342)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-10-06 09:30:32 +02:00
Sergei Trofimovich
0c0bb2d6e3 ocl-icd: 2.2.10 -> 2.3.1 2021-10-01 22:43:22 +01:00
Sergei Trofimovich
2a8eebc806 ocl-icd: update homepage, switch to github releases
A prerequisite step for version update
2021-10-01 22:42:17 +01:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Ambroz Bizjak
1bba961e2a libglvnd, ocl-icd, vulkan-loader: Remove addOpenGLRunpath where not needed.
For APIs that use driver config files, the config files should point to libraries using absolute paths, so `RUNPATH` should be unnecessary. It is still needed for `libGLX` because that does not use config files but the dispatch library receives just a vendor name from the X server.
2019-08-18 21:29:42 +03:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Ambroz Bizjak
1860e506e7 libglvnd, ocl-icd, vulkan-loader: Add driver library paths to RUNPATH.
Previously we were relying on LD_LIBRARY_PATH to discover driver libraries (libGL, ligGLX, libEGL, OpenCL and Vulkan). This has the problem that setuid programs (in particular VirtualBox) ignore LD_LIBRARY_PATH. Fix it by setting RUNPATH in various dispatch libraries.

This is not needed for libvdpau because it is already configured to look for libraries in the driver paths.

Fixes https://github.com/NixOS/nixpkgs/issues/22760.
2019-05-22 18:30:05 +02:00
Nikolay Amiantov
6bf1421f13 treewide: refactor to use libglvnd
* Implement libGL as a symlink package which uses libraries from libglvnd and
  headers from Mesa (since ones from libglvnd are outdated).
* Use libGL_driver.driverLink treewide; add FHS paths where possible.
2018-03-26 14:01:49 +03:00
Alexander V. Nikolaev
8f2a22935c treewide: transition from mesa_noglu to libGL 2018-02-24 17:03:46 +02:00
Jan Malakhovski
d64748295a ocl-icd: fix cross-compilation 2018-02-10 15:07:14 +00:00
Jan Malakhovski
63a1c0c807 ocl-icd: provide a variant for each opencl-headers version 2018-02-10 15:07:13 +00:00
Nikolay Amiantov
af7a8a36df ocl-icd: 2.2.9 -> 2.2.10
Patch to search for OpenCL vendor files in Mesa driver link directory.
2017-01-20 03:37:51 +03:00
Tuomas Tynkkynen
21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Lluís Batlle i Rossell
f6a44bea9e Updating wings and dependencies to match erlang
I updated the erlang esdl lib, added the erlang cl lib,
added opencl-headers and ocl-icd to make wings build and run.

I have not tested its opencl part; I only added dependencies so
it builds.
2016-03-29 12:24:42 +02:00