http://www.miikahweb.com/feed.php MiikaHweb - Blender Commits By LazyDodo http://www.miikahweb.com/ MiikaHweb - Blender Commits By LazyDodo fi Thu, 26 Nov 20 10:19:05 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[86bdd2a] master: Windows: Fix build issue with VCPKG]]> http://www.miikahweb.com/en/blender/git-logs/commit/86bdd2acc66c95c3698525ab3d5d6263cc1b825c 86bdd2a
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Windows: Fix build issue with VCPKG

For blender we disable VCPKG to prevent it from picking
up the wrong libraries from VCPKG rather than our lib folder
some of the cycles tests needed this to link correctly.

reported by @alef on chat

----------------------------------------
1 Path Changed]]>
Tue, 10 Nov 2020 20:23:55 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/86bdd2acc66c95c3698525ab3d5d6263cc1b825cRay molenkamp
<![CDATA[[626a792] master: MSVC: Fix build warning]]> http://www.miikahweb.com/en/blender/git-logs/commit/626a79204ee2a9023cca1f7b9dfd88aa8d25cfc6 626a792
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
MSVC: Fix build warning

If a define of NOMINMAX was made before BLI_task.hh was included,
the compiler would emit a

warning C4005: 'NOMINMAX': macro redefinition

warning, to work around this only define it if it is not already
defined, and only undefine it if we were the ones that made the
define earlier.

----------------------------------------
1 Path Changed]]>
Tue, 10 Nov 2020 15:48:18 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/626a79204ee2a9023cca1f7b9dfd88aa8d25cfc6Ray molenkamp
<![CDATA[[43e4d6e] master: CMake/Windows: Compile GMP library as fat library]]> http://www.miikahweb.com/en/blender/git-logs/commit/43e4d6e5b1425860d5820e866c012a6ebd046a19 43e4d6e
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
CMake/Windows: Compile GMP library as fat library

----------------------------------------
1 Path Changed]]>
Tue, 20 Oct 2020 19:04:53 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/43e4d6e5b1425860d5820e866c012a6ebd046a19Ray molenkamp
<![CDATA[[00f7b57] master: Windows: Fix build issue on windows]]> http://www.miikahweb.com/en/blender/git-logs/commit/00f7b572d9ebce1af0e9b5afc5d53467374ca738 00f7b57
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Windows: Fix build issue on windows

TBB includes Windows.h which defines a min/max macro
leading to issues when you want to use std::min and
std::max.

This change prevents Windows.h from defining them
sidestepping the issue.

----------------------------------------
1 Path Changed]]>
Thu, 15 Oct 2020 23:14:57 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/00f7b572d9ebce1af0e9b5afc5d53467374ca738Ray molenkamp
<![CDATA[[6b32de4] master: Cleanup: Fix build error on windows]]> http://www.miikahweb.com/en/blender/git-logs/commit/6b32de4d9fde0bb7d6d257f43a34ece2d56c8ad8 6b32de4
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Cleanup: Fix build error on windows

int and eContextResult are different types to MSVC
leading to a function signature mismatch.

----------------------------------------
1 Path Changed]]>
Fri, 02 Oct 2020 17:47:44 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/6b32de4d9fde0bb7d6d257f43a34ece2d56c8ad8Ray molenkamp
<![CDATA[[84e122e] master: Cycles: Fix broken 32 bit shift.]]> http://www.miikahweb.com/en/blender/git-logs/commit/84e122e38a547cd57249f6d4da26bd722a93950e 84e122e
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Cycles: Fix broken 32 bit shift.

1ul << n will still be a 32 bit integer regardless
of the value of n, given the target here is 64 bits
the upper 32 bits will always be zero. Using 1ull
will yield the expected result.

----------------------------------------
1 Path Changed]]>
Thu, 01 Oct 2020 16:19:50 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/84e122e38a547cd57249f6d4da26bd722a93950eRay molenkamp
<![CDATA[[b21e2cf] master: CMake: Enable WITH_POTRACE by default]]> http://www.miikahweb.com/en/blender/git-logs/commit/b21e2cfd03f079a04a1527fc3c9ec34084278bd8 b21e2cf
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
CMake: Enable WITH_POTRACE by default

All platforms have landed the libs, this can be on
by default now.

----------------------------------------
3 Paths Changed]]>
Tue, 22 Sep 2020 14:03:50 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b21e2cfd03f079a04a1527fc3c9ec34084278bd8Ray molenkamp
<![CDATA[[104df24] master: deps: fix build issue on windows.]]> http://www.miikahweb.com/en/blender/git-logs/commit/104df2453ad27451dc58e9314900690ebaec6d31 104df24
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
deps: fix build issue on windows.

Windows does not build libxml2 so the dependency recently
added for mac caused a cmake error.

----------------------------------------
1 Path Changed]]>
Fri, 18 Sep 2020 19:52:06 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/104df2453ad27451dc58e9314900690ebaec6d31Ray molenkamp
<![CDATA[[ed7104a] greasepencil-object: GP: Update GP to use potrace from SVN/System]]> http://www.miikahweb.com/en/blender/git-logs/commit/ed7104ac4a8c526257aa16a28750385e2381b06c ed7104a
Branches : greasepencil-object
Author : Ray molenkamp (LazyDodo)
----------------------------------------
GP: Update GP to use potrace from SVN/System

and remove it from /extern

----------------------------------------
146 Paths Changed]]>
Thu, 17 Sep 2020 14:34:14 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ed7104ac4a8c526257aa16a28750385e2381b06cRay molenkamp
<![CDATA[[2eec6ec] master: Deps: Add potrace as a new library dependency]]> http://www.miikahweb.com/en/blender/git-logs/commit/2eec6ec793386cef522193f69e2790a4bd301391 2eec6ec
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Deps: Add potrace as a new library dependency

For work the GP team plans to land soon (T79877) potrace was taken
on as an additional optional dependency.

This diff adds building the library to the deps builder and takes
care of the integration into the build-system with the `WITH_POTRACE`
cmake switch.

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

Reviewed by: brecht, sergey

----------------------------------------
9 Paths Changed]]>
Tue, 15 Sep 2020 19:16:37 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/2eec6ec793386cef522193f69e2790a4bd301391Ray molenkamp
<![CDATA[[1509d2b] master: Cleanup: Fix whitespace changes]]> http://www.miikahweb.com/en/blender/git-logs/commit/1509d2ba7d126a7f02f18b89fd2b2647b515ca42 1509d2b
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Cleanup: Fix whitespace changes

Introduced in rB40dcf686f04f7db8110f9c85621eb8a0bd764080

----------------------------------------
1 Path Changed]]>
Sat, 12 Sep 2020 22:06:24 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/1509d2ba7d126a7f02f18b89fd2b2647b515ca42Ray molenkamp
<![CDATA[[b00820c] master: Cleanup: Fix build warning with MSVC]]> http://www.miikahweb.com/en/blender/git-logs/commit/b00820c04d2f06bd483b41d07d195b3bfc2f60ba b00820c
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Cleanup: Fix build warning with MSVC

MSVC warns on MEM_freeN being fed a const pointer

----------------------------------------
1 Path Changed]]>
Fri, 11 Sep 2020 19:38:14 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b00820c04d2f06bd483b41d07d195b3bfc2f60baRay molenkamp
<![CDATA[[c25ac80] master: Cleanup: Fix bad spelling in previous commit.]]> http://www.miikahweb.com/en/blender/git-logs/commit/c25ac806ac7aea617bb5c1243d792e00fc1c336b c25ac80
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Cleanup: Fix bad spelling in previous commit.

Thanks for @deadpin for noticing!

----------------------------------------
1 Path Changed]]>
Thu, 10 Sep 2020 18:13:51 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/c25ac806ac7aea617bb5c1243d792e00fc1c336bRay molenkamp
<![CDATA[[9bd10b1] master: CLog: Support colorized logging on windows]]> http://www.miikahweb.com/en/blender/git-logs/commit/9bd10b1c9218e65d9de57e9a95dd5d77d5b9243a 9bd10b1
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
CLog: Support colorized logging on windows

When using Windows Terminal the same control codes Linux
uses to colorize the text can be used. WT can be detected
by looking at the WT_SESSION environment variable.

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

Reviewed by: campbellbarton

----------------------------------------
1 Path Changed]]>
Thu, 10 Sep 2020 17:31:09 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/9bd10b1c9218e65d9de57e9a95dd5d77d5b9243aRay molenkamp
<![CDATA[[359acad] master: Cleanup: CLog fix bad use_color default]]> http://www.miikahweb.com/en/blender/git-logs/commit/359acad5e49bb23a603706c47a05b9ffc1c92d33 359acad
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Cleanup: CLog fix bad use_color default

`use_color` was defaulted to 'on' and only turned off when it was
decided the terminal didn't support this. This was the wrong
way to go about things, since that test only ran for Linux/Mac other
operating systems would get color formatting regardless if they
supported it.

The new default is `off` until the platform specific code inside
`CLG_ctx_output_set` turns it on after running some sanity checks.

This fix was part of the review of D8848 but deserved its on commit

Reviewed By: campbellbarton

----------------------------------------
1 Path Changed]]>
Thu, 10 Sep 2020 17:27:41 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/359acad5e49bb23a603706c47a05b9ffc1c92d33Ray molenkamp
<![CDATA[[5af75e2] master: Cleanup: Update doc string for BLI_getenv]]> http://www.miikahweb.com/en/blender/git-logs/commit/5af75e2333b3c568a70d8301e12716e38ae06b6c 5af75e2
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Cleanup: Update doc string for BLI_getenv

The reason for this functions existence was poorly documented

----------------------------------------
1 Path Changed]]>
Thu, 10 Sep 2020 16:18:32 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/5af75e2333b3c568a70d8301e12716e38ae06b6cRay molenkamp
<![CDATA[[c7b00ef] master: MSVC: Fix cmake warnings with MSVC updates]]> http://www.miikahweb.com/en/blender/git-logs/commit/c7b00ef625f174199c2e173026a4ec5d7e57c2ec c7b00ef
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
MSVC: Fix cmake warnings with MSVC updates

CMake caches the location of the CRT runtime in the
MSVC_REDIST_DIR variable, and uses it to copy the required
dll's during the install phase.

This variable is only initialized when it does not exist.
Leading to issues when compiler updates are installed and
the compiler version slightly changes, cmake still looks
in the old location for the runtime and warns about the
files not existing.

This change fixes the issue by checking if the redist dir
exists and if not unsets it so InstallRequiredSystemLibraries
can have another go at figuring out where they live.

----------------------------------------
1 Path Changed]]>
Thu, 03 Sep 2020 18:39:49 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/c7b00ef625f174199c2e173026a4ec5d7e57c2ecRay molenkamp
<![CDATA[[c992fd3] master: Cycles: Support WITH_CYCLES_NATIVE_ONLY with MSVC]]> http://www.miikahweb.com/en/blender/git-logs/commit/c992fd3a3c13763f458e420507f044ec82155a81 c992fd3
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Cycles: Support WITH_CYCLES_NATIVE_ONLY with MSVC

This change enables the developer option `WITH_CYCLES_NATIVE_ONLY`
for MSVC. This allows a developer to just build the cycles
CPU kernel for their specific system rather than all kernels,
speeding up development.

Other platforms have had this option for years, but MSVC lacks
the compiler switch to target the host architecture hence it
always build all kernels.

This change uses a small helper program to detect the required
flags.

Only AVX/AVX2 are tested, for the following reasons

- SSE2 is enabled by default and requires no flags
- SSE3/4 have no specific build flags for msvc
- AVX512 is not yet supported by cycles

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

Reviewed by: brecht, sergey

----------------------------------------
2 Paths Changed]]>
Wed, 02 Sep 2020 15:19:44 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/c992fd3a3c13763f458e420507f044ec82155a81Ray molenkamp
<![CDATA[[1082edf] master: Cleanup: Clang-format]]> http://www.miikahweb.com/en/blender/git-logs/commit/1082edfdfd848ca3231457c4ae7443bbea9db968 1082edf
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
Cleanup: Clang-format

----------------------------------------
1 Path Changed]]>
Wed, 02 Sep 2020 15:19:14 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/1082edfdfd848ca3231457c4ae7443bbea9db968Ray molenkamp
<![CDATA[[7056f18] master: cleanup: Fix GMP spacing in cmake configurations]]> http://www.miikahweb.com/en/blender/git-logs/commit/7056f180d3a220c0c98999edd0ad3273b46a9ced 7056f18
Branches : master
Author : Ray molenkamp (LazyDodo)
----------------------------------------
cleanup: Fix GMP spacing in cmake configurations

It now follows the spacing around it.

----------------------------------------
2 Paths Changed]]>
Mon, 31 Aug 2020 15:42:58 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/7056f180d3a220c0c98999edd0ad3273b46a9cedRay molenkamp