Page MenuHome

[windows] add some helpers to make.bat to facilitate making release builds.
ClosedPublic

Authored by Ray Molenkamp (LazyDodo) on Aug 29 2016, 1:11 AM.

Details

Summary

New features:

  1. Release target that checks for both cuda 7.5 and 8 with WITH_CYCLES_CUDA_BINARIES=ON and CYCLES_CUDA_BINARIES_ARCH=sm_20;sm_21;sm_30;sm_35;sm_37;sm_50;sm_52;sm_60;sm_61 options set.
  2. Option to switch between x86 and x64 builds, the default remains (auto detect the architecture) but can be overridden.
  3. Option to switch between vs12(2013) and vs14(2015) default is 2013.

Diff Detail

Repository
rB Blender
Branch
arcpatch-D2180_3
Build Status
Buildable 170
Build 170: arc lint + arc unit

Event Timeline

Ray Molenkamp (LazyDodo) retitled this revision from to [windows] add some helpers to make.bat to facilitate making release builds. .
Ray Molenkamp (LazyDodo) updated this object.
Ray Molenkamp (LazyDodo) set the repository for this revision to rB Blender.
Ray Molenkamp (LazyDodo) updated this object.

Added vs 2015 support.

Is there anything to be known by users after this change? As in, will this change affect someone else apart from the ones who does official release builds?

The only noticeable change for them is that the output folder changes due to the extra decoration,The extra options for x86/x64 2013/2015 work on all targets, and are a nice bonus for them though.

Ray Molenkamp (LazyDodo) retitled this revision from [windows] add some helpers to make.bat to facilitate making release builds. to [windows] add some helpers to make.bat to facilitate making release builds..
Ray Molenkamp (LazyDodo) edited edge metadata.
Ray Molenkamp (LazyDodo) updated this object.
  • make.bat add support for

-Settings cpack package name
-Generating only project files
-Better help

  • Add showhash which shows the git hashes in a similar fashion as the release ahoy emails. so it's easier to verify that the correct things are being build
Sergey Sharybin (sergey) edited edge metadata.

Think we shouldn't delay such platform maintenance code actually. If there's nothing really meaningful changed for users w can always polish stuff later.

One thing tho is the CUDA 7.5/8.0 detection. It's more a workaround currently, but since cuda 8 is still not released perhaps it's fine to have for now. And eventually we can remove that from make.bat.

This revision is now accepted and ready to land.Sep 15 2016, 9:31 AM
This revision was automatically updated to reflect the committed changes.