diff options
author | Xuelian Bai/Visual Experience Platform Lab /SRC-Nanjing/Staff Engineer/Samsung Electronics <xuelian.bai@samsung.com> | 2022-01-05 14:49:48 +0800 |
---|---|---|
committer | Joonbum Ko <joonbum.ko@samsung.com> | 2022-03-11 13:25:24 +0900 |
commit | 9c3fd0b15fbe7ce6ba9b1863aa81f04459bcaef2 (patch) | |
tree | aff039932f65819aed98835a0e94828e84a001b9 /packaging | |
parent | 169f05d026e65948b30cfe2200595fda92198cf7 (diff) | |
download | OpenCL-ICD-Loader-accepted/tizen_unified.tar.gz OpenCL-ICD-Loader-accepted/tizen_unified.tar.bz2 OpenCL-ICD-Loader-accepted/tizen_unified.zip |
Add spec file for Tizen (#1)tizen_9.0_m2_releasetizen_8.0_m2_releasetizen_7.0_m2_releasesubmit/tizen/20220315.071947accepted/tizen/unified/20220315.205456accepted/tizen/9.0/unified/20241030.231954accepted/tizen/8.0/unified/20231005.094600accepted/tizen/7.0/unified/hotfix/20221116.110543accepted/tizen/7.0/unified/20221110.060246tizen_9.0tizen_8.0tizen_7.0_hotfixtizen_7.0tizenaccepted/tizen_unifiedaccepted/tizen_9.0_unifiedaccepted/tizen_8.0_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unified
Change-Id: I68d77d5783d79f7178a4919bd8e9999fec931f95
Signed-off-by: Xuelian Bai <xuelian.bai@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/opencl-icd-loader.manifest | 5 | ||||
-rw-r--r-- | packaging/opencl-icd-loader.spec | 51 |
2 files changed, 56 insertions, 0 deletions
diff --git a/packaging/opencl-icd-loader.manifest b/packaging/opencl-icd-loader.manifest new file mode 100644 index 0000000..75b0fa5 --- /dev/null +++ b/packaging/opencl-icd-loader.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/opencl-icd-loader.spec b/packaging/opencl-icd-loader.spec new file mode 100644 index 0000000..15dfeb6 --- /dev/null +++ b/packaging/opencl-icd-loader.spec @@ -0,0 +1,51 @@ +Name: opencl-icd-loader +Version: v2022.01.04 +Release: 0 +License: Apache License 2.0 +Summary: an Open Source alternative to vendor specific OpenCL ICD loaders. +Url: https://github.com/OCL-dev/ocl-icd +Group: Graphics & UI Framework/Hardware Adaptation +Source: %{name}-%{version}.tar.gz +Source1001: %{name}.manifest + +BuildRequires: cmake +BuildRequires: pkgconfig +BuildRequires: opencl-headers + +%description +This repo contains the source code and tests for the Khronos official OpenCL ICD Loader. + +%package devel +Summary: Development files for OpenCL +Group: Graphics +Requires: %{name} = %{version}-%{release} + +%description devel +This repo contains the source code and tests for the Khronos official OpenCL ICD Loader. + +%prep +%setup -q -n %{name}-%{version} + +%build +cp %{SOURCE1001} . +%{?asan:/usr/bin/gcc-unforce-options} +%cmake . +make %{?_smp_mflags} + +%install +%make_install DESTDIR=%{buildroot} + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%define _unpackaged_files_terminate_build 0 +%defattr(-,root,root) +%{_libdir}/libOpenCL* +%license LICENSE +%manifest %{name}.manifest + +%files devel +%defattr(-,root,root,-) + + |