Projects
Factory:RISC-V:Base
spirv-tools
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 4
View file
_service:tar_scm:spirv-tools.spec
Changed
@@ -1,12 +1,14 @@ Name: spirv-tools Version: 2022.1 -Release: 1 +Release: 2 Summary: API and commands for processing SPIR-V modules License: ASL 2.0 URL: https://github.com/KhronosGroup/SPIRV-Tools Source0: %url/archive/refs/tags/v%{version}.tar.gz +Patch0: fix-gcc12-build-bug-with-Wrestrict.patch + BuildRequires: cmake3 BuildRequires: gcc-c++ BuildRequires: ninja-build @@ -86,6 +88,9 @@ %{_libdir}/pkgconfig/SPIRV-Tools.pc %changelog +* Wed Feb 08 2023 wangjunqiang <wangjunqiang@iscas.ac.cn> - 2022.1-2 +- fix gcc 12 build + * Mon Jul 25 2022 loong_C <loong_c@yeah.net> - 2022.1-1 - update to 2022.1
View file
_service:tar_scm:fix-gcc12-build-bug-with-Wrestrict.patch
Added
@@ -0,0 +1,13 @@ +diff --git a/source/spirv_target_env.cpp b/source/spirv_target_env.cpp +index 9a03817..6dc0dc6 100644 +--- a/source/spirv_target_env.cpp ++++ b/source/spirv_target_env.cpp +@@ -397,6 +397,8 @@ std::string spvLogStringForEnv(spv_target_env env) { + return "Unknown"; + } + ++// workaround gcc12/stdlibc++ -Wrestrict bug. ++#pragma GCC diagnostic ignored "-Wrestrict" + std::string spvTargetEnvList(const int pad, const int wrap) { + std::string ret; + size_t max_line_len = wrap - pad; // The first line isn't padded
View file
_service
Changed
@@ -1,6 +1,6 @@ <services> <service name="tar_scm"> - <param name="url">git@gitee.com:src-openeuler/spirv-tools.git</param> + <param name="url">git@gitee.com:geasscore/spirv-tools.git</param> <param name="scm">git</param> <param name="revision">master</param> <param name="exclude">*</param>
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