Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:MaxxedSUSE:leap
libfakegpgpu
libfakegpgpu.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libfakegpgpu.spec of Package libfakegpgpu
# # spec file for package cuda-6.5 # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 bumblebee.obs@gmail.com # %if 0%{?suse_version} BuildRequires: kate fdupes %endif %global __os_install_post %{nil} Name: libfakegpgpu License: GPL-2.0+ Summary: Package for CUDA libs, including cuBLAS and cuFFT Version: 256.53 Release: 1 Url: http://developer.download.nvidia.com Group: Development/Libraries/Other BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: chrpath BuildRequires: execstack %ifarch x86_64 Source0: libOpenCL.so.1.0.0.64 Source1: libcuda.so.256.53.64 %else Source0: libOpenCL.so.1.0.0 Source1: libcuda.so.256.53 %endif %description This Package Provides fake CUDA package for build some packages tha need cuda. %prep %build %install mkdir -p %{_builddir}%{_libdir} mkdir -p %{buildroot}/usr/lib64/nvidia cp %{S:0} %{_builddir}%{_libdir}/libOpenCL.so.1.0.0 cp %{S:1} %{_builddir}%{_libdir}/libcuda.so.256.53 execstack -c %{_builddir}%{_libdir}/* install -dm755 %{buildroot}%{_libdir} for file in %{_builddir}%{_libdir}/*.so.*; do install -Dm755 $file %{buildroot}/usr/lib64/nvidia/ done cd %{buildroot}/usr/lib64/nvidia ln -s libcuda.so.* libcuda.so.1 ln -s libcuda.so.1 libcuda.so ln -s libOpenCL.so.1.0.* libOpenCL.so.1.0 ln -s libOpenCL.so.1.0 libOpenCL.so.1 %post ldconfig %postun ldconfig %files %{_libdir}/*
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