http://www.miikahweb.com/feed.php MiikaHweb - Blender Commits By LazyDodo http://www.miikahweb.com/ MiikaHweb - Blender Commits By LazyDodo fi Thu, 20 Feb 20 08:54:41 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[d0c159a] master: build_deps: include venv on windows]]> http://www.miikahweb.com/en/blender/git-logs/commit/d0c159ae974596652296bb89fa7cf72f12801d66 d0c159a
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
build_deps: include venv on windows

----------------------------------------
1 Path Changed]]>
Tue, 18 Feb 2020 01:41:24 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/d0c159ae974596652296bb89fa7cf72f12801d66Ray molenkamp
<![CDATA[[5f3b898] master: MSVC: Fix obscure RNA related build error]]> http://www.miikahweb.com/en/blender/git-logs/commit/5f3b898638b2c306994e69c0ac6a26b8ac017448 5f3b898
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
MSVC: Fix obscure RNA related build error

When you switch between debug/release mode a lot, you could end up
in a situation where the generated RNA code was out of sync between
the two configurations.

There was one function optionally defined with an `#ifndef NDEBUG`
guard, this patch adds a stub implementation for the other configurations
to prevent build errors.

Differential Revision: https://developer.blender.org/D6855

Reviewers: brecht

----------------------------------------
1 Path Changed]]>
Mon, 17 Feb 2020 18:04:55 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/5f3b898638b2c306994e69c0ac6a26b8ac017448Ray molenkamp
<![CDATA[[70ff8f4] master: BPY/Windows: Do not bundle the CRT for a bpy build]]> http://www.miikahweb.com/en/blender/git-logs/commit/70ff8f4a973109b7b2c6a67e6989978bf6553118 70ff8f4
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
BPY/Windows: Do not bundle the CRT for a bpy build

- Doesn't work
- If it worked, having a different CRT than the rest of
the process would not be a good thing.

----------------------------------------
1 Path Changed]]>
Sun, 16 Feb 2020 17:38:33 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/70ff8f4a973109b7b2c6a67e6989978bf6553118Ray molenkamp
<![CDATA[[9339dc6] master: Fix T70685: Cycles crash using WITH_CYCLES_NATIVE_ONLY on Windows...]]> http://www.miikahweb.com/en/blender/git-logs/commit/9339dc6dd1080730d1cf0e9a3f14d6139b2fda06 9339dc6
Branches : master
Author : Ray molenkamp (LazyDodo)
Committed By : Brecht Van Lommel (brecht)
----------------------------------------
Fix T70685: Cycles crash using WITH_CYCLES_NATIVE_ONLY on Windows

MSVC does not have -march=native, so the kernel gets built without AVX2 and
BVH8 support. The code assumed it to be available and crashed

Differential Revision: https://developer.blender.org/D6082

----------------------------------------
1 Path Changed]]>
Fri, 14 Feb 2020 12:55:11 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/9339dc6dd1080730d1cf0e9a3f14d6139b2fda06Ray molenkamp
<![CDATA[[75a5ea0] master: Cleanup/MSVC: Enable C++ conformance mode on compiler versions...]]> http://www.miikahweb.com/en/blender/git-logs/commit/75a5ea01c19563ae1ba427e9206f2eae637d6070 75a5ea0
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Cleanup/MSVC: Enable C++ conformance mode on compiler versions that support it.

MSVC has a conformance mode (/permissive-) where the C++ standard is more strictly
enforced. This mode is available on MSVC 15.5+ [1]

This patch enables this mode on compilers that support it and cleans up the few violations it threw up in the process.

- Mantaflow was using M_PI without requesting them using the _USE_MATH_DEFINES define to opt in to non default behaviour.
- Collada did not include the right header for std::cerr, this seemingly was fixed for other platforms already but put inside a platform guard.
- Ghost had some scoping issues regarding uninitialized variables and goto behaviour

Second landing of this patch, earlier commit was reverted due to some compiler configurations having slipped though testing

[1] https://docs.microsoft.com/en-us/cpp/build/reference/permissive-standards-conformance

Differential Revision: https://developer.blender.org/D6824

Reviewed By: brecht

----------------------------------------
5 Paths Changed]]>
Fri, 14 Feb 2020 00:13:07 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/75a5ea01c19563ae1ba427e9206f2eae637d6070Ray molenkamp
<![CDATA[[6022cd0] master: Revert "Cleanup/MSVC: Enable C++ conformance mode on compiler...]]> http://www.miikahweb.com/en/blender/git-logs/commit/6022cd015ffe414b60229ba214dc1e324772e22d 6022cd0
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Revert "Cleanup/MSVC: Enable C++ conformance mode on compiler versions that support it."

It is breaking compilation on some configurations, revert for now while
i see what is wrong.

This reverts commit 9fe469c110940af5d2525158305d5d365bd15276.

----------------------------------------
5 Paths Changed]]>
Thu, 13 Feb 2020 14:04:30 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/6022cd015ffe414b60229ba214dc1e324772e22dRay molenkamp
<![CDATA[[9fe469c] master: Cleanup/MSVC: Enable C++ conformance mode on compiler versions...]]> http://www.miikahweb.com/en/blender/git-logs/commit/9fe469c110940af5d2525158305d5d365bd15276 9fe469c
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Cleanup/MSVC: Enable C++ conformance mode on compiler versions that support it.

MSVC has a conformance mode (/permissive-) where the C++ standard is more strictly
enforced. This mode is available on MSVC 15.5+ [1]

This patch enables this mode on compilers that support it and cleans up the few violations it threw up in the process.

- Mantaflow was using M_PI without requesting them using the _USE_MATH_DEFINES define to opt in to non default behaviour.
- Collada did not include the right header for std::cerr, this seemingly was fixed for other platforms already but put inside a platform guard.
- Ghost had some scoping issues regarding uninitialized variables and goto behaviour

[1] https://docs.microsoft.com/en-us/cpp/build/reference/permissive-standards-conformance

Differential Revision: https://developer.blender.org/D6824

Reviewed By: brecht

----------------------------------------
5 Paths Changed]]>
Wed, 12 Feb 2020 19:49:34 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/9fe469c110940af5d2525158305d5d365bd15276Ray molenkamp
<![CDATA[[df1e9b6] master: Cleanup: Fix build warnings from OSL shader compilation]]> http://www.miikahweb.com/en/blender/git-logs/commit/df1e9b662bd6938f74579cea9d30341f3b6dd02b df1e9b6
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Cleanup: Fix build warnings from OSL shader compilation

There were to copies of stdosl.h one from stock OSL
and one in the cycles tree augmented with cycles
specific closures.

moved the cycles ones to stdcycles.h and copied
the stock stdosl.h and accompanying headers from
the OSL shader folder.

for further details see D6812.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D6812

----------------------------------------
100 Paths Changed]]>
Wed, 12 Feb 2020 04:40:23 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/df1e9b662bd6938f74579cea9d30341f3b6dd02bRay molenkamp
<![CDATA[[3657bb5] master: Fix: Build error on windows]]> http://www.miikahweb.com/en/blender/git-logs/commit/3657bb514130ce2d28c407432d6f10202a68c92a 3657bb5
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Fix: Build error on windows

USD "library" directory was not set, leading to an error
during the INSTALL phase.

----------------------------------------
1 Path Changed]]>
Tue, 11 Feb 2020 13:51:18 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3657bb514130ce2d28c407432d6f10202a68c92aRay molenkamp
<![CDATA[[c92163b] master: CTest: Disable the cross test from the avxf unit tests.]]> http://www.miikahweb.com/en/blender/git-logs/commit/c92163b2b07e922b5fd07ec8c7981509940b103e c92163b
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
CTest: Disable the cross test from the avxf unit tests.

Test fails on AVX2, I'll look into this but until the
cause is determined the test will be disabled

----------------------------------------
1 Path Changed]]>
Mon, 10 Feb 2020 16:27:11 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/c92163b2b07e922b5fd07ec8c7981509940b103eRay molenkamp
<![CDATA[[2be20e9] master: Cleanup/CMake: Fix superfluous warning of WITH_BOOST being...]]> http://www.miikahweb.com/en/blender/git-logs/commit/2be20e9ece53ee9af4ad5c14f32e38afd8d25dad 2be20e9
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Cleanup/CMake: Fix superfluous warning of WITH_BOOST being turned off

The check for turning boost off did not actually check if WITH_BOOST
was on to start with leading to a superfluous warning during configuration.

----------------------------------------
1 Path Changed]]>
Sun, 09 Feb 2020 00:17:28 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/2be20e9ece53ee9af4ad5c14f32e38afd8d25dadRay molenkamp
<![CDATA[[94c8bbe] master: Windows: Improve rebuild.cmd]]> http://www.miikahweb.com/en/blender/git-logs/commit/94c8bbec9c820ad39f83e5c5e1f293b635e72124 94c8bbe
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Windows: Improve rebuild.cmd

Previously the MSVC environment was setup every time using vcvarsall.bat
when you ran you ran rebuild.cmd, Generally not an issue but after many
rebuilds on the same console, it grows the path environment variable
beyond what is supported and building breaks.

This patch adds a check to see if the environment is setup already
and skips the call to vcvarsall.bat

Also cleans up the double build in the msbuild's version of rebuild.cmd
install.vcxproj will build all that is needed, so no need to do a regular
build first.

----------------------------------------
2 Paths Changed]]>
Sun, 09 Feb 2020 00:14:47 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/94c8bbec9c820ad39f83e5c5e1f293b635e72124Ray molenkamp
<![CDATA[[02495f1] master: Cycles: Add avxf unit tests.]]> http://www.miikahweb.com/en/blender/git-logs/commit/02495f1e3c9dd3b9f70afc03d518742c44dc8a60 02495f1
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Cycles: Add avxf unit tests.

Differential Revision: https://developer.blender.org/D3706

Reviewers: brecht

----------------------------------------
4 Paths Changed]]>
Sat, 08 Feb 2020 23:01:28 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/02495f1e3c9dd3b9f70afc03d518742c44dc8a60Ray molenkamp
<![CDATA[[6a1414d] master: Build_environment: Fix unwanted exports from oidn on windows...]]> http://www.miikahweb.com/en/blender/git-logs/commit/6a1414dc58485791ff650f044f801b044af0346c 6a1414d
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Build_environment: Fix unwanted exports from oidn on windows.

oidn puts dllexport on all its functions causing the
blender binary to export these symbols.

this patch fixes this unwanted behaviour.

Differential Revision: https://developer.blender.org/D6647

Reviewers: brecht , sergey

----------------------------------------
1 Path Changed]]>
Sat, 08 Feb 2020 22:32:19 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/6a1414dc58485791ff650f044f801b044af0346cRay molenkamp
<![CDATA[[8c509f9] master: Build_environment: Fix unwanted exports from libxml on windows...]]> http://www.miikahweb.com/en/blender/git-logs/commit/8c509f98e129d1951ea590e7377a7e4c6bfdd427 8c509f9
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Build_environment: Fix unwanted exports from libxml on windows.

libxml puts dllexport on all its functions causing the
blender binary to export these symbols.

this patch fixes this unwanted behaviour.

Differential Revision: https://developer.blender.org/D6646

Reviewers: brecht , sergey

----------------------------------------
1 Path Changed]]>
Sat, 08 Feb 2020 22:04:09 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/8c509f98e129d1951ea590e7377a7e4c6bfdd427Ray molenkamp
<![CDATA[[67d3613] master: Build_environment: Freetype 2.10.1]]> http://www.miikahweb.com/en/blender/git-logs/commit/67d3613d1a625b04ba2d53f5a10870fdf5fcf024 67d3613
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Build_environment: Freetype 2.10.1

Freeetype 2.9.1 tags dllexport on most of its functions so these
are now exported from the blender binary. (Same issue as D6563
which fixed it for USD)

Issue has already been fixed upstream so a simple version bump
fixes it.

This patch bumps freetype to 2.10.1

Differential Revision: https://developer.blender.org/D6645

Reviewers: brecht , sergey

----------------------------------------
3 Paths Changed]]>
Sat, 08 Feb 2020 21:23:28 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/67d3613d1a625b04ba2d53f5a10870fdf5fcf024Ray molenkamp
<![CDATA[[b9c9b00] master: Build_environment: OSL 1.10.9 / llvm 9.0.1]]> http://www.miikahweb.com/en/blender/git-logs/commit/b9c9b001710ab60b448e92550e04aaae48f39452 b9c9b00
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Build_environment: OSL 1.10.9 / llvm 9.0.1

OSL 1.10.9 fixes osl-bug 866 [1] which is long standing issue
on windows where paths get un-escaped and osl breaks when you
install it to for instance c:blender-testsnew-boolean

This patch bumps osl to 1.10.9, and since osl is llvm's
only consumer, llvm/clang were bumped 9.0.1

Removed some of the patches that were no longer needed

Builds and passes all tests on windows and linux

[1] https://github.com/imageworks/OpenShadingLanguage/issues/866

Differential Revision: https://developer.blender.org/D6744

Reviewers: brecht

----------------------------------------
6 Paths Changed]]>
Sat, 08 Feb 2020 20:01:31 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b9c9b001710ab60b448e92550e04aaae48f39452Ray molenkamp
<![CDATA[[f2df4e0] master: Build optimization: Compile glew for size rather than speed...]]> http://www.miikahweb.com/en/blender/git-logs/commit/f2df4e0076a29a32813f870741b0f89fcbf00eed f2df4e0
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Build optimization: Compile glew for size rather than speed with msvc.

Glew.obj is one of the more expensive targets we have to build clocking in
at 34.907 seconds.

The root cause [1] is the msvc inliner is not super thrilled with the
glewIsSupported supported function, this patch changes the buildflags
of extern_glew to optimize for size rather than speed.

Given glew is only in play at initalization time there will be no
performance impact.

Time to build glew.obj

Before: 34.907s
After : 1.961s

[1] https://developercommunity.visualstudio.com/content/problem/732941/slow-compilation-of-glewc-for-visual-studio-2019-x.html

Differential Revision: https://developer.blender.org/D6656

Reviewers: brecht, sergey, fclem

----------------------------------------
1 Path Changed]]>
Fri, 07 Feb 2020 14:35:17 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f2df4e0076a29a32813f870741b0f89fcbf00eedRay molenkamp
<![CDATA[[6477fcf] master: BuildSystem/Cleanup: Fix warning behaviour regarding library...]]> http://www.miikahweb.com/en/blender/git-logs/commit/6477fcf40f541bcb8de24aa8023df53775cc7827 6477fcf
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
BuildSystem/Cleanup: Fix warning behaviour regarding library dependencies

Adding USD to a lite build fails to build due to boost errors, when you turn
boost on and rebuild still boost errors, boost was silently turned off since
it was not deemed needed. Once boost was forced on, it still fails due to TBB
being off.

This patch fixes:

- The Silent disabling of boost
- Add a check that USD is is not on before doing that
- move the TBB checks to a central location rather than the individual platform files
- Add USD to the TBB checks.

Differential Revision: https://developer.blender.org/D6479

Reviewers: brecht, sybren

----------------------------------------
5 Paths Changed]]>
Fri, 07 Feb 2020 14:27:40 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/6477fcf40f541bcb8de24aa8023df53775cc7827Ray molenkamp
<![CDATA[[8ff556c] master: Merge remote-tracking branch 'origin/blender-v2.82-release']]> http://www.miikahweb.com/en/blender/git-logs/commit/8ff556cf752b44e7ad300178d9ee2175d77542ae 8ff556c
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Merge remote-tracking branch 'origin/blender-v2.82-release'

----------------------------------------
0 Paths Changed]]>
Thu, 06 Feb 2020 20:44:55 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/8ff556cf752b44e7ad300178d9ee2175d77542aeRay molenkamp