Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-freeocl
mingw32-freeocl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-freeocl.spec of Package mingw32-freeocl
# # spec file for package mingw32-freeocl # # Copyright (c) 2015, Martin Hauke <mardnh@gmx.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define realname freeocl Name: mingw32-%{realname} Version: 0.3.6.git1515258797.6d1d5c9 Release: 0 Summary: Multi-platform implementation of OpenCL 1.2 targeting CPUs License: GPL-3.0-only AND LGPL-3.0-only Group: System/Libraries URL: https://github.com/zuzuf/freeocl Source: %{realname}-%{version}.tar.xz Patch0: %{realname}-win32.patch Patch1: freeocl-0.3.6.git1515258797.6d1d5c9-fix-building.patch BuildRequires: mingw32-cross-cmake BuildRequires: mingw32-cross-gcc-c++ BuildRequires: mingw32-libSDL-devel %_mingw32_package_header_debug BuildArch: noarch %description FreeOCL is an implementation of OpenCL 1.2 specifications targeting CPUs. Instead of using a built-in or dedicated compiler, it relies on an external C++ compiler. It aims to provide a debugging tool and a reliable platform which can run everywhere. %package icd Summary: FreeOCL ICD Loader Group: System/Libraries %description icd FreeOCL is an implementation of OpenCL 1.2 specifications targeting CPUs. Instead of using a built-in or dedicated compiler, it relies on an external C++ compiler. It aims to provide a debugging tool and a reliable platform which can run everywhere. This package contails the ICD Loader shipped with FreeOCL. %package demos Summary: FreeOCL demo programs for the OpenCL stack Group: System/Libraries %description demos FreeOCL is an implementation of OpenCL 1.2 specifications targeting CPUs. Instead of using a built-in or dedicated compiler, it relies on an external C++ compiler. It aims to provide a debugging tool and a reliable platform which can run everywhere. This package contains the demos shipped with FreeOCL. %package devel Summary: FreeOCL development files Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description devel FreeOCL is an implementation of OpenCL 1.2 specifications targeting CPUs. Instead of using a built-in or dedicated compiler, it relies on an external C++ compiler. It aims to provide a debugging tool and a reliable platform which can run everywhere. This package provides the files needed to compile software that uses OpenCL. %_mingw32_debug_package %prep %autosetup -p1 -n %{realname}-%{version} %build %_mingw32_cmake \ -DBUILD_SAMPLES=true %_mingw32_cmake_build %install %_mingw32_cmake_install # FIXME: should be handled in cmake mkdir -p %{buildroot}/%{_mingw32_bindir} mkdir -p %{buildroot}/%{_mingw32_libdir} # lib install -Dpm0644 build/src/libFreeOCL.dll.a %{buildroot}/%{_mingw32_libdir}/libFreeOCL.dll.a install -Dpm0644 build/src/libFreeOCL.dll %{buildroot}/%{_mingw32_bindir}/libFreeOCL.dll # icd-loader install -Dpm0644 build/src/icd/libOpenCL.dll.a %{buildroot}/%{_mingw32_libdir}/libOpenCL.dll.a install -Dpm0644 build/src/icd/libOpenCL.dll %{buildroot}/%{_mingw32_bindir}/libOpenCL.dll %files %doc AUTHORS README COPYING COPYING.LESSER %{_mingw32_bindir}/libFreeOCL.dll %files icd %{_mingw32_bindir}/libOpenCL.dll %files demos %{_mingw32_bindir}/clbuiltins.exe %{_mingw32_bindir}/cldemo.exe %{_mingw32_bindir}/cllist.exe %{_mingw32_bindir}/cltest.exe %{_mingw32_bindir}/clgalaxy.exe %files devel %{_mingw32_includedir}/FreeOCL %{_mingw32_libdir}/libFreeOCL.dll.a %{_mingw32_libdir}/libOpenCL.dll.a %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor