Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
X11:XOrg
Mesa
u_fix-llvm19-build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File u_fix-llvm19-build.patch of Package Mesa
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp index e5f4dfc829f..72e78e00ba4 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp +++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp @@ -329,8 +329,12 @@ lp_build_fill_mattrs(std::vector<std::string> &MAttrs) * which allows us to enable/disable code generation based * on the results of cpuid on these architectures. */ +#if LLVM_VERSION_MAJOR >= 19 + llvm::StringMap<bool> features = llvm::sys::getHostCPUFeatures(); +#else llvm::StringMap<bool> features; llvm::sys::getHostCPUFeatures(features); +#endif for (llvm::StringMapIterator<bool> f = features.begin(); f != features.end();
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