diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2017-12-08 15:26:00 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-01-08 16:39:42 -0800 |
commit | 42ea0631f108d82554339530d6c88aa1b448af1e (patch) | |
tree | 305e2e7dd00136b80dbaba42e0e1dd104349bd8f /include | |
parent | 425fcbde3f816e2a2efb8d1aed2442d40898d447 (diff) |
meson: build clover
This has only been compile tested.
v2: - Have a single option for opencl (Eric E)
- fix typo "tgis" -> "tgsi" (Curro)
- Don't add "lib" to pipe loader libraries, which matches the
autotools behavior
v3: - Remove trailing whitespace
- Make PIPE_SEARCH_DIR an absolute path
v4: - add trailing / to LIBCLC defines
Acked-by: Curro Jerez <currojerez@riseup.net>
Tested-by: Jan Vesely <jan.vesely@rutgers.edu>
cc: Aaron Watry <awatry@gmail.com>
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/meson.build | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/meson.build b/include/meson.build index e4dae91ced..a2e7ce6580 100644 --- a/include/meson.build +++ b/include/meson.build @@ -78,3 +78,22 @@ if with_gallium_st_nine subdir : 'd3dadapter', ) endif + +# Only install the headers if we are building a stand alone implementation and +# not an ICD enabled implementation +if with_gallium_opencl and not with_opencl_icd + install_headers( + 'CL/cl.h', + 'CL/cl.hpp', + 'CL/cl_d3d10.h', + 'CL/cl_d3d11.h', + 'CL/cl_dx9_media_sharing.h', + 'CL/cl_egl.h', + 'CL/cl_ext.h', + 'CL/cl_gl.h', + 'CL/cl_gl_ext.h', + 'CL/cl_platform.h', + 'CL/opencl.h', + subdir: 'CL' + ) +endif |