Advertisement
Guest User

mesa-buildwithopencl.diff

a guest
Jan 29th, 2014
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 2.55 KB | None | 0 0
  1. --- a/debian/control
  2. +++ b/debian/control
  3. @@ -36,6 +36,8 @@
  4.   libmirclient-dev [!arm64 !powerpc],
  5.   libvdpau-dev,
  6.   libxvmc-dev,
  7. + libclang-3.4-dev [linux-any],
  8. + libclc-dev [linux-any],
  9.  Vcs-Git: git://git.debian.org/git/pkg-xorg/lib/mesa
  10.  Vcs-Browser: http://git.debian.org/?p=pkg-xorg/lib/mesa.git
  11.  Homepage: http://mesa3d.sourceforge.net/
  12. @@ -635,6 +637,35 @@
  13.   For a complete description of Mesa, please look at the libgl1-mesa-glx
  14.   package.
  15.  
  16. +Package: libopencl1-mesa
  17. +Section: libs
  18. +Architecture: linux-any
  19. +Depends:
  20. + libclc-r600,
  21. + ocl-icd-libopencl1,
  22. + ${shlibs:Depends},
  23. + ${misc:Depends},
  24. +Description: free implementation of the OpenCL API -- ICD runtime
  25. + This package contains the mesa implementation of the OpenCL (Open Compute
  26. + Language) library, which is intended for use with an ICD loader. OpenCL
  27. + provides a standardized interface for computational analysis on graphical
  28. + processing units.
  29. +
  30. +Package: libopencl1-mesa-dbg
  31. +Section: debug
  32. +Architecture: linux-any
  33. +Depends:
  34. + libopencl1-mesa (= ${binary:Version}),
  35. + ${shlibs:Depends},
  36. + ${misc:Depends},
  37. +Description: free implementation of the OpenCL API -- debugging symbols
  38. + This package contains the mesa implementation of the OpenCL (Open Compute
  39. + Language) library, which is intended for use with an ICD loader. OpenCL
  40. + provides a standardized interface for computational analysis on graphical
  41. + processing units.
  42. + .
  43. + This package contains the debugging symbols for the mesa OpenCL ICD library.
  44. +
  45.  Package: mesa-common-dev
  46.  Section: libdevel
  47.  Architecture: any
  48. --- a/debian/not-installed
  49. +++ b/debian/not-installed
  50. @@ -2,6 +2,13 @@
  51.  
  52.  # Common list:
  53.  NOT_INSTALLED := \
  54. +   dri/usr/include/CL/cl.h \
  55. +   dri/usr/include/CL/cl_ext.h \
  56. +   dri/usr/include/CL/cl_gl.h \
  57. +   dri/usr/include/CL/cl_gl_ext.h \
  58. +   dri/usr/include/CL/cl_platform.h \
  59. +   dri/usr/include/CL/opencl.h \
  60. +   dri/usr/include/CL/cl.hpp \
  61.     dri/usr/include/GL/wglext.h \
  62.     dri/usr/include/GL/wmesa.h \
  63.     dri/usr/lib/*/libXvMC* \
  64. --- a/debian/rules
  65. +++ b/debian/rules
  66. @@ -124,6 +124,7 @@
  67.     --with-dri-drivers="$(DRI_DRIVERS)" \
  68.     --with-dri-driverdir=/usr/lib/$(DEB_HOST_MULTIARCH)/dri \
  69.     --with-dri-searchpath='/usr/lib/$(DEB_HOST_MULTIARCH)/dri:\$$$${ORIGIN}/dri:/usr/lib/dri' \
  70. +   --enable-opencl --enable-opencl-icd \
  71.     --enable-osmesa \
  72.     --enable-glx-tls \
  73.     --enable-shared-glapi \
  74. --- /dev/null
  75. +++ b/debian/libopencl1-mesa.install.in
  76. @@ -0,0 +1,2 @@
  77. +   dri/etc/OpenCL/vendors/mesa.icd etc/OpenCL/vendors
  78. +   dri/usr/lib/${DEB_HOST_MULTIARCH}/libMesaOpenCL* usr/lib/${DEB_HOST_MULTIARCH}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement