Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-05-22CMake: Solve compilation error with pre-compiled libraries and new GCC-6Sergey Sharybin
Since version 6 G++ switched to C++11 by default, which breaks some logic around WITH_CXX11 checks in out CMake files, leading to compilation errors. This is easy to solve by explicitly enabling older C++ standard when C++11 was not explicitly enabled by CMake options. However, G++-6 will also use new ABI by default even if older standard was specified in the compiler options. This is being addressed by a special define flag. This tricks made it possible to use new G++-6 without need to recompile any of pre-compiled libraries. However, this might break compilation with existing system libraries, which might already be using new ABI. We can't address this automatically, so now we simply default WITH_C11 and WITH_CXX11 options to whatever defaults of the current compiler are. This means, for G++-6 we'll set WITH_CXX11 to truth. This should make linking with system libraries working just fine, but to make pre-compiled libraries we still might need to disable CXX11. This should work fine work for a new environments with G++-6 and install_deps script run from scratch there, because C++ standard will be the same for both Blender dependencies and Blender itself.
2016-05-19CMake: use signed char for recastnavigationCampbell Barton
External libraries may need char to be signed.
2016-05-13install_deps: Avoid conflicts on Arch-based systems when gcc-multilib is ↵Mai Lavelle
installed install_deps can fail due to conflict between gcc (referenced by base-devel) and gcc-multilib if the latter is installed. This avoids the conflict by filtering the contents of base-devel when needed. Reviewers: mont29 Differential Revision: https://developer.blender.org/D1944
2016-05-10CMake: optional date/time overrides for reproducible buildsCampbell Barton
2016-05-09Buildbot: Attempt to make sure install folder is always clean for Win and OSXSergey Sharybin
2016-04-29Cleanup: warnings. spellingCampbell Barton
2016-04-29install_deps: add support for OpenVDB.Ejner Fergo
Note that recent DEB-based distro have packages for this, even simpler! Differential Revision: https://developer.blender.org/D1933
2016-04-29install_deps: add check for glew version, too old ones are not compatible ↵Ejner Fergo
with OSD. In case too old system glew is detected, use the one shipped with blender. Part of D1933.
2016-04-29install_deps: bunch of cleanups, tweaks and micro-fixes.Ejner Fergo
This commit mostly: * removes some (very) old messages or hacks (like those for ubuntu 10.4...). * Moves lib-specific dependencies installations to upper level (simpler to manage, and those are small enough packages). * Uses new dnf package manager for fedora (sigh, we now have tree different commands for fed/suse/rehl). * fixes or enhances some options for commandline tools. * Force anew building of oiio package, due to insane dependencies of this one in recent distro. Part of D1933.
2016-04-25Refactor BKE_blender into separate headersCampbell Barton
- BKE_blender_version.h (only version defines & versionstr). - BKE_blender_copybuffer.h (currently only used for view3d copy/paste). - BKE_blender_undo.h (global undo functions). - BKE_blendfile.h (high level blend file read/write API).
2016-04-23Cleanup: cmakeCampbell Barton
2016-04-22Silence some annoying warnings when doing full build with strict flagsSergey Sharybin
This mainly touches extern libraries and few debug-only places in intern. Some summary: - External libraries are not strict at all about missing declarations, so we can rather safely remove such warning together with other strict flags. - Bullet has some static functions which are not used. Those were commented out. - Carve now has some unused debug-only functions commented out as well. While we're on the way of getting rid of Carve, it makes sense to make things a bit cleaner for the time being. - In LZMA we have some parts disabled which gives some set but unused variables which is rather correct. - Elbeem had quite some variables set and never used because their usage is inside of debug-only code which is commented out. Note about patching upstream libraries: surely one might say that we have to make local patchset against this, but own experience says it only gives extra work trying to merge such tweaks to a new upstream version and usually it's just faster to re-apply such fixes again after bundling new upstream library.
2016-04-21Update install_deps.sh for ArchLinux.Ejner Fergo
The script is updated for ArchLinux, since all dependencies are included in Arch's official repositories. I've made a few changes, such as enabling OCIO and OSD without requiring locally installed lib-path, and a fix to ''get_package_version_ARCH()' so it ignores package epoch (as in the case of ffmpeg). I intend to look at OpenVDB next. Reviewers: mont29 Differential Revision: https://developer.blender.org/D1901
2016-04-15Add lib for n-dimensional cubic curve fittingCampbell Barton
This will be used for calculating bezier curves from freehand drawing, may be used for other areas too. Original code from GraphicsGems, 1990 (FitCurve.c), with updates from OpenToonz, under 3 clause BSD license. with own minor modifications for integration with Blender: - support adding extra custom-data. - improved handle clamping.
2016-04-12CMake: consistency check now reports stale ignoresCampbell Barton
Also update ignore list.
2016-04-12Remove exception for file which no longer existsSergey Sharybin
2016-04-12CMake: ignore headerCampbell Barton
2016-04-01Buildbot: Explicitly disable tests on all platformsSergey Sharybin
They were never running anyway since there's no checkout of tests folder. We should either make tweaks to buildbot master to make it to send cloning commands for tests folder and keep tests working (currently some of them are broken).
2016-04-01Cleanup: style/spellingCampbell Barton
2016-03-30CMake cleanup target_link_libraries_decoupledMartijn Berger
2016-03-29Buildbot: Attempt to work-around unsupported clang on OSX machineSergey Sharybin
Ideally this would need to be fixed by nvcc itself. but they didn't do that for a long time.
2016-03-26Fix T47939, take II: Check clang package version, not llvm-devel one.Bastien Montagne
Looks like some distro still provide llvm-3.4-devel, while no more clang-3.4. Since clang depends on llvm of same version, check clang only should ensure us we also have matvhing llvm... *sigh*
2016-03-26Fix T47939: Install Deps OSL 1.7.1 and clang-3.5Bastien Montagne
Until we officially support llvm3.5 or more, only allow for 3.4 llvm packages, and build own stuff otherwise...
2016-03-25CMake: Disable Cycles OSL for the light configurationSergey Sharybin
While it was indirectly disabled already, it's handy to use the config as template and enable certain features. In case of Cycles enabling it would also enable OSL which is not very expected.
2016-03-15CMake: remove unused libpath'sCampbell Barton
Also add note that these should be deprecated in favor of absolute libs.
2016-03-11CMake: Avoid call of find_package(Git) for every compile with buildinfo enabledSergey Sharybin
This is a bit tricky, find_package(Git) was only used to check if git is installed and actual git command was assumed to be in the PATH (while ideally it should have been GIT_COMMAND variable). This commit makes re-compile output cleaner, especially when using Ninja. Adding proper GIT_COMMAND to buildinfo.cmake is also possible via argument. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1847
2016-03-10Install-Deps: Build Boost with iostreams.Jeffrey Hoover
This patch enables libboost_iostreams and bumps the magic number to match. Reviewers: dingto Reviewed By: dingto Subscribers: dingto Projects: #bf_blender, #platform:_linux Differential Revision: https://developer.blender.org/D1840
2016-03-03CMake: Remove redundant print of Git Found messageSergey Sharybin
find_package(Git) will already print this.
2016-02-29Buildbot: Store latest master config from buildbotSergey Sharybin
2016-02-27Buildbot: Rename i386 to i686, we don't support pre-i686 CPUs anywaySergey Sharybin
2016-02-27Buildbot: Support build in a newer chrootSergey Sharybin
2016-02-23CMake: Enable BLOSC for OpenVDB for the full configSergey Sharybin
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-17Buildbot: Remove CMake cache on all platformsSergey Sharybin
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-17install_deps: final CMake instructions: always update all libs controlled by ↵Bastien Montagne
this script. Otherwise, switch from local built to system installed libs (once a valid package becomes available) would be missed...
2016-02-17install_deps: OSD building: disable CUDA/OpenCL backends.Bastien Montagne
Those are can of worms to support properly (versions mismatch, etc.), and not used in Blender currently anyway.
2016-02-15Buildbot: Support CUDA kernels cross-compile and enable it for 32bit platformsSergey Sharybin
2016-02-11install_deps: fix boost installation on Fedora/Suze & co.Bastien Montagne
Was only trying to install $BOOST_VERSION or higher boost - being fairly recent this always failed. We can live with older versions too, so now using *BOOST_VERSION_MIN as with other distros.
2016-02-10add openvdb to blender config (and buildbot)Martijn Berger
2016-02-07move windows out of source dirCampbell Barton
2016-02-06Fix GTests compilations on WindowsSergey Sharybin
Unfortunately this doesn't make all tests compilable due to all sort of weird and wonderful bad levels includes on Windows (G referenced from bf_blenlib) but at least allows to selectively build tests for now.
2016-02-06CMake: Remove mention of extern_redcode, it was removedSergey Sharybin
2016-02-05Install_deps: update magic build numbers of OIIO and OSL.Bastien Montagne
Please remember to change those each time you update building code and there is no version change. Otherwise poeple re-running the script won't get the updated builds.
2016-02-05Install Deps: Use SSE2 optimizations for OIIO and OSL.Thomas Dinges
2016-02-04Install_deps: Disable building tests for OSLThomas Beck
Since we're now on 1.7 we can skip building the OSL testsuite. It was giving various compilation errors on different machines and we don't need them anyway...so just disabling them in the script.
2016-02-04Install_deps: tweak OSL build options.Bastien Montagne
2016-02-04Install_deps: updated OSL to 1.7.1.Bastien Montagne
2016-02-03Imbuf: remove libredcodeCampbell Barton
D1751, remove this library since its quite a specific - only supports an older version of this codec. Also ffmpeg has added support for recent versions of the codec.
2016-01-31Cleanup: pep8Campbell Barton
2016-01-29install_deps: disable ffmpeg in oiio, we do not need it and this lib varies ↵Bastien Montagne
too much accross distros...
2016-01-29Buildbot: Update master configurationSergey Sharybin