Thomas Dinges
04c30c5efb
Scons / MSVC - Windows x64
...
* SSE/SSE2 is an unknown option for the compiler (Command line warning D9002 : ignoring unknown option '/arch:SSE2'), so it can be left out because on x64 it automatically builds with SSE and SSE2.
2012-05-28 09:20:04 +00:00
Campbell Barton
1e45042396
code cleanup: remove mode comments, these were applied very un-evenly across a few files.
2012-05-27 13:22:43 +00:00
Campbell Barton
9978f97b12
cmake edits
...
- only show mingw option when building with mingw
- always run cmake configure with convenience build targets so failed configurations stop re-configuring.
- disable WITH_GHOST_XDND in 'make lite'
2012-05-27 10:03:13 +00:00
Joshua Leung
795edb74fa
scons - Added option to not remove and unpack python modules bundle every
...
compile
2012-05-23 03:49:42 +00:00
Antony Riakiotakis
1937f3b8de
Disable building of CUDA 1.3 kernels for cycles for win32 cmake and mingw32 scons. They were already disabled for scons MSVC 32bit.
2012-05-22 12:30:37 +00:00
Dan Eicher
e6ddad5146
CPack rpm cleanup
...
-- package name and .spec->Version match
-- use find_lang macro for locales
-- Requires & Provides (mostly) match the fedora .spec
-- fix unpackaged file error for blender-thumbnailer.py
TODO: figure out how persuade CPack to make multiple rpms to also package blenderplayer
2012-05-16 02:51:58 +00:00
Daniel Genrich
7f92b5f79a
Fix El Topo:
...
- Library compile errors
- 2 Bugs (have been reported to lib owner)
- LAPACK for cmake
TODO:
- Scons is still missing LAPACK lib define
- Do other platforms got LAPACK lib?
2012-05-15 11:35:01 +00:00
Antony Riakiotakis
232980eef0
Cleanup optimization compile flags for mingw-w64.
...
After testing it seems that for safe debug sessions, debug build optimizations need to be off.
Also removed sse flags from release flags since they are included in ray optimization flags which are on by default.
2012-05-14 23:36:07 +00:00
Antony Riakiotakis
e5963aae1d
Change the scons configuration for MinGW-w64 to be more in-line with cmake. Also deactivate openmp as it causes crashes when rendering with subsurf or multires modifiers
2012-05-13 17:26:07 +00:00
Nathan Letwory
a88f910b9a
Disable sm_13 CUDA kernel building for now, as the build fails with out of memory.
2012-05-12 22:00:32 +00:00
Nathan Letwory
63690b6b45
Enable setting of CUDA kernels to compile on command-line:
...
python scons/scons.py BF_CYCLES_CUDA_BINARIES_ARCH=sm_20,sm21
2012-05-12 21:37:01 +00:00
Nathan Letwory
e8e1a7cb9e
Enable OpenCOLLADA support for MingW64 builds by default.
...
Note: don't forget to update your local checkout of lib/mingw64
2012-05-11 17:29:55 +00:00
Antony Riakiotakis
f91fa9d2ce
Enable ffmpeg building with MinGW-w64. The libraries were compiled with gcc 4.7, however is has been claimed there are issues with gcc > 4.4 so this is for testing purposes. Still it doesn't crash on startup anymore. Forgot to mention on ffmpeg lib commit that committed ffmpeg version is 0.10.2
2012-05-10 11:37:41 +00:00
Brecht Van Lommel
ad929044d3
Fix: recent commit setting python3.2 command should not be applied to this file
...
scons build scripts are still using python2.
2012-05-02 09:03:04 +00:00
Campbell Barton
c6051ea87b
replace python3 command with python3.2, python3 isnt available on ubuntu.
2012-05-01 20:45:16 +00:00
Thomas Dinges
e08a46c070
Windows / Scons:
...
* Disable CUDA kernel compile per default, so people who don't use it can compile file with the default config.
2012-04-30 09:06:19 +00:00
Nathan Letwory
fd2439f47a
bump commit count, mingw32 -> mingw64
2012-04-28 08:47:37 +00:00
Nathan Letwory
5d70a6aedf
Add MingW as "platform"
2012-04-28 08:45:55 +00:00
Nathan Letwory
09dc600839
Same mingw fix as for compile
2012-04-28 06:28:07 +00:00
Nathan Letwory
a299855e34
Changes to get mingw buildslaves going.
2012-04-27 13:18:55 +00:00
Antony Riakiotakis
7ac4bd9105
Enable building of the installer with MinGW-w64, patch by Caleb Joseph (Dobz) thanks a lot!
2012-04-25 11:15:55 +00:00
Antony Riakiotakis
75addcf233
Lower optimization settings for MinGW-w64. Full optimization causes artifacts with empties and gods know what else. Turned on -ftree-vectorize to match MSVC behaviour for 64bit.
2012-04-24 17:20:51 +00:00
Antony Riakiotakis
4e6590067d
revert 45924, not a very clean solution, especially for external libraries and looks like -fpermissive is used in linux too
2012-04-24 16:14:23 +00:00
Antony Riakiotakis
0db3c5f743
Remove mingw-w64 errors from loss of precision by converting 64bit pointers to ints. All cases found were harmless and the error behaviour could be turned off by the -fpermissive flag but I'd rather keep that off to detect any real problems should they arise.
2012-04-24 14:33:44 +00:00
Antony Riakiotakis
4782522379
Add libMV and Scons support for MinGW-w64, patches by Caleb Joseph with slight modifications.
...
Thanks!
2012-04-24 12:57:58 +00:00
Antony Riakiotakis
c498c0eb42
Update build files to use the new lib locations for MinGW. For builders: you will need to checkout https://svn.blender.org/svnroot/bf-blender/trunk/lib/mingw32/
...
to build with MinGW past this commit.
2012-04-23 01:11:42 +00:00
Antony Riakiotakis
ff06260ea1
Solve restriction of MinGW that users have to turn ffmpeg on for cmake.
2012-04-22 14:33:40 +00:00
Campbell Barton
5c4a7171fe
qtcreator/netbeans generators: fix for error getting project info when svn isnt found (common on windows)
2012-04-15 09:34:57 +00:00
Thomas Dinges
f725a3d6c4
Scons ToDo:
...
* Made Frameserver building optional, added WITH_BF_FRAMESERVER.
* Enabled per default in btools.py
2012-04-14 22:19:29 +00:00
Thomas Dinges
48ed63b1a5
Scons ToDo:
...
* Made Smoke building optional, added WITH_BF_SMOKE.
* Enabled per default in btools.py
2012-04-14 21:55:38 +00:00
Thomas Dinges
d7221fd7c9
Scons / Windows release build configs:
...
* Enable CUDA per default, only thing the builder has to do for release libs, is to specify BF_CYCLES_CUDA_NVCC.
2012-04-12 13:58:16 +00:00
Thomas Dinges
3d4a14149b
Scons:
...
* Some code and comment cleanup
* Remove cmake equivalent variable comments
* Remove some non used parameters from config files and btools: WITH_BF_FMOD, BF_VERSION.
* Remove some commented non-used variables
2012-04-07 18:26:54 +00:00
Thomas Dinges
3d893a926e
Windows x64 / Scons:
...
* Enable WITH_BF_OPENJPEG per default, it was enabled for 32 bit systems, why not on x64?
* This brings back JPEG 2000 support for win x64.
2012-04-06 10:57:22 +00:00
Sergey Sharybin
785373b03a
Added new command-line arguments --debug-ffmpeg and --debug-libmv to
...
be able to see debug prints coming from FFmpeg or libmv independently
of general blender debug messages.
2012-03-30 10:37:49 +00:00
Mitchell Stokes
9391e4c4a3
This does two things for cleanup builds made with SCons:
...
1) Removes unwanted folders from Python/lib instead of just emptying them out.
2) Removes the test folder from Python/lib. This folder contains unit tests for Python (not the unittest module itself), and is about 10~12MB.
2012-03-28 19:56:11 +00:00
Alexander Kuznetsov
f11a6d3a84
Adds support for utf paths on Windows.
...
Not all file formats/calls are supported yet. It will be expended.
Please from now on use BLI_fopen, BLI_* for file manipulations.
For non-windows systems BLI_fopen just calls fopen.
For Windows, the utf-8 string is translated to utf-16 string in order to call UTF version of the function.
2012-03-20 02:17:37 +00:00
Jens Verwiebe
f2475088b6
OSX/scons: also allow for omp-builds with gcc-4.6.2 and 4.6.3 ( tested ), TODO: check if we can compile objC/objC++ with newer gcc too
2012-03-15 14:57:51 +00:00
Antony Riakiotakis
d184fe0df3
Missed Scons update for MinGW boost
2012-02-26 16:54:20 +00:00
Sergey Sharybin
ed21afa2eb
Disable fancy scons output for buildbot. Should make reading build logs a bit more easier.
2012-02-26 10:47:50 +00:00
Campbell Barton
6ca7d82932
code cleanup: white space, spelling & ';;' end of lines.
2012-02-25 16:04:03 +00:00
Jens Verwiebe
f8d55b5bf0
OSX: scons: fix own mistake, truncate output of xcode-build -version to major.minor version in config to change the var not only the print
2012-02-25 11:21:20 +00:00
Jens Verwiebe
2377bfe32f
OSX: set ffmpeg back in darwin-config according librenaming
2012-02-24 18:31:09 +00:00
Sergey Sharybin
9def83f7e0
XDND support now can be disabled using WITH_GHOST_XDND=OFF with CMake and WITH_GHOST_XDND=False with SCons
...
Disabled on FreeBSD platforms due to some linking errors.
2012-02-17 20:51:39 +00:00
Campbell Barton
61596d5bb3
patch [ #30227 ] Various MSVC (32-bit) Warning and Typo Fixes
...
made some small edits
- removed changes to AVI reading since the data types are apart of the format spec.
- absf -> abs for a double value in render code.
2012-02-17 19:21:47 +00:00
Sergey Sharybin
29f0ff718b
Reverting changes made to build systems when was upgrading OpenAL.
...
Reverting to openal from creative because own builds doesn't deal with 3D sound.
Hopefully it wouldn't lead to crashes caused by ffmpeg+openal (for resolving which
libraries were updated to openal-soft).
2012-02-17 16:58:34 +00:00
Jens Verwiebe
c9d8af6cff
OSX: since XCode 4.3 the developer directory is inside XCode.app bundle, so we handle path according XCODE_VERSION now
2012-02-17 10:44:21 +00:00
Sergey Sharybin
001299a0f6
Buildbot: WITH_BF_CYCLES_CUDA_BINARIES should be set for packing stage too.
2012-02-14 17:03:27 +00:00
Sergey Sharybin
9df1fb5076
Buildbot: another attempt to make Windows builds support CUDA
...
Set BF_CYCLES_CUDA_NVCC to nvcc.exe, hopefully it's on search path at builder machine.
2012-02-14 15:59:10 +00:00
Sergey Sharybin
1df04f1dcd
SCons: command line options should be coma-separated when adding to options list
2012-02-14 15:44:17 +00:00
Sergey Sharybin
b89beaf990
Buildbot: enable building CUDA binaries on Windows slaves.
...
Should make CUDA available for rendering in buildbot builds.
2012-02-14 15:26:20 +00:00