* [gentoo-commits] repo/gentoo:master commit in: media-libs/osl/files/
@ 2022-02-15 20:51 Conrad Kostecki
0 siblings, 0 replies; 3+ messages in thread
From: Conrad Kostecki @ 2022-02-15 20:51 UTC (permalink / raw
To: gentoo-commits
commit: 2a87a4bbc2a3b768baf6345a083e5e1496d71efd
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Tue Feb 15 18:26:42 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Feb 15 20:51:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a87a4bb
media-libs/osl: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/24201
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
media-libs/osl/files/osl-1.11.15.0-fix-cmake.patch | 24 ---
media-libs/osl/files/osl-1.12.0.2-llvm-11.patch | 29 ---
media-libs/osl/files/osl-1.12.0.2-llvm-12.patch | 240 ---------------------
3 files changed, 293 deletions(-)
diff --git a/media-libs/osl/files/osl-1.11.15.0-fix-cmake.patch b/media-libs/osl/files/osl-1.11.15.0-fix-cmake.patch
deleted file mode 100644
index 020370d54bca..000000000000
--- a/media-libs/osl/files/osl-1.11.15.0-fix-cmake.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/commit/14bd942f1bbb621c729f01c982925acd6d263d58.patch
-
-From: debaetsd <debaetsd@gmail.com>
-Date: Tue, 29 Dec 2020 22:01:21 +0100
-Subject: [PATCH] fixed cmake setup when tests are disabled (#1319)
-
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -252,11 +252,9 @@ install (EXPORT OSL_EXPORTED_TARGETS
- FILE ${OSL_TARGETS_EXPORT_NAME}
- NAMESPACE ${PROJECT_NAME}::)
-
--
--
--
--osl_add_all_tests()
--
-+if (${PROJECT_NAME}_BUILD_TESTS AND NOT ${PROJECT_NAME}_IS_SUBPROJECT)
-+ osl_add_all_tests()
-+endif ()
-
- if (NOT ${PROJECT_NAME}_IS_SUBPROJECT)
- include (packaging)
-
diff --git a/media-libs/osl/files/osl-1.12.0.2-llvm-11.patch b/media-libs/osl/files/osl-1.12.0.2-llvm-11.patch
deleted file mode 100644
index a47bcd4e47da..000000000000
--- a/media-libs/osl/files/osl-1.12.0.2-llvm-11.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 84c26c0baab8f071270d0fef23175c24d738c73c Mon Sep 17 00:00:00 2001
-From: Brecht Van Lommel <brecht@blender.org>
-Date: Mon, 19 Apr 2021 13:49:22 +0200
-Subject: [PATCH] Fix crash generating closure functions calls with LLVM 11
-
-Generating code for prepare_closure and gen_closure was crashing.
-The code now matches the implementation of the removed LLVM function.
-
-Signed-off-by: Brecht Van Lommel <brecht@blender.org>
----
- src/liboslexec/llvm_util.cpp | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/src/liboslexec/llvm_util.cpp b/src/liboslexec/llvm_util.cpp
-index 445f64000..3d468de27 100644
---- a/src/liboslexec/llvm_util.cpp
-+++ b/src/liboslexec/llvm_util.cpp
-@@ -3430,8 +3430,9 @@ LLVM_Util::call_function (llvm::Value *func, cspan<llvm::Value *> args)
- #endif
- //llvm_gen_debug_printf (std::string("start ") + std::string(name));
- #if OSL_LLVM_VERSION >= 110
-- OSL_DASSERT(llvm::isa<llvm::Function>(func));
-- llvm::Value *r = builder().CreateCall(llvm::cast<llvm::Function>(func), llvm::ArrayRef<llvm::Value *>(args.data(), args.size()));
-+ llvm::Value* r = builder().CreateCall(
-+ llvm::cast<llvm::FunctionType>(func->getType()->getPointerElementType()), func,
-+ llvm::ArrayRef<llvm::Value*>(args.data(), args.size()));
- #else
- llvm::Value *r = builder().CreateCall (func, llvm::ArrayRef<llvm::Value *>(args.data(), args.size()));
- #endif
diff --git a/media-libs/osl/files/osl-1.12.0.2-llvm-12.patch b/media-libs/osl/files/osl-1.12.0.2-llvm-12.patch
deleted file mode 100644
index dcf9ac863f73..000000000000
--- a/media-libs/osl/files/osl-1.12.0.2-llvm-12.patch
+++ /dev/null
@@ -1,240 +0,0 @@
-commit f76ea6220a5f0d59f5f43d3d6d526f1fd09b90f7
-Author: Euan Haahr <euanhaahrmail2@gmail.com>
-Date: Fri Feb 5 22:51:14 2021 +0000
-
- Various fixes for LLVM 12 compatibility (1351)
-
- Removed use of options.PrintMachineCode since this has been removed as
- of llvm 12. Converted uses of DebugLoc::get to DILocation::get since
- it has been deprecated and removed as of llvm 12.
-
- PrintMachine code will only be used if llvm is lower than version 12.
- TODO: Needs to be re-added in the new way for LLVM12. (LG just doesn't
- have time to figure this out right now.)
-
- Pass adjustment as various things have been deprecated or changed
- names. (LG)
-
- Signed-off-by: Euan Haahr <euanhaahrmail2@gmail.com>
- Signed-off-by: Larry Gritz <lg@larrygritz.com>
-
-diff --git a/src/liboslexec/llvm_passes.h b/src/liboslexec/llvm_passes.h
-index 4ec3489c..7c14fc76 100644
---- a/src/liboslexec/llvm_passes.h
-+++ b/src/liboslexec/llvm_passes.h
-@@ -73,9 +73,14 @@ public:
- // 16 bit and 32 bit native mask representation to be passed as a
- // livein.
- m_native_mask_type = llvm::FixedVectorType::get(llvm_type_int32, WidthT);
-+# if OSL_LLVM_VERSION >= 112
-+ m_wide_zero_initializer = llvm::ConstantDataVector::getSplat(WidthT,
-+ llvm::ConstantInt::get(M.getContext(), llvm::APInt(32,0)));
-+# else
- m_wide_zero_initializer = llvm::ConstantVector::getSplat(
- llvm::ElementCount(WidthT, false),
- llvm::ConstantInt::get (M.getContext(), llvm::APInt(32,0)));
-+# endif
- #else
- m_llvm_mask_type = llvm::VectorType::get(llvm_type_bool, WidthT);
- m_native_mask_type = llvm::VectorType::get(llvm_type_int32, WidthT);
-@@ -341,9 +346,8 @@ public:
- // of the mask promotion will always be correct here. Should 16 bit
- // support be needed, this pass could be extended.
- m_native_mask_type = llvm::FixedVectorType::get(llvm_type_int32, WidthT);
-- m_wide_zero_initializer = llvm::ConstantVector::getSplat(
-- llvm::ElementCount(WidthT, false),
-- llvm::ConstantInt::get (M.getContext(), llvm::APInt(32,0)));
-+ m_wide_zero_initializer = llvm::ConstantDataVector::getSplat(WidthT,
-+ llvm::ConstantInt::get(M.getContext(), llvm::APInt(32,0)));
- #else
- m_llvm_mask_type = llvm::VectorType::get(llvm_type_bool, WidthT);
- m_native_mask_type = llvm::VectorType::get(llvm_type_int32, WidthT);
-diff --git a/src/liboslexec/llvm_util.cpp b/src/liboslexec/llvm_util.cpp
-index fed8c5ec..b2a02f61 100644
---- a/src/liboslexec/llvm_util.cpp
-+++ b/src/liboslexec/llvm_util.cpp
-@@ -20,6 +20,7 @@
- #include "llvm_passes.h"
-
- #include <llvm/InitializePasses.h>
-+#include <llvm/Pass.h>
- #include <llvm/IR/Constant.h>
- #include <llvm/IR/Constants.h>
- #include <llvm/IR/DebugInfo.h>
-@@ -59,6 +60,7 @@
- #include <llvm/Analysis/BasicAliasAnalysis.h>
- #include <llvm/Analysis/TypeBasedAliasAnalysis.h>
- #include <llvm/Analysis/TargetTransformInfo.h>
-+#include <llvm/IR/Function.h>
- #include <llvm/IR/Verifier.h>
- #include <llvm/Target/TargetMachine.h>
- #include <llvm/Target/TargetOptions.h>
-@@ -74,10 +76,9 @@
- #include <llvm/Transforms/Scalar/GVN.h>
- #include <llvm/Transforms/Utils.h>
-
--
--#include <llvm/Pass.h>
--#include <llvm/IR/Function.h>
--#include <llvm/Support/raw_ostream.h>
-+#if OSL_LLVM_VERSION >= 120
-+#include <llvm/CodeGen/Passes.h>
-+#endif
-
- // additional includes for PTX generation
- #include <llvm/Transforms/Utils/SymbolRewriter.h>
-@@ -129,6 +130,11 @@ static bool setup_done = false;
- static std::unique_ptr<std::vector<std::shared_ptr<LLVMMemoryManager> >> jitmm_hold;
- static int jit_mem_hold_users = 0;
-
-+
-+#if OSL_LLVM_VERSION >= 120
-+llvm::raw_os_ostream raw_cout(std::cout);
-+#endif
-+
- }; // end anon namespace
-
-
-@@ -701,7 +707,8 @@ LLVM_Util::debug_pop_function()
- // that has been finalized, point it back to the compilation unit
- OSL_ASSERT(m_builder);
- OSL_ASSERT(m_builder->getCurrentDebugLocation().get() != nullptr);
-- m_builder->SetCurrentDebugLocation(llvm::DebugLoc::get(static_cast<unsigned int>(1),
-+ m_builder->SetCurrentDebugLocation(llvm::DILocation::get(getCurrentDebugScope()->getContext(),
-+ static_cast<unsigned int>(1),
- static_cast<unsigned int>(0), /* column? we don't know it, may be worth tracking through osl->oso*/
- getCurrentDebugScope()));
-
-@@ -776,7 +783,8 @@ LLVM_Util::debug_set_location(ustring sourcefile, int sourceline)
- }
- if (newDebugLocation) {
- llvm::DebugLoc debug_location =
-- llvm::DebugLoc::get(static_cast<unsigned int>(sourceline),
-+ llvm::DILocation::get(sp->getContext(),
-+ static_cast<unsigned int>(sourceline),
- static_cast<unsigned int>(0), /* column? we don't know it, may be worth tracking through osl->oso*/
- sp,
- inlineSite);
-@@ -958,7 +966,8 @@ LLVM_Util::new_builder (llvm::BasicBlock *block)
- m_builder = new IRBuilder (block);
- if (this->debug_is_enabled()) {
- OSL_ASSERT(getCurrentDebugScope());
-- m_builder->SetCurrentDebugLocation(llvm::DebugLoc::get(static_cast<unsigned int>(1),
-+ m_builder->SetCurrentDebugLocation(llvm::DILocation::get(getCurrentDebugScope()->getContext(),
-+ static_cast<unsigned int>(1),
- static_cast<unsigned int>(0), /* column? we don't know it, may be worth tracking through osl->oso*/
- getCurrentDebugScope()));
- }
-@@ -1386,7 +1395,13 @@ LLVM_Util::make_jit_execengine (std::string *err,
- options.RelaxELFRelocations = false;
- //options.DebuggerTuning = llvm::DebuggerKind::GDB;
-
-+ // TODO: Find equivalent function for PrintMachineCode post LLVM 12
-+#if OSL_LLVM_VERSION < 120
-+ // This option disappeared from the TargetOptions struct in LLVM 12.
-+ // It is instead accomplished with a MachineFunctionPrinterPass.
- options.PrintMachineCode = dumpasm();
-+#endif
-+
- engine_builder.setTargetOptions(options);
-
- detect_cpu_features(requestedISA, !jit_fma());
-@@ -1715,14 +1730,14 @@ LLVM_Util::setup_optimization_passes (int optlevel, bool target_host)
-
- mpm.add(llvm::createReassociatePass());
- mpm.add(llvm::createConstantPropagationPass());
-- mpm.add(llvm::createDeadInstEliminationPass());
-+ mpm.add(llvm::createDeadCodeEliminationPass());
- mpm.add(llvm::createCFGSimplificationPass());
-
- mpm.add(llvm::createPromoteMemoryToRegisterPass());
- mpm.add(llvm::createAggressiveDCEPass());
-
- mpm.add(llvm::createInstructionCombiningPass());
-- mpm.add(llvm::createDeadInstEliminationPass());
-+ mpm.add(llvm::createDeadCodeEliminationPass());
-
- mpm.add(llvm::createJumpThreadingPass());
- mpm.add(llvm::createSROAPass());
-@@ -1746,8 +1761,10 @@ LLVM_Util::setup_optimization_passes (int optlevel, bool target_host)
-
- // Eliminate and remove as much as possible up front
- mpm.add(llvm::createReassociatePass());
-+#if OSL_LLVM_VERSION < 120
- mpm.add(llvm::createConstantPropagationPass());
-- mpm.add(llvm::createDeadInstEliminationPass());
-+#endif
-+ mpm.add(llvm::createDeadCodeEliminationPass());
- mpm.add(llvm::createCFGSimplificationPass());
-
- mpm.add(llvm::createPromoteMemoryToRegisterPass());
-@@ -1784,7 +1801,7 @@ LLVM_Util::setup_optimization_passes (int optlevel, bool target_host)
- mpm.add(llvm::createInstructionCombiningPass());
-
- mpm.add(llvm::createPromoteMemoryToRegisterPass());
-- mpm.add(llvm::createDeadInstEliminationPass());
-+ mpm.add(llvm::createDeadCodeEliminationPass());
-
- mpm.add(llvm::createGlobalDCEPass());
- mpm.add(llvm::createConstantMergePass());
-@@ -1803,8 +1820,10 @@ LLVM_Util::setup_optimization_passes (int optlevel, bool target_host)
- mpm.add(llvm::createLowerExpectIntrinsicPass());
-
- mpm.add(llvm::createReassociatePass());
-+#if OSL_LLVM_VERSION < 120
- mpm.add(llvm::createConstantPropagationPass());
-- mpm.add(llvm::createDeadInstEliminationPass());
-+#endif
-+ mpm.add(llvm::createDeadCodeEliminationPass());
- mpm.add(llvm::createCFGSimplificationPass());
-
- mpm.add(llvm::createPromoteMemoryToRegisterPass());
-@@ -1814,7 +1833,7 @@ LLVM_Util::setup_optimization_passes (int optlevel, bool target_host)
- // optimizations, should attempt to reduce the number of times it is
- // executed, if at all
- mpm.add(llvm::createInstructionCombiningPass());
-- mpm.add(llvm::createDeadInstEliminationPass());
-+ mpm.add(llvm::createDeadCodeEliminationPass());
-
- mpm.add(llvm::createSROAPass());
- mpm.add(llvm::createInstructionCombiningPass());
-@@ -1822,7 +1841,16 @@ LLVM_Util::setup_optimization_passes (int optlevel, bool target_host)
- mpm.add(llvm::createPromoteMemoryToRegisterPass());
- mpm.add(llvm::createGlobalOptimizerPass());
- mpm.add(llvm::createReassociatePass());
-+#if OSL_LLVM_VERSION < 120
- mpm.add(llvm::createIPConstantPropagationPass());
-+#else
-+ // createIPConstantPropagationPass disappeared with LLVM 12.
-+ // Comments in their PR indicate that IPSCCP is better, but I don't
-+ // know if that means such a pass should be *right here*. I leave it
-+ // to others who use opt==13 to continue to curate this particular
-+ // list of passes.
-+ mpm.add(llvm::createIPSCCPPass());
-+#endif
-
- mpm.add(llvm::createDeadArgEliminationPass());
- mpm.add(llvm::createInstructionCombiningPass());
-@@ -1831,8 +1859,10 @@ LLVM_Util::setup_optimization_passes (int optlevel, bool target_host)
- mpm.add(llvm::createPostOrderFunctionAttrsLegacyPass());
- mpm.add(llvm::createReversePostOrderFunctionAttrsPass());
- mpm.add(llvm::createFunctionInliningPass());
-+#if OSL_LLVM_VERSION < 120
- mpm.add(llvm::createConstantPropagationPass());
-- mpm.add(llvm::createDeadInstEliminationPass());
-+#endif
-+ mpm.add(llvm::createDeadCodeEliminationPass());
- mpm.add(llvm::createCFGSimplificationPass());
-
- mpm.add(llvm::createArgumentPromotionPass());
-@@ -1845,8 +1875,9 @@ LLVM_Util::setup_optimization_passes (int optlevel, bool target_host)
- mpm.add(llvm::createTailCallEliminationPass());
-
- mpm.add(llvm::createFunctionInliningPass());
-+#if OSL_LLVM_VERSION < 120
- mpm.add(llvm::createConstantPropagationPass());
--
-+#endif
-
- mpm.add(llvm::createIPSCCPPass());
- mpm.add(llvm::createDeadArgEliminationPass());
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/osl/files/
@ 2022-10-15 19:34 Conrad Kostecki
0 siblings, 0 replies; 3+ messages in thread
From: Conrad Kostecki @ 2022-10-15 19:34 UTC (permalink / raw
To: gentoo-commits
commit: b2e3ee3e5a1ca3ae846f9483f24d21f291cb703c
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sat Oct 15 07:56:50 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Oct 15 19:33:46 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2e3ee3e
media-libs/osl: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/27792
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
media-libs/osl/files/osl-1.11.16.0-no-imath.patch | 49 -----------------------
1 file changed, 49 deletions(-)
diff --git a/media-libs/osl/files/osl-1.11.16.0-no-imath.patch b/media-libs/osl/files/osl-1.11.16.0-no-imath.patch
deleted file mode 100644
index a8e5c1f23116..000000000000
--- a/media-libs/osl/files/osl-1.11.16.0-no-imath.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-Force finding OpenEXR / IlmBase instead of imath for now.
---- a/src/cmake/modules/FindOpenEXR.cmake
-+++ b/src/cmake/modules/FindOpenEXR.cmake
-@@ -39,43 +39,10 @@
- #
-
- # First, try to fine just the right config files
--find_package(Imath CONFIG)
--if (NOT TARGET Imath::Imath)
-- # Couldn't find Imath::Imath, maybe it's older and has IlmBase?
-- find_package(IlmBase CONFIG)
--endif ()
-+find_package(IlmBase CONFIG)
- find_package(OpenEXR CONFIG)
-
--if (TARGET OpenEXR::OpenEXR AND TARGET Imath::Imath)
-- # OpenEXR 3.x if both of these targets are found
-- set (FOUND_OPENEXR_WITH_CONFIG 1)
-- if (NOT OpenEXR_FIND_QUIETLY)
-- message (STATUS "Found CONFIG for OpenEXR 3 (OPENEXR_VERSION=${OpenEXR_VERSION})")
-- endif ()
--
-- # Mimic old style variables
-- set (OPENEXR_VERSION ${OpenEXR_VERSION})
-- get_target_property(IMATH_INCLUDES Imath::Imath INTERFACE_INCLUDE_DIRECTORIES)
-- get_target_property(ILMBASE_INCLUDES Imath::Imath INTERFACE_INCLUDE_DIRECTORIES)
-- get_target_property(ILMBASE_IMATH_LIBRARY Imath::Imath INTERFACE_LINK_LIBRARIES)
-- get_target_property(IMATH_LIBRARY Imath::Imath INTERFACE_LINK_LIBRARIES)
-- get_target_property(OPENEXR_IEX_LIBRARY OpenEXR::Iex INTERFACE_LINK_LIBRARIES)
-- get_target_property(OPENEXR_ILMTHREAD_LIBRARY OpenEXR::IlmThread INTERFACE_LINK_LIBRARIES)
-- set (ILMBASE_LIBRARIES ${ILMBASE_IMATH_LIBRARY})
-- set (ILMBASE_FOUND true)
--
-- get_target_property(OPENEXR_INCLUDES OpenEXR::OpenEXR INTERFACE_INCLUDE_DIRECTORIES)
-- get_target_property(OPENEXR_ILMIMF_LIBRARY OpenEXR::OpenEXR INTERFACE_LINK_LIBRARIES)
-- set (OPENEXR_LIBRARIES ${OPENEXR_ILMIMF_LIBRARY} ${OPENEXR_IEX_LIBRARY} ${OPENEXR_ILMTHREAD_LIBRARY} ${ILMBASE_LIBRARIES})
-- set (OPENEXR_FOUND true)
--
-- # Link with pthreads if required
-- find_package (Threads)
-- if (CMAKE_USE_PTHREADS_INIT)
-- list (APPEND ILMBASE_LIBRARIES ${CMAKE_THREAD_LIBS_INIT})
-- endif ()
--
--elseif (TARGET OpenEXR::IlmImf AND TARGET IlmBase::Imath AND
-+if (TARGET OpenEXR::IlmImf AND TARGET IlmBase::Imath AND
- (OPENEXR_VERSION VERSION_GREATER_EQUAL 2.4 OR OpenEXR_VERSION VERSION_GREATER_EQUAL 2.4))
- # OpenEXR 2.4 or 2.5 with exported config
- set (FOUND_OPENEXR_WITH_CONFIG 1)
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/osl/files/
@ 2022-12-26 13:44 Conrad Kostecki
0 siblings, 0 replies; 3+ messages in thread
From: Conrad Kostecki @ 2022-12-26 13:44 UTC (permalink / raw
To: gentoo-commits
commit: e7064bc2d802091c83bb63dcef49cb05e8ab6028
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon Dec 26 08:31:31 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon Dec 26 13:41:13 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7064bc2
media-libs/osl: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/28812
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
media-libs/osl/files/osl-1.11.17.0-llvm14.patch | 35 -------------------------
1 file changed, 35 deletions(-)
diff --git a/media-libs/osl/files/osl-1.11.17.0-llvm14.patch b/media-libs/osl/files/osl-1.11.17.0-llvm14.patch
deleted file mode 100644
index 6a20ce31c589..000000000000
--- a/media-libs/osl/files/osl-1.11.17.0-llvm14.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Backport of the following patch from git main to 1.11.17.0:
-
-From 8a8c2fd5e6c016eb2d22d2522bdeb9f165f319fa Mon Sep 17 00:00:00 2001
-From: Larry Gritz <lg@larrygritz.com>
-Date: Mon, 18 Apr 2022 11:45:34 -0700
-Subject: [PATCH 1/3] Support for LLVM 14
-
-API changes we had to take into account:
-* TargetRegistry.h location
-* No more DisableTailCalls field in PassManagerBuilder.
-
-Signed-off-by: Larry Gritz <lg@larrygritz.com>
----
- .github/workflows/ci.yml | 10 +++++-----
- INSTALL.md | 2 +-
- src/build-scripts/build_llvm.bash | 2 +-
- src/liboslexec/llvm_util.cpp | 7 ++++++-
- 4 files changed, 13 insertions(+), 8 deletions(-)
-
-diff --git a/src/liboslexec/llvm_util.cpp b/src/liboslexec/llvm_util.cpp
-index b30c89318..22d4134ba 100644
---- a/src/liboslexec/llvm_util.cpp
-+++ b/src/liboslexec/llvm_util.cpp
-@@ -45,7 +45,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>
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-12-26 13:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-15 19:34 [gentoo-commits] repo/gentoo:master commit in: media-libs/osl/files/ Conrad Kostecki
-- strict thread matches above, loose matches on Subject: below --
2022-12-26 13:44 Conrad Kostecki
2022-02-15 20:51 Conrad Kostecki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox