Projects
Factory:RISC-V:Base
spirv-llvm-translator
_service:tar_scm:spirv-llvm-translator.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:spirv-llvm-translator.spec of Package spirv-llvm-translator
%global commit 6b53fe69e60b555e40c77a5c2b8529a55a0db3e2 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: spirv-llvm-translator Version: 15.0.0 Release: 1 Summary: LLVM to SPIRV Translator License: NCSA URL: https://github.com/KhronosGroup/SPIRV-LLVM-Translator Source0: https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/%{commit}/%{name}-%{shortcommit}.tar.gz BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: ninja-build BuildRequires: llvm-devel BuildRequires: llvm-static BuildRequires: spirv-headers-devel %description Khronos LLVM to SPIRV Translator. This is a library to be used by Mesa for OpenCL support. It translate LLVM IR to Khronos SPIR-V. It also includes a standalone tool used for building libclc. %package devel Summary: Development files for LLVM to SPIRV Translator Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains libraries and header files for developing against %{name} %package tools Summary: Standalone llvm to spirv translator tool Requires: %{name}%{?_isa} = %{version}-%{release} %description tools This package contains the standalone llvm to spirv tool. %prep %autosetup -n SPIRV-LLVM-Translator-%{commit} %build %cmake -GNinja \ -DLLVM_BUILD_TOOLS=ON \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_RPATH:BOOL=";" \ -DLLVM_EXTERNAL_PROJECTS="SPIRV-Headers" \ -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="/usr/include/spirv/" cmake --build . %{?_smp_mflags} --verbose %install DESTDIR="%{buildroot}" cmake --install . %files %doc README.md %{_libdir}/libLLVMSPIRVLib.so.* %files tools %{_bindir}/llvm-spirv %files devel %dir %{_includedir}/LLVMSPIRVLib/ %{_includedir}/LLVMSPIRVLib/ %{_libdir}/libLLVMSPIRVLib.so %{_libdir}/pkgconfig/LLVMSPIRVLib.pc %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2