Commit Graph

661 Commits

Author SHA1 Message Date
Thomas Dinges
dc90ce5b6d Cycles GPU rendering:
* Deprecate computing capability 1.3 (sm_13)

This commit disables auto build of sm_13 CUDA platform, which means that starting with Blender 2.67, we don't support sm_13 devices anymore. It has become difficult to support that and it was already feature incomplete (no render-passes, AO, Multi Closure etc).

It's still possible to manually enable sm_13 for own tests, but building might break in the future.
2013-02-21 17:14:07 +00:00
Campbell Barton
76b7afd909 removing xinerama on X11 dependency, this wasn't working very usefully. 2013-02-07 14:10:01 +00:00
Jens Verwiebe
98ecb72379 OSX/cmake/scons: python version foolproof 2013-02-05 19:49:53 +00:00
Jens Verwiebe
7ef9e25384 OSX/cmake: Fix ypthn version for module compile 2013-02-05 18:24:26 +00:00
Campbell Barton
a2543d4173 expose WITH_BOOST as a cmake option, this just disables boost deps since it was becoming annoying to remember all of them. 2013-01-31 23:25:06 +00:00
Campbell Barton
64c6736ef2 disable xinerama and xinput if libraries are missing. 2013-01-31 20:41:47 +00:00
Campbell Barton
dbf54dacf7 Add Xinerama support for GHOST_GetMainDisplayDimensions() so X11 works as it should (previously would include all monitors).
Now the active monitor size is used on startup. 
Currently the cursor position is checked for intersection with the monitor bounds to find the active screen.
2013-01-31 11:05:09 +00:00
Brecht Van Lommel
b5c439db47 Fix cycles windows link errors when building with OSL master branch. 2013-01-30 21:58:47 +00:00
Sergey Sharybin
5781859753 Dosvidanya, old compositor!
You served well and now desired retirement, but you'll always live in our hearts.

And for sure -- monument!

       +-------------------------------------------+
      /   ++==+   .  ..   .   ...    .  ..     .  /
     /   //    ++==++  ++  ++     ++==++ ++==++  /
    /   //    //  //  //\\//\\   //  // //  //  /
   /   ++==+ ++==++  //      \\ //==++ ++==++  /
  /  .    ...   ..    .       //  ..  ...     /
 +-------------------------------------------+

Some notes:
- Removed all code which was from inside ifdef WITH_COMPOSITOR_LEGACY
- Removed some functions which were used by old compositor only but
  weren't ported to new color management
- Removed WITH_COMPOSITOR_LEGACY from build systems
- node_composite_util.h was in fatc used by compo nodes specification
  files, so added it back to cmake.

  Could be cleaned up by moving header files to files where they're
  actually needed but would consider this is a separate task.

- Should be no functional changes!
2013-01-14 15:53:17 +00:00
Antony Riakiotakis
5eb2070fc7 Add wave to boost libraries for MinGW if OSL is turned on (still not supported but making sure it works correctly when it is) 2013-01-13 12:32:37 +00:00
Mitchell Stokes
df3e244887 CMake: Looks like a period sneaked into r53515, which caused CMake to fail. 2013-01-03 00:35:42 +00:00
Mitchell Stokes
fd8a2a5924 CMake: Setting vc10 to use Python 3.3 (it was still set to 3.2). For the time being, I'm having vc10 use the vc9 Python libs, which SCons is currently doing. 2013-01-03 00:29:13 +00:00
Campbell Barton
c2839bfe76 add option WITH_SYSTEM_BULLET to link against the bullet installation found on the system.
Note: this doesn't work yet for everything with latest stable bullet (2.81), need to look into why and likely apply some patches upstream.
However I managed to link blender by disabling some features, likely it can be made to work without too much trouble.
2013-01-03 00:23:52 +00:00
Campbell Barton
80ff313495 patch [#33331] Time To Start Moving To Stdbool
by Lawrence D'Oliveiro (ldo)

so BKE_utildefines.h allows use of C99's bool type and true/false.

currently scons wont try to use stdbool.h, and works as if its never found.
2013-01-01 12:47:58 +00:00
Brecht Van Lommel
6e038ff398 CMake: on linux, make boost now always require multithreaded libs, disabling
this was a hack for the precompiled libs in svn. Also bumped minimum version
to 1.48 because that's the first version that contains boost::locale.
2012-12-13 08:46:07 +00:00
Jens Verwiebe
8af6721eb5 OSX: make cmake and scons both compile jack and ndof with newer sdk's 2012-12-12 19:54:14 +00:00
Jens Verwiebe
26ae649b01 OSX/cmake: fix ndof compile 2012-12-12 18:31:19 +00:00
Brecht Van Lommel
fe2907d6cb CMake: fix numpy install not getting properly disabled when numpy was not found. 2012-12-10 09:07:57 +00:00
Ton Roosendaal
b714d7fde6 Further refined the check for GCC 4.2 to not add the flag -Wuninitialized then.
Now it checks for "Not less then 4.3" because it doesnt have >= 4.3.
2012-12-09 11:31:34 +00:00
Antony Riakiotakis
0fb3ef7fd8 CMake:
*Remove WITH_MINGW64 option, automatically test for presence of __MINGW64__ definition instead to determine presence of MinGW32/64.
*Placeholder for LLVM libraries (Compiled locally but still crashing on render due to thread issue).
2012-12-09 01:42:26 +00:00
Brecht Van Lommel
2b962212c8 Fix #33411: crash baking smoke with FFT high resolution.
CMake had FFTW disabled by default, and when FFTW was not enabled it lead to
uninitialized memory usage. Now it falls back to wavelet if there is no FFTW,
and I've enabled it by default in CMake. If it's not found on Linux it will get
disabled automatically.
2012-12-05 15:46:31 +00:00
Campbell Barton
77fdf426d6 disable numpy warning with cmake, since we didnt end up bundling this with blender yet. 2012-12-04 17:54:32 +00:00
Dalai Felinto
df4e1953ac we need 2.8.8 for cmake on mac - patch by Jens Verwiebe 2012-11-29 10:28:06 +00:00
Brecht Van Lommel
5a6d695218 CMake: hide some unnecessary LLVM/OSL/EXR prints. 2012-11-27 17:30:46 +00:00
Campbell Barton
a7555a81c7 remove unmaintained eltopo, keeping scons/cmake entries, but commenting out user visible config to make branch merging less of a hassle. 2012-11-27 09:52:20 +00:00
Antony Riakiotakis
5393922d1d Remove non existent pthread include directory for MinGW, also slight message correction for 64 bit MinGW 2012-11-26 19:50:08 +00:00
Antony Riakiotakis
f9bed10d1f Enable python 3.3 for MinGW/CMake.
MinGW32 python libs will be commited later in the day
2012-11-26 14:47:34 +00:00
Campbell Barton
0a5d44588c switch verious references from py3.2 -> 3.3 or just 3. 2012-11-26 13:58:06 +00:00
Sergey Sharybin
2d6402c10c Switch windows to python 3.3
Should affect on msvc2008 only, however scons with msvc2010 could still be broken.
2012-11-26 12:38:40 +00:00
Brecht Van Lommel
629ea82a13 Fix 33149: LLVM caused startup crash on linux systems using Mesa llvmpipe.
Now we hide the LLVM symbols with an ld version script to avoid conflicts.
2012-11-21 22:28:15 +00:00
Bastien Montagne
28317feab1 More LLVM work (now always search llvm-config into LLVM_DIRECTORY when
set!).
2012-11-21 08:59:20 +00:00
Sergey Sharybin
6ea7bf2278 Seems extra hints are needed to find llvm-config on linux 2012-11-20 08:04:53 +00:00
Bastien Montagne
0e15537bf2 Adding a linux-only WITH_STATIC_LIBS option, which will try to link against static libs. This should help building more portable blender. Still experimental and WIP. 2012-11-19 19:43:03 +00:00
Jens Verwiebe
eebc9f4922 OSX/osl: link also boost_wave, cause we use its preprocessor now 2012-11-19 19:10:31 +00:00
Sergey Sharybin
1dcef34742 Bring back debug boost libs to cmake. Also use debug version of OIIO for debug builds.
SO now blender could be debugged on windows again!

There'll likely be compilation error of debug version of blender using msvc2010, not
currently sure how to solve that in a good way.
2012-11-19 18:07:55 +00:00
Brecht Van Lommel
1e98e96f7c Windows Libs: move OpenEXR headers to same directory structure as other platforms. 2012-11-19 16:02:29 +00:00
Sergey Sharybin
9947f70f19 Localization should not depend on debug locale library
Linking happens fine, but blender crashes on startup -- crash with familiar
backtrace happens with i18n disabled (in that case it's something to do with OIIO).
2012-11-19 13:15:11 +00:00
Jens Verwiebe
45f75df1ce OSX/cmake: py 3.3 migration 2012-11-19 11:45:25 +00:00
Bastien Montagne
67031c1712 Fix when statically linking with distro's boost: in this case, we most likely also need to statically link against icu, as most boost packages are built with it. Without that, you get a bunch of errors at link time (when using boost_locale, or, in freestyle branch, boost_regex).
So when you enable Boost_USE_STATIC_LIBS, you should also set Boost_USE_ICU to True. Will add a note about that in build doc too.
2012-11-19 08:51:35 +00:00
Bastien Montagne
a996a42526 CMakeList: Better handling of llvm under linux (now you can try to force usage of a specific version of llvm before using default one).
Also cleared LIBDIR var from linux code, as we have no more those svn folders!
2012-11-18 17:26:23 +00:00
Thomas Dinges
4cb3aba762 Windows / Cmake:
* Another place where "psapi" was missing, caused OIIO errors.
2012-11-17 14:35:35 +00:00
Thomas Dinges
dc4ffd8a86 * Fix typo in cmake, own fault. 2012-11-15 20:21:33 +00:00
Thomas Dinges
c408d41fc8 Windows / CMake:
* Disable Debug Boost detection in cmake. Debug libs for boost will be removed, they are quite huge in svn. 
Keeping the lines here though, so devs with own debug libs can compile with it.
2012-11-15 19:45:37 +00:00
Bastien Montagne
7d6417bbb3 Another nuch of fixes/improvements to install_deps script, among which:
*New $INST variable to easily change the installation root dir of compiled libs.
*Better handling of versions for debian (DEB) too (and fix a bug for fedora (RPM) ones).
*Enhancements/fixes to compile_FOO funcs:
**Most notable, we now can force a recompile when we change something into these funcs, so user will always have latest-instructions compiled libs (else, he would have have to manually remove lib dirs under $INST...)
*General naming cleanup inside script (still wip).

Also adding boost date_time lib to linux in cmake file (why wasn't it there???).
2012-11-15 17:31:18 +00:00
Brecht Van Lommel
2324c80f50 Cycles OSL: windows build system changes to support static OSL/OIIO. 2012-11-15 17:16:27 +00:00
Brecht Van Lommel
71389d4d74 Cycles OSL: windows build fixes. 2012-11-14 17:18:47 +00:00
Jens Verwiebe
5993a10f94 OSX/cmake: revert a testchange back for kaito 2012-11-12 10:51:29 +00:00
Campbell Barton
97b7154142 replace BM_edge_face_count with BM_edge_is_manifold/BM_edge_is_wire/BM_edge_is_boundary 2012-11-12 04:50:45 +00:00
Antony Riakiotakis
929e88fd95 Fix CMake boost locale lib names for MinGW64. 2012-11-11 22:50:28 +00:00
Jens Verwiebe
fbc1cc712f OSX: fix linking with new boost_locale 2012-11-11 20:41:28 +00:00