Commit Graph

439 Commits

Author SHA1 Message Date
Campbell Barton 743739f9dc Cleanup: style/spelling 2016-04-01 10:02:59 +11:00
Sergey Sharybin 3a24e6320f Buildbot: Attempt to work-around unsupported clang on OSX machine
Ideally this would need to be fixed by nvcc itself. but they didn't
do that for a long time.
2016-03-29 19:46:10 +02:00
Sergey Sharybin 94349ab308 Buildbot: Store latest master config from buildbot 2016-02-29 11:33:06 +01:00
Sergey Sharybin 562b568abe Buildbot: Rename i386 to i686, we don't support pre-i686 CPUs anyway 2016-02-27 14:06:37 +01:00
Sergey Sharybin 3fcd638beb Buildbot: Support build in a newer chroot 2016-02-27 13:09:36 +01:00
Sergey Sharybin 90e9da423b CMake: Enable BLOSC for OpenVDB for the full config
This will respect the official build configuration where we should
have BLOSC enabled.

We can't really detect if OpenVDB was compiled with BLOSC or not,
so seems we can't really avoid this extra flag.
2016-02-23 09:48:47 +01:00
Sergey Sharybin 8512a8b956 Buildbot: Remove CMake cache on all platforms
This way we are always sure that we are using latest ever configuration
without need to manually poke buildbot after doing changes in the building
environment.

Also uncomment code back, was a left-over from some debug.
2016-02-17 15:29:13 +01:00
Sergey Sharybin 6c298a16e4 Buildbot: Support CUDA kernels cross-compile and enable it for 32bit platforms 2016-02-15 19:13:52 +01:00
Campbell Barton d924998d3e Cleanup: pep8 2016-02-01 00:47:10 +11:00
Sergey Sharybin d3989a3140 Buildbot: Update master configuration 2016-01-29 17:47:47 +05:00
Sergey Sharybin 938e528bee Buildbot: Enable OpenVDB BLOSC for the Linux builders 2016-01-27 12:49:42 +01:00
Sergey Sharybin 1f954649c4 OpenVDB: Get rid of hardcoded TBB variables and enabled for Linux buildbot 2016-01-27 12:27:35 +01:00
Sergey Sharybin 1bc6ae8529 Buildbot: Fix for missing spnav for Linux builds 2016-01-27 10:22:30 +01:00
Sergey Sharybin 0b78b8f167 Buildbot: Link libstdc++ statically 2016-01-05 19:59:38 +05:00
Sergey Sharybin 5d99cde822 Remove SCons building system
While SCons building system was serving us really good for ages it's no longer
having much attention by the developers and started to become quite a difficult
task to maintain.

What's even worse -- there started to be quite serious divergence between SCons
and CMake which was only accumulating over the releases now. The fact that none
of the active developers are really using SCons and that our main studio is also
using CMake spotting bugs in the SCons builds became quite a difficult task and
we aren't always spotting them in time.

Meanwhile CMake became really mature building system which is available on every
platform we support and arguably it's also easier and more robust to use.

This commit includes:

- Removal of actual SCons building system
- Removal of SCons git submodule
- Removal of documentation which is stored in the sources and covers SCons
- Tweaks to the buildbot master to stop using SCons submodule
  (this change requires deploying to the server)
- Tweaks to the install dependencies script to skip installing or mentioning
  SCons building system
- Tweaks to various helper scripts to avoid mention of SCons folders/files
  as well

Reviewers: mont29, dingto, dfelinto, lukastoenne, lukasstockner97, brecht, Severin, merwin, aligorith, psy-fi, campbellbarton, juicyfruit

Reviewed By: campbellbarton, juicyfruit

Differential Revision: https://developer.blender.org/D1680
2016-01-04 14:20:48 +05:00
Sergey Sharybin 008e7701c5 Buildbot: Cleanup unused code
- Remove deprecated/unused builders
- Remove unused SCons OSX slave configuration
- Remove SCons slave logic, it is not giving error about unknown building
  system used for the slave.
2015-12-20 15:44:53 +05:00
Sergey Sharybin db6da8af85 Buildbot: Make sure optiosn override are passed after the config file 2015-12-20 15:32:59 +05:00
Sergey Sharybin f01714506a Buildbot: Disable CUDA binaries for 32bit OSX slave
Funny thing, 32bit OSX slave was always building 64bit CUDA kernels
and nobody never noticed this..
2015-12-20 15:19:02 +05:00
Sergey Sharybin 3566d0d3a6 Buildbot: Update master config file 2015-12-20 14:49:54 +05:00
Sergey Sharybin 2fff2f651e Buildbot: Disable some unsupported features for 32bit OSX CMake slave 2015-12-20 14:22:34 +05:00
Sergey Sharybin 5a5b540356 Buildbot: Fix wrong architecture passed to CMake 2015-12-20 14:12:43 +05:00
Sergey Sharybin 101341845c Buildbot: Use proper archive name for CMake OSX slave 2015-12-20 14:12:04 +05:00
Sergey Sharybin 03d9f9a619 Buildbot: initial work to enable CMake OSX slave 2015-12-20 13:59:04 +05:00
Sergey Sharybin 3c3d38dd02 Fix T46949: Latest blender builds are using shared pcre and xml2 libraries 2015-12-11 17:18:37 +05:00
Campbell Barton a9a02490ce Use int division for version string 2015-12-04 08:49:59 +11:00
Sergey Sharybin c8fc55d594 Buildbot: Remove windows + scons related code
This is also has been moved to the CMake, no need to keep old dying code around.
2015-12-03 22:47:40 +05:00
Sergey Sharybin d1c597e0e1 Buildbot: Remove linux scons buildbot related things
It is now totally covered by cmake slave.
2015-12-03 22:35:50 +05:00
Sergey Sharybin 9d0d2fb209 Buildbot: Re-enable CUDA binaries for 64 bit linux slave
Also make it a bit more reasonable name for config files.
2015-12-03 22:24:27 +05:00
Sergey Sharybin dc0c648914 Buildbot: User proper folder name inside of the archive
This is totally matching the way how buildbot was naming the directory.

Currently there's a bit of code duplication, but it'll be eliminated once
we'll get rid of SCons ;)
2015-12-03 22:10:59 +05:00
Sergey Sharybin 23c670ea0d Buildbot: Remove debug-only early exit 2015-12-03 21:59:42 +05:00
Sergey Sharybin 334955c3e6 Buildbot: Strip all .so files from python install 2015-12-03 18:04:13 +05:00
Sergey Sharybin 51e59fa90f Buildbot: No need to build player with blender config 2015-12-03 17:40:12 +05:00
Sergey Sharybin 9019523161 Buildbot: Followup to previous commit
Path is to be fully specified, so it's independent form the working directory.
2015-12-03 17:00:09 +05:00
Sergey Sharybin c825c81c38 Buildbot: Another attmept to solve windows
Also de-duplicate bit of code.
2015-12-03 16:55:46 +05:00
Sergey Sharybin 56fcb18a22 Buildbot: attempt to solve packing on windows 2015-12-03 16:48:14 +05:00
Sergey Sharybin 66067f3a97 Buildbot: Disable tests on Linux builders
No idea why they works on windows, but points are:

- libs/tests folder is NOT checked out on any platforms
- render_povray addon does mkdir on a path which might not have parents

There might be some other issues, but those are kinda stoppers for us.
2015-12-03 16:46:15 +05:00
Sergey Sharybin 2c7a70395c Buildbot: Fix typo
What a shame..
2015-12-03 16:37:17 +05:00
Sergey Sharybin 27c0997417 Buildbot: Make sure install directory always exists 2015-12-03 16:35:04 +05:00
Sergey Sharybin 91d8a9d035 Buildbot: Make sure buildbot_upload.zip is created in the right place 2015-12-03 16:30:52 +05:00
Sergey Sharybin f0d405ec67 Buildbot: Fix wrong builder name check 2015-12-03 16:15:37 +05:00
Sergey Sharybin 2880480693 Buildbot: Switch Linux builders to the cmake ones
There'll still need to be some tweaks to be done, but it's required first step.
2015-12-03 15:19:02 +05:00
Sergey Sharybin 95e2ee6f50 Buildbot: Always expect buildbot_upload.zip to be in install/ folder
This we we don't have difference between builders on different platforms.
2015-12-03 15:16:48 +05:00
Sergey Sharybin 7cb9b49f73 Buildbot: De-duplicate some path definitions in pack target
Should be no functional changes.
2015-12-03 15:08:36 +05:00
Sergey Sharybin 736ce9c8fd Buildbot: Attempt to resolve wrong path to the buildbot_upload.zip
It is expected to be in the build folder for the cmake.

Ideally it should be build/<builder> or install/<builder> but that's a bit more
involved change. Will look into it later.
2015-12-02 23:39:08 +05:00
Sergey Sharybin 6af1cde239 Buildbot: Attempt to fix cpack target on windows
Was using wrong working directory.
2015-12-02 23:30:33 +05:00
Sergey Sharybin 62521fce48 Buildbot: Don't specify install directory for Windows builds
Installation is to happen within the build folder, no special folder for
this is required.
2015-12-02 22:56:24 +05:00
Sergey Sharybin bfd7b45887 Buildbot: Fix typo 2015-12-02 18:18:58 +05:00
Sergey Sharybin 956bd92a60 Buildbot: Initial work to move linux build environment to CMake
This is so called "seems to work in dry tests" commit which is aimed to switch
linux release environment to CMake.

Some notes:

- There's no special handle of libstdc++, but it wasn't really static for quite
  some time in SCons configuration and nobody really complained.

- It was quite tricky to get OpenMP linked statically with just using some
  configuration so we went ahead and added a special option to CMake now which is
  only exist on Linux and advertised as shouldn't be used.

- Packing is happening manually in slave_pack.py. This is because we have to add
  some really special files to the archive (mesa libraries for example) which we
  can't really handle from CMake/CPack in a nice generic way.

  Don't think it's bad approach, at least crappynness is localized and it's not
  _that_ crappy anyway.

- Windows buildbot should keep working, but needs doublechecing. It's just a
  build folder changed, but you never know what it might imply.

- Some further tweaks are likely needed to ensure all builders are working.

Thanks Campbell for assistance in this patch!
2015-12-02 18:11:58 +05:00
Sergey Sharybin faa0fdb13e Buildbot: Enable sndfile library
It was enabled for other platforms already and this could fix some of the
reported bugs.
2015-11-30 15:15:12 +05:00
Sergey Sharybin 678fe87c85 Buildbot: Switch Linux builds to Python 3.5 2015-11-24 14:45:55 +05:00
Sergey Sharybin 16796c2813 Buldbot: Disable 32bit kernels
Currently disable all of them, in practice i think way to go should be:

- Disable Experimental kernels on 32 bit, build up to sm_35
- Later we can drop all 32bit kernels, but try to keep at least one release
  with some of the kernels (they'll cover 99% of users anyway)

Before doing any changes we should surely communicate such a changes before
we apply them.
2015-10-28 02:43:06 +05:00
Bastien Montagne 5295202c2c Revert "Buildbot: Test enable CUDA binaries for Win32"
This reverts commit 4f29613894, since Cuda fails again on win32 buildbot...
2015-10-11 15:35:48 +02:00
Sergey Sharybin 3ba6cea84d Buildbot: Disable use of own Clang for OSX builds
Our version of clang fails with latest SDK. It's not really clear if such
change will disable openmp or not (-fopenmp doesn't throw an error, but
it might be a silent fail).

In any case, builds without OpenMP is better than no builds at all.\
2015-10-05 16:00:02 +05:00
Sergey Sharybin 4f29613894 Buildbot: Test enable CUDA binaries for Win32
Linux 32bit seems to work fine now, let's see if Win32 also works.
2015-09-09 16:38:44 +05:00
Sergey Sharybin 1b98ece49d Buildbot: Enable 32bit kernels for linux builders
This is more an experiment, not guaranteed to work but at the same time
building of kernels seems to work manually in the same chroot. Perhaps
latest changes helped compiler to optimize registers usage.
2015-09-09 11:05:17 +05:00
Sergey Sharybin 90f667576f Buildbot: Correction to previous commit
Previous commit didn't really disable cuda binaries for some reason.
2015-08-27 12:22:44 +02:00
Sergey Sharybin 8cd4966722 Buildbot: Disable CUDA binaries on win32
They started to give issues as well, need some dedicated time to look
into the issues.
2015-08-27 11:43:29 +02:00
Sergey Sharybin a474409f0b OpenSubdiv: Enable by default on the supported platforms
This commit makes sure Linux and Windows buildbots are using OpenSubdiv
and also enables OpenSubdiv by default on Windows.

OSX is kept disabled still, this is due to OpenGL restrictions which are
not solved in any way yet.

Linux is defaults to OpenSubdiv disabled because it needs precompiled
library.

The documentation could be found there:

  http://wiki.blender.org/index.php/User:Nazg-gul/OpenSubdiv
2015-08-05 13:29:39 +02:00
Sergey Sharybin b5c602c9c2 Buildbot config: disable gooseberry branch from nightly builds
There's no updates happening in the gooseberry branch, so no really reason
to waste time on rebuilding the branch overnight.
2015-08-05 11:45:52 +02:00
Sergey Sharybin 864c154a41 Buildbot config: remove windows scons and mingw builders
They are defunct at this moment, no reason to try scheduling builds on them.
2015-08-05 11:44:36 +02:00
Sergey Sharybin c18e6fd87c Cycles: Remove 32bit cuda workaroudn and disable cubins for buildbot
Recent changes to kernel broke compilation of the kernels again, need some
other kind of solution for this issue.

Don't have much time for this currently, but will be addressed before the
release.

Meanwhile it's better to have some buildbot builds instead of totally failing
one.
2015-08-04 18:50:37 +02:00
Sergey Sharybin 8bd425188c OpenSubdiv: Preparation for enabling it for linux buildbot 2015-08-04 18:33:55 +02:00
Sergey Sharybin 168bb36bc9 Buildbot: Include branch name to the cmake builds 2015-07-27 14:21:20 +02:00
Sergey Sharybin ce092a58a2 Buildbot: Missed this in the previous commit 2015-07-27 11:49:05 +02:00
Sergey Sharybin e5d7cbd191 Buildbot: Attempt to make windows cmake builds names matching buldbot's names
Did this in packaging buildbot rule because of several reasons:

- CMake doesn't deliver name of package which we expect it to be for buildbot
- CMake doesn't really know that building happens for buildbot
- Making default CPAck name matching buildbot's naming is kinda stupid

Probably we can pass CPack name via command line arguments, but i'm happy with
the current state and one might change things in the future.
2015-07-27 11:17:57 +02:00
Martijn Berger 27a20c2c60 Make cmake windows 32 bit buildbot use the 120xp toolkit, restoring
windows XP compatibility

Fixes T45559
2015-07-26 21:14:24 +02:00
Sergey Sharybin a622cdaad8 Buildbot: Make sure files are readable by www group 2015-05-17 19:28:12 +05:00
Jens Verwiebe 23abcc0636 OSX: remove collada from fading out 32bit buildbot 2015-05-01 21:09:21 +02:00
Sergey Sharybin 620cc762db Buildbot: Attempt to fix cudakernels target screwing up autotest cache 2015-04-29 14:51:50 +05:00
Sergey Sharybin f4d7f5216f Buildbot: Fix typo in error message 2015-04-29 13:47:47 +05:00
Sergey Sharybin 23c0e46a00 Buildbot: Use Clang with OpenMP support for 64bit OSX builds
This should make such areas as simulations and sculpting nicely threaded.

32bit will be tried to be supported later.
2015-03-30 13:05:14 +05:00
Sergey Sharybin d21668de5c Synchronize changes from buildbot server 2015-02-10 13:47:28 +05:00
Sergey Sharybin 40f237675f Some tweaks to support upcoming OSL-1.6
Doesn't mean we're 100% ready for the transition, but need to start somewhere
anyway. Changes:

- OSL is no longer supporting cpp and requires usage of Boost Wave.
  So now Wave component of Boost is optionally demanded when looking for the
  Boost libraries if OSL is enabled.

  Only did this for Linux, MSVC seems already using Wave. Not sure about OSX.

- Because of the same reason OSL should be moved prior Boost for linker.

- Whole archive trick makes it so linking fails with duplicated symbols, so
  removed it for the new OSL. Didn't see issues with this so far.

- Added some code to check OSL version on Linux. Would need to move all that
  to FindOpenShadingLanguage.cmake which we can get from Cycles standalone
  repository.

  So in theory no affect on current stup would be made at all.

- Added some tweaks to buildbot files. It now seems to be happy with the new
  OSL libraries, but again, those tweaks are not in action yet.

All this was tested on Linux only. Win/OSX might still need some tweaks to
support new OSL.

P.S. This doesn't mean we're pushing OSL update yet, just making some
preliminary tweaks to avoid entropy of PITA when we'll actually want to
switch.
2015-02-06 14:57:32 +05:00
Campbell Barton 7095f47665 cleanup: pep8
also remove empty class parenthesis
2015-01-29 15:35:06 +11:00
Martijn Berger 9415976d17 Change exception syntax to be more modern and hopefully fix buildbot issue in the process 2015-01-26 08:48:55 +01:00
Sergey Sharybin b5399deac3 Enable sm52 for linux buildbot
Status of other builders:
- Windows are not known for me, would ask Martijn to look into
- OSX buildbot still needs a CUDA toolkit update
2014-12-02 17:30:59 +05:00
Sergey Sharybin 70a4bcd7f5 Buildbot: Switch to dynamic loaded SDL-2.0 2014-11-18 15:54:11 +05:00
Martijn Berger 90bf426554 cmake/buildbot: make sure we build the full blender and cycles cuda binaries 2014-11-17 13:37:34 +01:00
Martijn Berger 15a7a5a08c CMake buildbot change upload should work now
CPack generating NSIS and WiX installers should also work
2014-11-13 17:09:47 +01:00
Martijn Berger f46e77fd56 cmake buildbot. Create the zip archive with the name as expected 2014-11-12 15:23:24 +01:00
Martijn Berger e43c5fa005 cmake. refactor installing python things to not have absolute path's
buildbot. add rudementatry cpack based packing for cmake path
2014-11-11 15:48:22 +01:00
Martijn Berger f25f1a6688 buildbot: fix: cmake generator is kind of sensitive 2014-11-11 15:48:21 +01:00
Martijn Berger 32a4403617 Add msbuild for windows cmake buildbots 2014-11-11 11:22:49 +01:00
Sergey Sharybin 67766f7715 Put latest buildbot config files to git 2014-11-09 00:11:50 +05:00
Sergey Sharybin 2db117aa6c Buildbot: Correct folder for experimetnal builds 2014-10-15 16:16:56 +06:00
Sergey Sharybin 84eeff0348 Buildbot: Fix for branch detection from the file name 2014-10-15 16:07:19 +06:00
Bastien Montagne de54b031c6 Buildbot: Rename testbuild branch to experimental-build and put the builds to dedicated folder 2014-10-15 15:41:23 +06:00
Sergey Sharybin de6a69fc79 Fix T41936: lender 2.72 Crashes on play on *Ubuntu 14.04
This commit is necessary to update to openal-soft 1.60.0 which
solves weird bug happening on ubuntu.

This is to be landed to the release branch.
2014-09-24 16:34:12 +06:00
Sergey Sharybin 17ab65d1bb Fix windows buildbot rebuilding cubins on both compile and pack 2014-08-27 20:08:50 +06:00
Jens Verwiebe da60d0889d OSX/SCONS/buildbot: last commit made BF_COLLADA_LIB tweak obsolete 2014-08-14 12:19:15 +02:00
Sergey Sharybin 9bbd355813 Attempt to fix 32bit OSX buildbot, need to link against UTF Collada lib 2014-08-14 15:38:45 +06:00
Thomas Dinges 2b1bacddec Scons / Buildbot: Remove code for Visual Studio 2008.
Probably the vc2013 builder can become a more generic name now, but I will double check this with Martijn.
2014-08-12 12:32:39 +02:00
Thomas Dinges e048a3c28f Cleanup: Remove Visual Studio 2012 code from builder. 2014-08-12 12:16:22 +02:00
Sergey Sharybin 31d2ac14ae Switch linux buildbot to custom built python2.7
New scons discontinued support of python2.6, so we needed
to build just another python in the release and buildbot
environment.

Hope latest scons upgrade a least bring new msvs support
and not only lead to just-another-frustration.

There might be some more upcoming commits, because you
never can be sure there's no typos in the buidbot script
for until you actually fire the builder up.
2014-08-08 13:41:28 +06:00
Jens Verwiebe c4dd294f40 OSX/buildbot: after recent scons fix, UTF lib linkage is handled dependent on config, so remove now obsolete lines 2014-07-29 20:08:41 +02:00
Jens Verwiebe e3e9cab149 OSX/buildbot: Fix 32bit compile by removing OSL/LLVM and add back UTF to Collada
- due OSL i386 never worked on OSX, the new libs do not even contain this arch !
- As we had to fix duplicated symbols from generic UTF finctions same in LLVM and COLLADA,
LLVM-less build must have UTF lib reenabled
2014-07-28 21:03:42 +02:00
Sergey Sharybin 2c51978d2b Switch buildbot to new llvm/oiio/osl 2014-07-28 23:00:21 +06:00
Bastien Montagne 35f07cfc1b Buildbot: Never write 'master' branch in packed file names. 2014-07-24 19:34:32 +02:00
Bastien Montagne 23660438ad Buildbot: proper fix for 'testbuild overriding master builds' issue. 2014-07-23 22:33:37 +02:00
Bastien Montagne b2170b9194 Revert "Buildbot: more fixes, this time to upload logic."
This reverts commit b1e1646d94.

Sorry, was a bit too quick on this one... :/
2014-07-23 22:28:02 +02:00
Bastien Montagne b1e1646d94 Buildbot: more fixes, this time to upload logic.
We do not want testbuild to override 'official' (master) builds!
2014-07-23 22:21:04 +02:00
Bastien Montagne 15b5f84a1e Buildbot: fix to previous commit, to handle svn libs... 2014-07-23 20:59:40 +02:00
Bastien Montagne 554829dc9e Buildbot: rework to support branch selection.
Issue with previous code was that branch selected was applied to all repositories.
To be able to control branch on a per-repo basis, we need to use codebases instead.

This commit only enables branch (master/testbuild) and revision selection for master,
we probably do not need this for submodules currently (easy to enable anyway).

Note: tested on local buildbot setup, for linux only (up to build step, have no build env).
2014-07-23 18:10:18 +02:00
Bastien Montagne 8a52e7eeba Buildbot: fix submodule branch issue (we have to fix it on 'master', since default
one can be overriden by custom setting for force scheduler).
2014-07-22 20:24:56 +02:00
Bastien Montagne 63fcaa8002 Update buildbot conf, to enable a 'testbuild' branch in 'force' scheduler. 2014-07-22 19:46:36 +02:00
Campbell Barton 200dd87de1 Cleanup: pep8 & redundant vars 2014-07-22 12:03:15 +10:00
Sergey Sharybin cf9d03494b Update buildbot config to latest actual version 2014-07-20 18:00:39 +06:00
Sergey Sharybin 6b5384f637 Buildbot: enable cubins fox OSX
With new buildbot env they should be all fine.
2014-07-10 01:43:30 +06:00
Sergey Sharybin 528673436b Disable cubins for OSX buildbot
This is a temporary solution in order to get at least
rest of the blender begin up-to-date on the buildbot.

To be able to compile cubins again we need to switch
OSX builder machine to OSX 10.8 and CUDA toolkit 6,
which might take some time, unfortunately.
2014-06-18 02:31:36 +06:00
Sergey Sharybin 682b949d0f Sync changes with buildbot server 2014-06-01 18:31:48 +06:00
Thomas Dinges 2eeab8f191 Windows: Remove support for MSVC 2012 (VC11).
The officially supported compiled is now MSVC 2013, and MSVC 2008 will be faded out slowly over the coming weeks.
2014-05-15 07:50:02 +02:00
Brecht Van Lommel 741f17f05b Cycles CUDA: make CUDA toolkit 6.0 the official supported version.
This also updates the configurations to build kernels for compute capability
5.0 cards, when using and older CUDA toolkit version this will be skipped.

Also includes tweaks to improve performance with this version:
* Increase max registers on sm_30, sm_35 and sm_50
* No longer use texture storage on sm_30
2014-04-30 16:07:27 +02:00
Sergey Sharybin 41b37c007c Corrected the comment 2014-04-22 13:02:39 +06:00
Sergey Sharybin 830a8847bd Switch buildbot to Python-3.4.0 2014-04-22 13:00:35 +06:00
Sergey Sharybin 905dda8527 Enable requests for buildbot and release builder 2014-03-05 14:00:58 +06:00
Brecht Van Lommel f70d966047 Scons: refactor cycles kernel code to avoid building the AVX kernel with
compilers that don't support it.

CMake still needs to updated to work the same for consistency, but this should
fix the OS X buildbot at least.
2014-01-28 23:02:06 +01:00
Brecht Van Lommel 60287e23b5 Buildbot OS X: compile with clang instead of GCC.
This should solve the missing -mavx option for Cycles, and also give better
performance since GCC 4.2 is now 5 years old already.
2014-01-27 17:16:10 +01:00
Martijn Berger 5d3adafcbb Buildbot SCons MSVC 2013 packing also requires something extra 2013-12-29 19:56:03 +01:00
Martijn Berger 8c4d40d0e5 MSVC 2013 buildbot changes 2013-12-29 17:43:31 +01:00
Sergey Sharybin fb2bc547fe Buildbot: move lib step before blender.git step
This is an attempt to make it so revision from git
SHA is being displayed, not from libs svn revision.
2013-11-25 15:25:10 +06:00
Sergey Sharybin 2d8d3f364e Buildbot: update configuration file
Consider this configuration final-1 for the migration,
Linux and OSX slaves seems to be fine, Windows slave
would need some changes from the slave side.
2013-11-19 18:52:18 +06:00
Sergey Sharybin 3c662efee3 Buildbot: fix path got pack step 2013-11-19 16:02:13 +06:00
Sergey Sharybin 998fe53076 Buildbot: tweaks for source directory
Need this so checkout of existing svn does not
interferes with new git checkout which would
need to be done.
2013-11-19 15:28:03 +06:00
Jens Verwiebe 106cff1b93 OSX/buildbot: after scons refactor we only need the vars to change 2013-11-07 15:25:11 +00:00
Jens Verwiebe 5f084aced0 OSX/scons: simplification for getting the system version ( major, minor ), use sw_vers -productVersion instead of uname -r, we must not redine it then from darwin version -> osx version 2013-11-06 12:52:09 +00:00
Brecht Van Lommel 99c5e71397 Quicktime: remove backend with the old quicktime API, and keep the QTKit backend.
This means that if you have WITH_BF_QUICKTIME or WITH_CODEC_QUICKTIME enabled,
it will always use QTKit.

The old backend was only used on 32 bit OS X builds, now 32 and 64 bit builds will
give consistent input/output. On Windows or Linux quicktime isn't being used.
2013-11-06 01:45:15 +00:00
Jens Verwiebe 6477062b6b OSX/scons: buildbot cleanup following darwin-config 2013-11-05 18:25:43 +00:00
Jens Verwiebe 6c4b06a46d OSX: also remove USE_QTKIT option from configs, leave env var for later use ( always True ) 2013-11-05 16:04:32 +00:00
Jens Verwiebe 25b1280c50 OSX: buildbot cleanups after carbon removal 2013-11-05 16:00:23 +00:00
Brecht Van Lommel f634509dc2 CMake and scons update to detect OS X 10.9, cmake patch by Jake Kauth. 2013-09-06 12:43:27 +00:00
Campbell Barton a5b78bb6bd replace use of 'a.find(b) != -1' --> 'b in a' 2013-06-24 05:55:05 +00:00
Sergey Sharybin 4acd963860 Switch buildbot to use OpenEXR-2.0 2013-06-23 11:31:54 +00:00
Nathan Letwory 2749875945 Move DLL copying to before actual build process. 2013-06-20 14:19:46 +00:00
Brecht Van Lommel 8d6e5e2fee Cycles: update build configurations to include CUDA sm_35 architecture. When using
a compiler older than CUDA 5.0 it will give a warning and skip this architecture.
2013-06-20 13:10:47 +00:00
Jürgen Herrmann 836b91c9c7 Scons and BuildBot changes for MSVC 2012 support.
Thanks Brecht and Thomas for reviewing ;)
2013-06-18 11:55:32 +00:00
Brecht Van Lommel 344ffb99ae Buildbot: use relative path for redistributable dlls on windows. 2013-06-15 14:01:12 +00:00
Brecht Van Lommel 790e8b6eda Buildbot: use 1 thread for windows builds. 2013-06-15 10:16:01 +00:00
Sergey Sharybin b453516cf2 Updtae buildbot's master.vfg 2013-06-01 10:18:47 +00:00
Brecht Van Lommel 13c0ef139f Fix OS X 32 bit build error, and bring buildbot config in sync with default. 2013-05-07 18:32:37 +00:00
Sergey Sharybin ddf01af533 Buildbot tweaks
Add numpy installation to blender player configuration,
this is so because player is building first and it installs
python, which prevented numpy installation from blender
configuration.
2013-04-23 15:29:39 +00:00
Sergey Sharybin 85363c79bf Enable numpy install for buildbot
Numpy is compiled at build environment, but
importing it from blender somehow fails.

Will need help of Campbell for this.
2013-04-18 12:25:13 +00:00
Campbell Barton 8e3d590b76 code cleanup: python/pep8 and double-promotion warnings. 2013-03-28 19:33:14 +00:00
Sergey Sharybin 31eee77a45 Fix #33518: Jack sync doesn't work in 2.64, 2.64 or 2.65 stable versions
Added new build option WITH_JACK_DYNLOAD for CMake and
WITH_BF_JACK_DYNLOAD for SCons, which means there'll be
no build-time linking against libjack and getting symbols
from libjack will happen runtime using dlopen and dlsym
tricks.

Alternative would be to use weak linking, but it'll require
having wrapper for preloading libjack.

This new options are disabled by default and they only
intended to be used on linux. Other platforms shall not
be using this and there shall be no functional changes
on non-linux platforms at all.
2013-03-27 07:19:54 +00:00
Sergey Sharybin 36887c0ed0 Woops, installing dlls shall happen after all the folders are created. 2013-03-12 09:24:52 +00:00
Sergey Sharybin ff65a6d457 Made a mistake in recent windows buildbot tweaks.
Didn't count indentation correct..
2013-03-12 09:19:38 +00:00
Sergey Sharybin b93c44b8cc Mixed paths to redist libraries in recent commit 2013-03-11 14:16:41 +00:00
Sergey Sharybin 1a0789dc72 Windows buildbot tweaks
Make it so install directory is being nicely
cleaned before next build, which makes it
automatically removing all old files from
previous installations.
2013-03-11 10:49:51 +00:00
Sergey Sharybin ed1c22db00 Fix first regression introduced with r55173: need to import shutil before using methods from it
Otherwise linux buildbot fails dramatically.

That revision also leads to msvc runtime libs being removed, will fix this
in separate commit.

Take more respect for such creepy as linux and windows platforms, they're not so bad!
2013-03-11 09:11:46 +00:00
Brecht Van Lommel c142698fb7 Buildbot: mac configuration files for i386 and x86_64. 2013-03-10 17:45:31 +00:00
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
Sergey Sharybin a85a0f57bc Buildbot: revert r54465 and r54466 -- issue was not caused by
crosscompilation, but was caused by some bugs in toolkit itself.

Shall be all fine now (at least it is on my laptop now).

Let give it another try!
2013-02-12 08:30:12 +00:00
Sergey Sharybin eb723ad555 Buildbot: -WITHOUT_BF_OVERWRITE_INSTALL should not be needed now 2013-02-11 13:44:18 +00:00
Sergey Sharybin 6888d6eac8 Buildbot: switch to using native toolkit again
Crosscompiling of cubins doesn't work on linux with toolkit 4.2,
so use native toolkit for now. Disabled sm_13 for 32bit platform
for now.

Would keep cudakernels build target for a while. It doesn't hurt
being in the code and it could be helpful again once we'll switch
to toolkit 5.x where crosscompilation works fine.

Some further tweaks could probably be needed still, let's see how
building goes on buildbot now :)
2013-02-11 13:39:22 +00:00
Campbell Barton 769ab3eed8 code cleanup:
- cycles ui used 'cscene' for scene.cycles and scene.cycles_curves
- style cleanup
2013-01-15 23:17:45 +00:00
Sergey Sharybin f687ad1c4f Cuda binaries workaround for buildbot shall no longer be needed. 2013-01-14 17:30:41 +00:00
Sergey Sharybin dc4636827b Buildbot: fix for missing CUDA compute after recent changes
Issue was caused by how CUDA devices availability done in Cycles.
Basically, if there's no WITH_CUDA_BINARIES buildtime, nvcc becomes
mandatory dependency.

Since kernels are building in separate target now, this logic broke
a bit.

Perhaps condition in util_cuda shall be changed to be a bit smarter,
but for now just work-around by enabling CUDA binaries when building
Cycles. Made it empty arch list to be sure no kernels will try to
re-compile after cudakernels target is done.
2013-01-12 19:17:50 +00:00
Sergey Sharybin 53ad8274b0 Stripping and packaging shall happen inside of chroot as well 2013-01-10 09:21:12 +00:00
Sergey Sharybin 93c82483c7 Further tweaks to buildbot
- BF_BITNESS should be passed as a command line argument
- Made it so CUDA binaries and OSL compiled scripts would
  be installed regardless WITH_BF_PYTHON (which seems to
  be quite obvious)
- Disable overwrite install, so CUDA kernels installed by
  it's build target will be preserved when building blender
  itself.
2013-01-10 08:55:44 +00:00
Sergey Sharybin 2a43380ded Switch linux buildbot to compile all cuda kernels in 64bit environment
Solves memory limit issues when building sm_13 for 32bit platform.

Some further refinement of patch could be needed.
2013-01-10 08:01:19 +00:00
Sergey Sharybin a4ba448529 Remove glibc27 from buildbot scripts 2013-01-09 13:46:59 +00:00
Sergey Sharybin ba868f1c50 Buildbot: disable Jack for now, it doesn't work when linked statically
No easy build configuration fix for this, need to be switched to more
like a plugin system to support jack.
2012-12-21 09:37:43 +00:00
Brecht Van Lommel ceedd5bd35 Fix cycles CUDA sm 1.3 build with 32 bit compiler, tweaked voronoi
and brick code so that it can be uninlined.
2012-11-30 07:27:17 +00:00
Sergey Sharybin 33f451838a For sure buildbot's release buildflags should include -DNDEBUG,
otherwise asserts will abort execution for release builds.
2012-11-28 16:19:45 +00:00
Sergey Sharybin fa9c12bbd1 Reverting previous buildbot commit - sm_13 still fails actually 2012-11-22 17:22:08 +00:00
Sergey Sharybin 9c24ae52ee Buildbot: enable sm_13 for 32bit linux 2012-11-22 16:16:33 +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
Brecht Van Lommel fd7a3db8eb Buildbot:
* Use rsync upload for Mac slave, rather than uploading entire file. This could
  be enabled for more slaves, should make more frequent builds possible.
* Split Mac into 10.6 and 10.5 builds.
2012-11-18 00:20:23 +00:00
Sergey Sharybin 2007ba687f Enable OSL for linux 32 bit builders, it should work now 2012-11-15 19:26:11 +00:00
Sergey Sharybin b89026a302 Correction to 32bit buildslaves 2012-11-15 13:26:32 +00:00
Sergey Sharybin 9eccf40daa OSL Scons rules
Initial support of OSL builds using SCons build system. Only tested on Linux now.
No changes to configuration files themselves -- for now check how it's configured
for linux buildbot (it was already horror to make all this changes and verify them,
changes to linux-config.py could easily be done later).

Currently WITH_BF_STATICOSL and WITH_BF_STATICLLVM are more like rudiments because
linking against oslexec requires special trick with --whole-archive. We woul either
need to find a way dealing with this oslexec less hackish or drop STATICOSL and 
STATICLLVM flags. Will keep dropping this flags for until we have "final" build
rules for OSL.

Still can not make 32bit linux rendering with OSL -- blender simply crashes when
starting rendering. So for time being this issues are solving disabled OSL for
32bit build slaves.
2012-11-15 13:11:12 +00:00
Sergey Sharybin 3e910de184 Enable libboost_locale for buildbot rules 2012-11-12 12:10:46 +00:00
Sergey Sharybin 2f9e846e7d Buildbot: blenderplayer configuration needs to define path to boost now 2012-11-05 15:55:59 +00:00
Sergey Sharybin 1eb1e1e09a Switch glibc-2.7 buildbots to py3.3 2012-11-05 15:28:48 +00:00
Sergey Sharybin 7f125bbc20 Buildbot: hopefully fix for missed sound on glibc2.11 slaves 2012-10-29 18:03:32 +00:00
Sergey Sharybin 37801c86f2 Buildbot: tweaks for glibc2.11 build environment 2012-10-29 15:31:48 +00:00
Sergey Sharybin 07d9cb739a Buildbot: keem sm_13 disabled for new buildbot too 2012-10-28 17:04:32 +00:00
Sergey Sharybin 4f8c55c67c Buildbot: add glibc2.11 configuration files and build rules
Builder will go online as soon as new environment is copied to buildslave machine over the internet
2012-10-28 17:03:36 +00:00
Sergey Sharybin 445bd0eb6e Buildbot: add glibc2.11 slaves, not online yet 2012-10-28 16:58:44 +00:00
Sergey Sharybin b980b43e66 Buildbot: copy master.cfg from builder.blender.org
Seems this file went out of sync with actual file on the server
2012-10-28 16:40:31 +00:00
Sergey Sharybin 5b0759fc00 Temporary disable sm_13 for 32bit buildbot -- it requires more than 4GB of memory
to compile, which for sure can not be allocated on 32bit platform
2012-10-22 18:10:15 +00:00
Campbell Barton 7614428c09 style cleanup: pep8 2012-10-08 10:03:01 +00:00
Sergey Sharybin 3e48bef023 Buildbot: OpenColorIO should be enabled for buildbot now 2012-09-15 10:29:59 +00:00
Sergey Sharybin 0a782a4550 Buildbot: package softwaregl scripts for buildbot builds
Uses the same libs as release environment does
2012-08-02 08:57:18 +00:00
Sergey Sharybin 491babf2a7 Enable cuda sm_30 kernels for buildbot 2012-06-05 19:23:52 +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
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
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 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
Sergey Sharybin 5e586fa0ca Buildbot tweaks:
- Enable SSE/SSe2 for 64bit builds
- Build CUDA binaries
2011-12-13 09:54:48 +00:00
Sergey Sharybin 020bafb0af Buildbot configuration tweaks
- Force libsamplerate linking statically
- Remove global compiler flags for sse2 and sse.
  Tests of release builds didn't show big difference in time of
  tracking using SAD algorithm or time of solving,
  so this shouldn't introduce big slowdown.
2011-11-27 19:21:49 +00:00
Campbell Barton 6e28ac2d7b pep8 edits and avoid naming conflicts with python builtins 2011-11-24 19:36:12 +00:00
Sergey Sharybin 6c3e4b77bf Fix #29245: BuilderBot can't build anymore
Buildbot is using different settings for blender and player,
enable fftw library in rules for player now.
2011-11-14 05:52:06 +00:00
Sergey Sharybin ce15c0c943 One library from OpenEXR is needed for oiio. Hope buildbot is working fine now. 2011-11-09 19:25:16 +00:00
Sergey Sharybin 473ebc8827 Disable libmv for blenderplayer rules used by buildbot 2011-11-09 19:04:17 +00:00
Sergey Sharybin f09f5eec57 - Added options to link staticly against oiio/boost
- Also changed buildbot settings so now linking should happe staticly
2011-11-09 19:02:42 +00:00
Sergey Sharybin 1ff2018842 Enable Cycles for buildbot 2011-11-09 17:18:37 +00:00
Campbell Barton d37760bc34 cleanup scons build flags, many duplicates because because of confusion between CFLAGS/CPPFLAGS/CCFLAGS/CXXFLAGS, devs would set multiple to be on the safe side.
- defines go in CPPFLAGS
- C & C++ flags go in CCFLAGS
- CFLAGS / CXXFLAGS are C OR C++ only.

also commented intended ghost unicode/ascii usage.
2011-10-21 04:23:26 +00:00
Sergey Sharybin fdd0d7f950 Enabling JACK for linux buildbot. 2011-10-04 17:04:35 +00:00
Joerg Mueller 07ad83a439 * Removing libsamplerate from build systems
* Enabling OpenAL for scons win64-vc in default config; Nathan or Sergey: please update the build bot to build with OpenAL!
2011-10-02 17:09:39 +00:00
Sergey Sharybin 922dadf6ea buildbot: point python to a symbolic link. Helps when updating libs is happening. 2011-09-21 19:10:06 +00:00
Campbell Barton 4b449aefea remove support for irix 2011-09-21 08:40:30 +00:00
Campbell Barton 8f5112f191 pep8 update & some minor cmake edits. 2011-09-20 18:29:19 +00:00
Sergey Sharybin a47144a8d2 Enable FFTW3 library for buildslaves 2011-09-13 16:52:42 +00:00
Sergey Sharybin e39cb8a040 Forgot this in previous commit 2011-08-22 19:00:32 +00:00
Sergey Sharybin a33a26ca07 FFmpeg library update:
- Update scons/cmake rules to use new versions of libs/dlls.
- Update rules for buildbot.
2011-08-22 18:49:42 +00:00
Nathan Letwory 3359b7d7b7 use correct libdir for buildbot win64. 2011-08-11 16:43:36 +00:00
Campbell Barton 349c838996 add missing header to cmake files (else some IDE's wont index it) 2011-08-08 05:43:04 +00:00
Nathan Letwory 289ef16fcf Add win64_scons builder 2011-08-03 13:00:11 +00:00
Nathan Letwory 36887bbc82 Add BF_BITNESS for win32/win64 2011-08-03 12:57:38 +00:00
Sergey Sharybin aac8bab172 Fixing terrible typo. 2011-08-03 12:20:07 +00:00
Sergey Sharybin f1fb54e126 Switch slave_pack to use new FFmpeg for windows. 2011-08-03 11:47:03 +00:00
Sergey Sharybin df6dfb93b2 Switch windows buildbot to new FFmpeg 0.8.1.
Hope it'll work because i haven't got buildbot slave by hand.
2011-08-03 11:10:19 +00:00
Sergey Sharybin fd35ee8422 - Switch linux buildbot to FFmpeg-0.8.1
- Enable FFmpeg for blenderplayer for linux buildbot.
2011-08-03 09:07:30 +00:00
Sergey Sharybin a9b093d9eb Changes for buildbot rules to use propper spnav library path. 2011-08-02 18:16:48 +00:00
Campbell Barton eaae38551f pep8 compliance 2011-06-21 17:17:51 +00:00
Sergey Sharybin d84c6a3cdb Fix for linux buildslaves. Now they should be able to compile branches. 2011-06-03 21:36:39 +00:00
Brecht Van Lommel 06ca703737 BuildBot: various changes to support building branches. 2011-06-03 20:44:23 +00:00
Sergey Sharybin a8ef6ffd17 typo in previous commit 2011-05-20 13:10:40 +00:00
Sergey Sharybin e721d31b5d buildbot:
ffmpeg was compuled with faad now (aac support which keeps
libs gpl2 compatibile).
Updating library dependencies for buildbot rules.
2011-05-20 13:06:19 +00:00
Sergey Sharybin 6786f92fe5 Use jemalloc in buildbot for linux targets 2011-05-13 12:57:54 +00:00
Sergey Sharybin 16bd053555 buildbot: switch to ffmpeg 0.6.3 2011-04-27 12:50:47 +00:00
Sergey Sharybin 05c7db95b6 buildbot:
Fixed typo for 64bit blenderplayer which caused undefined symbol gzopen64
2011-04-21 19:01:31 +00:00
Sergey Sharybin 11caf24c55 buildbot:
Use BF_NUMJOBS from user cinfigs rather than passing it as
command line argument.
2011-04-17 06:17:37 +00:00
Sergey Sharybin bf591017b3 buildbot:
- use cores+1 threads
- do not clean build directories
- separate build directories for blender and blenderplayer

This should make compilation much faster and buildbot rebuild tag could
happen more often
2011-04-16 21:23:05 +00:00
Sergey Sharybin 6f20760818 buildbot: static zlib linking
Force link to zlib for all platforms/tragets to be sure there'll
be no gzopen64 symbol undefined (it was in some dependend library, so
blenderplayer wasn't working in fedora 13 32bit)
2011-04-04 19:39:47 +00:00
Sergey Sharybin 90326c4c6e buildbot:
- Remove packed to buildbot_archive.zip archive file to keep scons install
  directory as clean as possible (if i understood correct, this file isn't
  actually needed in the future, so we could remove it just after packing rather
  than cleaning install directory before packing as it's done for cmake)
- No need in scripts installation for linux slaves when preparing archive
2011-04-02 21:11:22 +00:00
Sergey Sharybin 7690086d20 pep8 fixes for buildbot 2011-04-02 05:53:42 +00:00
Sergey Sharybin 6d4f57bc3a Oops, i've forgot that archive is preparing by scons, so stripping should
happpen before calling scons (hope, binaries wouldn't be overwritten by it)
2011-04-01 21:38:04 +00:00
Sergey Sharybin 485229b7db Initial support of linux 32/64 bit for buildbot:
- Use the same config as we're using for release builds
- Added stipping (maybe it should be generalized)
- Not software gl packing, bot would be easy to add

Note, that you should have special environment to create
proper linux builts (which would work for everybody)
2011-04-01 21:22:19 +00:00
Campbell Barton c8652b301f pep8 checker, mostly pedantic style changes but also found an error in mesh_utils.mesh_linked_faces() 2011-04-01 02:41:15 +00:00
Campbell Barton 50a06eccff pep8 cleanup 2011-03-27 05:23:14 +00:00
Campbell Barton 95173a4ae8 minor changes to master unpack script. 2011-03-23 01:08:10 +00:00
Brecht Van Lommel e5eed21a6b Buildbot master tweaks: use generic builder for scons win32, unpack fixes. 2011-03-22 15:25:18 +00:00
Brecht Van Lommel 04a63cb393 Buildbot updates: working windows scons build, and run slave_*.py scripts
to compile/test/package directly from svn, easier to make changes this way.
2011-03-22 13:05:05 +00:00
Campbell Barton 4bca2e455d use spaces rather then tabs + minor pep8 edits. 2011-03-21 22:37:08 +00:00
Brecht Van Lommel 9a75ba4463 Buildbot initial configuration files, for http://builder.blender.org
Maintained in svn to make it easier for others to contribute changes,
actually updating builder.blender.org requires manual update on the
server.
2011-03-21 16:46:26 +00:00