This repository has been archived by the owner on May 10, 2023. It is now read-only.
forked from boberfly/dependencies
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from ericmehl/msvc2017
Windows version 5.0.0
- Loading branch information
Showing
63 changed files
with
5,441 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
working | ||
*/archives | ||
**/gafferBuild | ||
llvm*/build-release | ||
qt*/**/*.qm | ||
c-blosc*/** | ||
qt-adsk-*/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
Appleseed/patches/windows/0001-remove_boost_namespace.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- a/src/appleseed/renderer/meta/tests/test_tracer.cpp 2020-05-14 18:34:13.413540600 -0400 | ||
+++ b/src/appleseed/renderer/meta/tests/test_tracer.cpp 2020-05-14 18:32:10.040808300 -0400 | ||
@@ -83,7 +83,6 @@ | ||
|
||
using namespace foundation; | ||
using namespace renderer; | ||
-using namespace boost; | ||
using namespace std; | ||
|
||
TEST_SUITE(Renderer_Kernel_Lighting_Tracer) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- a/cmake/config/win-vs.txt 2020-05-14 19:22:32.135735200 -0400 | ||
+++ b/cmake/config/win-vs.txt 2020-05-14 19:24:49.460860100 -0400 | ||
@@ -312,10 +312,10 @@ | ||
|
||
macro (link_against_osl target) | ||
set (LLVM_LIBS | ||
- LLVMLTO LLVMLinker LLVMipo LLVMVectorize LLVMBitWriter LLVMTableGen LLVMDebugInfo LLVMOption LLVMX86Disassembler LLVMX86AsmParser | ||
+ LLVMLTO LLVMLinker LLVMipo LLVMVectorize LLVMBitWriter LLVMTableGen LLVMOption LLVMX86Disassembler LLVMX86AsmParser | ||
- LLVMX86CodeGen LLVMSelectionDAG LLVMAsmPrinter LLVMX86Desc LLVMX86Info LLVMX86AsmPrinter LLVMX86Utils LLVMIRReader LLVMBitReader | ||
+ LLVMX86CodeGen LLVMSelectionDAG LLVMAsmPrinter LLVMX86Desc LLVMX86Info LLVMX86Utils LLVMIRReader LLVMBitReader | ||
- LLVMAsmParser LLVMMCDisassembler LLVMMCParser LLVMInstrumentation LLVMInterpreter LLVMMCJIT LLVMJIT LLVMCodeGen LLVMObjCARCOpts | ||
- LLVMScalarOpts LLVMInstCombine LLVMTransformUtils LLVMipa LLVMAnalysis LLVMRuntimeDyld LLVMExecutionEngine LLVMTarget LLVMMC | ||
+ LLVMAsmParser LLVMMCDisassembler LLVMMCParser LLVMInstrumentation LLVMInterpreter LLVMMCJIT LLVMCodeGen LLVMObjCARCOpts | ||
+ LLVMScalarOpts LLVMInstCombine LLVMTransformUtils LLVMAnalysis LLVMRuntimeDyld LLVMExecutionEngine LLVMTarget LLVMMC | ||
LLVMObject LLVMCore LLVMSupport | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- ./src/appleseed/foundation/image/genericimagefilewriter.cpp | ||
+++ ./src/appleseed/foundation/image/genericimagefilewriter.cpp | ||
@@ -79,7 +79,7 @@ | ||
{ | ||
// Destroy the ImageOutput stucture. | ||
if (m_writer != nullptr) | ||
- OIIO::ImageOutput::destroy(m_writer); | ||
+ OIIO::ImageOutput::destroy(m_writer.release()); | ||
|
||
delete impl; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- ./src/appleseed/foundation/image/genericimagefilewriter.h | ||
+++ ./src/appleseed/foundation/image/genericimagefilewriter.h | ||
@@ -92,7 +92,7 @@ | ||
struct Impl; | ||
Impl* impl; | ||
|
||
- OIIO::ImageOutput* m_writer; | ||
+ std::unique_ptr<OIIO::ImageOutput> m_writer; | ||
const char* m_filename; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- ./src/appleseed/foundation/image/genericprogressiveimagefilereader.cpp | ||
+++ ./src/appleseed/foundation/image/genericprogressiveimagefilereader.cpp | ||
@@ -65,7 +65,7 @@ | ||
{ | ||
Logger* m_logger; | ||
string m_filename; | ||
- OIIO::ImageInput* m_input; | ||
+ std::unique_ptr<OIIO::ImageInput> m_input; | ||
bool m_supports_random_access; | ||
bool m_is_tiled; | ||
CanvasProperties m_props; | ||
@@ -177,9 +177,7 @@ | ||
// but OpenImageIO 1.5.20 (the version included in appleseed-deps at the time | ||
// of writing) is too old to have this method. Since on Windows we link to | ||
// OpenImageIO statically, this should be safe anyway. | ||
- delete impl->m_input; | ||
- | ||
- impl->m_input = nullptr; | ||
+ OIIO::ImageInput::destroy(impl->m_input.release()); | ||
} | ||
|
||
bool GenericProgressiveImageFileReader::is_open() const |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
From 0d0cd711a764a3b32d2cd19a1049eb9f36b4fd06 Mon Sep 17 00:00:00 2001 | ||
From: Owens <owe043@csiro.au> | ||
Date: Fri, 17 Aug 2018 06:06:03 +1000 | ||
Subject: [PATCH] Enable forward declaration of unwind_type() in msvc14.15 and | ||
later. | ||
|
||
Name lookup in msvc has changed between 14.14 and 14.15 making it consistent with other compilers. Forward declaration of unwind_type() is now required as it is for other compilers. | ||
|
||
Resolves compilation errors identified in: | ||
|
||
https://github.com/boostorg/python/issues/228 | ||
--- | ||
include/boost/python/detail/unwind_type.hpp | 12 +++++++----- | ||
1 file changed, 7 insertions(+), 5 deletions(-) | ||
|
||
diff --git a/include/boost/python/detail/unwind_type.hpp b/include/boost/python/detail/unwind_type.hpp | ||
index f6cdab64f..b81bf7c89 100644 | ||
--- a/boost/python/detail/unwind_type.hpp | ||
+++ b/boost/python/detail/unwind_type.hpp | ||
@@ -11,13 +11,15 @@ | ||
|
||
namespace boost { namespace python { namespace detail { | ||
|
||
-#ifndef _MSC_VER //if forward declared, msvc6.5 does not recognize them as inline | ||
-// forward declaration, required (at least) by Tru64 cxx V6.5-042 | ||
+#if (!defined(_MSC_VER) || _MSC_VER >= 1915) | ||
+// If forward declared, msvc6.5 does not recognize them as inline. | ||
+// However, as of msvc14.15 (_MSC_VER 1915/Visual Studio 15.8.0) name lookup is now consistent with other compilers. | ||
+// forward declaration, required (at least) by Tru64 cxx V6.5-042 and msvc14.15 | ||
template <class Generator, class U> | ||
inline typename Generator::result_type | ||
unwind_type(U const& p, Generator* = 0); | ||
|
||
-// forward declaration, required (at least) by Tru64 cxx V6.5-042 | ||
+// forward declaration, required (at least) by Tru64 cxx V6.5-042 and msvc14.15 | ||
template <class Generator, class U> | ||
inline typename Generator::result_type | ||
unwind_type(boost::type<U>*p = 0, Generator* = 0); | ||
@@ -83,7 +85,7 @@ struct unwind_helper<false> | ||
|
||
template <class Generator, class U> | ||
inline typename Generator::result_type | ||
-#ifndef _MSC_VER | ||
+#if (!defined(_MSC_VER) || _MSC_VER >= 1915) | ||
unwind_type(U const& p, Generator*) | ||
#else | ||
unwind_type(U const& p, Generator* = 0) | ||
@@ -148,7 +150,7 @@ struct unwind_helper2<reference_to_pointer_> | ||
// why bother? | ||
template <class Generator, class U> | ||
inline typename Generator::result_type | ||
-#ifndef _MSC_VER | ||
+#if (!defined(_MSC_VER) || _MSC_VER >= 1915) | ||
unwind_type(boost::type<U>*, Generator*) | ||
#else | ||
unwind_type(boost::type<U>*p =0, Generator* =0) |
Oops, something went wrong.