[arch-commits] Commit in openshadinglanguage/repos/community-x86_64 (4 files)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Wed Jan 12 05:41:13 UTC 2022
Date: Wednesday, January 12, 2022 @ 05:41:12
Author: svenstaro
Revision: 1101493
archrelease: copy trunk to community-x86_64
Added:
openshadinglanguage/repos/community-x86_64/PKGBUILD
(from rev 1101492, openshadinglanguage/trunk/PKGBUILD)
openshadinglanguage/repos/community-x86_64/llvm13.patch
(from rev 1101492, openshadinglanguage/trunk/llvm13.patch)
Deleted:
openshadinglanguage/repos/community-x86_64/PKGBUILD
openshadinglanguage/repos/community-x86_64/llvm13.patch
--------------+
PKGBUILD | 76 ++++++++++++++++++++++-----------------------
llvm13.patch | 96 ++++++++++++++++++++++++++++-----------------------------
2 files changed, 86 insertions(+), 86 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-12 05:41:05 UTC (rev 1101492)
+++ PKGBUILD 2022-01-12 05:41:12 UTC (rev 1101493)
@@ -1,38 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-pkgname=openshadinglanguage
-pkgver=1.11.16.0
-pkgrel=4
-pkgdesc="Advanced shading language for production GI renderers"
-arch=(x86_64)
-url="https://github.com/imageworks/OpenShadingLanguage"
-license=('custom')
-depends=('boost-libs' 'openimageio' 'imath' 'freetype2' 'libpng'
- 'libtiff' 'zlib' 'ncurses' 'clang')
-makedepends=('boost' 'cmake' 'python' 'llvm' 'ninja')
-optdepends=('python: the Python module')
-source=($pkgname-$pkgver.tar.gz::https://github.com/imageworks/OpenShadingLanguage/archive/Release-${pkgver}.tar.gz)
-sha512sums=('717a588bb371ff64d41dc34caad6a4e8483cba32d3b8fe7db9f98e422be050b1b89e4cf7f018e1106dfc9120d2485c3d8430a63cd80344050b00082fdd45fa1b')
-
-build() {
- cd OpenShadingLanguage-Release-$pkgver
-
- cmake \
- -B build \
- -GNinja \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DCMAKE_CXX_STANDARD=14 \
- -DLLVM_STATIC=0 \
- -DSTOP_ON_WARNING=OFF
- ninja -C build
-}
-
-package() {
- cd OpenShadingLanguage-Release-$pkgver
-
- DESTDIR="$pkgdir/" ninja -C build install
-
- install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
-}
-
-# vim:set ts=2 sw=2 et:
Copied: openshadinglanguage/repos/community-x86_64/PKGBUILD (from rev 1101492, openshadinglanguage/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-12 05:41:12 UTC (rev 1101493)
@@ -0,0 +1,38 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
+pkgname=openshadinglanguage
+pkgver=1.11.17.0
+pkgrel=1
+pkgdesc="Advanced shading language for production GI renderers"
+arch=(x86_64)
+url="https://github.com/imageworks/OpenShadingLanguage"
+license=('custom')
+depends=('boost-libs' 'openimageio' 'imath' 'freetype2' 'libpng'
+ 'libtiff' 'zlib' 'ncurses' 'clang')
+makedepends=('boost' 'cmake' 'python' 'llvm' 'ninja')
+optdepends=('python: the Python module')
+source=($pkgname-$pkgver.tar.gz::https://github.com/imageworks/OpenShadingLanguage/archive/Release-${pkgver}.tar.gz)
+sha512sums=('14cb25b10f4644551b906344a289e2a4c421f4c85beaa120bb1a1e532c9be3ec235622516c4700fb23d258c5dcd1ece18b84491b0973b3162098843a9059b1d2')
+
+build() {
+ cd OpenShadingLanguage-Release-$pkgver
+
+ cmake \
+ -B build \
+ -GNinja \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_CXX_STANDARD=14 \
+ -DLLVM_STATIC=0 \
+ -DSTOP_ON_WARNING=OFF
+ ninja -C build
+}
+
+package() {
+ cd OpenShadingLanguage-Release-$pkgver
+
+ DESTDIR="$pkgdir/" ninja -C build install
+
+ install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: llvm13.patch
===================================================================
--- llvm13.patch 2022-01-12 05:41:05 UTC (rev 1101492)
+++ llvm13.patch 2022-01-12 05:41:12 UTC (rev 1101493)
@@ -1,48 +0,0 @@
-From 8682211d0bfe5c4be63a4a003d06037ff9721e66 Mon Sep 17 00:00:00 2001
-From: Luya Tshimbalanga <luya at fedoraproject.org>
-Date: Tue, 28 Sep 2021 10:08:01 -0700
-Subject: [PATCH] Fix compatibility with LLVM 12 and up (#1412)
-
-Upstream LLVM stopped using the compatibility
-spellings of OF_{None,Text,Append} from version 12 and up.
-
-https://reviews.llvm.org/D101650
-
-Signed-off-by: Luya Tshimbalanga <luya at fedoraproject.org>
----
- src/liboslexec/llvm_util.cpp | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/src/liboslexec/llvm_util.cpp b/src/liboslexec/llvm_util.cpp
-index 4bd0dca35..4d0e1752d 100644
---- a/src/liboslexec/llvm_util.cpp
-+++ b/src/liboslexec/llvm_util.cpp
-@@ -1407,7 +1407,9 @@ LLVM_Util::make_jit_execengine (std::string *err,
-
- options.NoZerosInBSS = false;
- options.GuaranteedTailCallOpt = false;
-+#if OSL_LLVM_VERSION < 120
- options.StackAlignmentOverride = 0;
-+#endif
- options.FunctionSections = true;
- options.UseInitArray = false;
- options.FloatABIType = llvm::FloatABI::Default;
-@@ -5385,7 +5387,7 @@ void
- LLVM_Util::write_bitcode_file (const char *filename, std::string *err)
- {
- std::error_code local_error;
-- llvm::raw_fd_ostream out (filename, local_error, llvm::sys::fs::F_None);
-+ llvm::raw_fd_ostream out (filename, local_error, llvm::sys::fs::OF_None);
- if (! out.has_error()) {
- llvm::WriteBitcodeToFile (*module(), out);
- if (err && local_error)
-@@ -5447,7 +5449,9 @@ LLVM_Util::ptx_compile_group (llvm::Module* lib_module, const std::string& name,
- options.AllowFPOpFusion = llvm::FPOpFusion::Fast;
- options.NoZerosInBSS = 0;
- options.GuaranteedTailCallOpt = 0;
-+#if OSL_LLVM_VERSION < 120
- options.StackAlignmentOverride = 0;
-+#endif
- options.UseInitArray = 0;
-
- llvm::TargetMachine* target_machine = llvm_target->createTargetMachine(
Copied: openshadinglanguage/repos/community-x86_64/llvm13.patch (from rev 1101492, openshadinglanguage/trunk/llvm13.patch)
===================================================================
--- llvm13.patch (rev 0)
+++ llvm13.patch 2022-01-12 05:41:12 UTC (rev 1101493)
@@ -0,0 +1,48 @@
+From 8682211d0bfe5c4be63a4a003d06037ff9721e66 Mon Sep 17 00:00:00 2001
+From: Luya Tshimbalanga <luya at fedoraproject.org>
+Date: Tue, 28 Sep 2021 10:08:01 -0700
+Subject: [PATCH] Fix compatibility with LLVM 12 and up (#1412)
+
+Upstream LLVM stopped using the compatibility
+spellings of OF_{None,Text,Append} from version 12 and up.
+
+https://reviews.llvm.org/D101650
+
+Signed-off-by: Luya Tshimbalanga <luya at fedoraproject.org>
+---
+ src/liboslexec/llvm_util.cpp | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/src/liboslexec/llvm_util.cpp b/src/liboslexec/llvm_util.cpp
+index 4bd0dca35..4d0e1752d 100644
+--- a/src/liboslexec/llvm_util.cpp
++++ b/src/liboslexec/llvm_util.cpp
+@@ -1407,7 +1407,9 @@ LLVM_Util::make_jit_execengine (std::string *err,
+
+ options.NoZerosInBSS = false;
+ options.GuaranteedTailCallOpt = false;
++#if OSL_LLVM_VERSION < 120
+ options.StackAlignmentOverride = 0;
++#endif
+ options.FunctionSections = true;
+ options.UseInitArray = false;
+ options.FloatABIType = llvm::FloatABI::Default;
+@@ -5385,7 +5387,7 @@ void
+ LLVM_Util::write_bitcode_file (const char *filename, std::string *err)
+ {
+ std::error_code local_error;
+- llvm::raw_fd_ostream out (filename, local_error, llvm::sys::fs::F_None);
++ llvm::raw_fd_ostream out (filename, local_error, llvm::sys::fs::OF_None);
+ if (! out.has_error()) {
+ llvm::WriteBitcodeToFile (*module(), out);
+ if (err && local_error)
+@@ -5447,7 +5449,9 @@ LLVM_Util::ptx_compile_group (llvm::Module* lib_module, const std::string& name,
+ options.AllowFPOpFusion = llvm::FPOpFusion::Fast;
+ options.NoZerosInBSS = 0;
+ options.GuaranteedTailCallOpt = 0;
++#if OSL_LLVM_VERSION < 120
+ options.StackAlignmentOverride = 0;
++#endif
+ options.UseInitArray = 0;
+
+ llvm::TargetMachine* target_machine = llvm_target->createTargetMachine(
More information about the arch-commits
mailing list