Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP5
OpenShadingLanguage
0001-Fix-compatibility-with-LLVM-14.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Fix-compatibility-with-LLVM-14.patch of Package OpenShadingLanguage
From 8ceef3f70c787529c0c0e2d214ce0eacc951ec8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de> Date: Tue, 26 Apr 2022 02:59:50 +0200 Subject: [PATCH] Fix compatibility with LLVM >= 14 Fixes #1496. --- src/liboslexec/llvm_util.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/liboslexec/llvm_util.cpp b/src/liboslexec/llvm_util.cpp index 45e0b3e..96651f0 100644 --- a/src/liboslexec/llvm_util.cpp +++ b/src/liboslexec/llvm_util.cpp @@ -37,7 +37,11 @@ #include <llvm/Support/raw_os_ostream.h> #include <llvm/IR/LegacyPassManager.h> #include <llvm/IR/ValueSymbolTable.h> +#if OSL_LLVM_VERSION < 140 #include <llvm/Support/TargetRegistry.h> +#else +#include <llvm/MC/TargetRegistry.h> +#endif #include <llvm/Bitcode/BitcodeReader.h> #include <llvm/Bitcode/BitcodeWriter.h> -- 2.35.3
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