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
2014-02-18OSX: more futurework for clang-openmp:Jens Verwiebe
- moved assumed location of omp lib to blender libs - prepared libiomp5 to link out of the box with cmake - changed according in scons - introduced a local var C_VENDOR, cause Apple clang 3.4 may not include omp support yet - added a linklibs for msgfmt ( may not be needed for other than OSX )
2014-02-09OSX/scons: allow for compiling with clang-openmp-3.4Jens Verwiebe
See: http://clang-omp.github.io + fix a longstanding bad include in darwin-config
2014-02-04SCons: cleaner determination of 32-bit/64-bit buildsLawrence D'Oliveiro
Try not to be x86-centric, remove unneeded blenderdeps variable. Reviewed By: brecht Differential Revision: https://developer.blender.org/D240
2014-01-17Scons: Fix cycles OpenCL kernelcompile by distributing util_half.hJens Verwiebe
2013-12-08Scons: as requested by Ideasman, make MACOSX_COMPILER -> C_COMPILER_ID,Jens Verwiebe
leave env set for OSX exclusive for now”
2013-12-06OSX/scons: Introduce a new env var 'MACOSX_COMPILER'Jens Verwiebe
This is needed to resolve the real used compiler from the compatibility shim’S or symlinks. Also set the real CCVERSION as scons CCVERSION would only read the default one, which is not useful for OSX
2013-12-05OSX/scons: fix misdesigned version detection of compiler ( todo: do with ↵Jens Verwiebe
submodule ), fix a compiler warning with clang < 5”
2013-11-29Correction to previous commitSergey Sharybin
Better just use "strip", to be sure \r\n is also stripped. This also corresponds to what happens with popen() results.
2013-11-29Better removal of \n in hash with rstripJens Verwiebe
2013-11-29Fix scons compile after last commit ( unwanted new line )Jens Verwiebe
2013-11-29Buildinfo: suppress error prints when building local branchesSergey Sharybin
Before this console output contained messages about branch is not configured to use any upstream branch which is not useful information at all.
2013-11-28Fix buildinfo hash for cases there's no upstream set for the branchSergey Sharybin
2013-11-25Show hash from latest pushed commit in buildinfoSergey Sharybin
Before this hash of latest local commit was used, which is not so much useful since nobody can access that commit hash.
2013-11-19Buildinfo fixesSergey Sharybin
- Use -M suffix if working tree does have uncommitted modifications. - Local commits are considered local changes as well
2013-11-17OSX/scons: using ditto autocreates dirs, spares 2 steps of mkdir iterating ↵Jens Verwiebe
over .mo files, faster bundling
2013-11-17OSX/scons: small reorder and spellingJens Verwiebe
2013-11-17OSX/scons: fix msgfmt binary linking and locale files distributionJens Verwiebe
2013-11-16Fix compilation error with SCons when using BUILDINFO and git is not foundSergey Sharybin
Fallback to "no buildinfo" mode in this case.
2013-11-16Fixes for buildinfo of exported source treeSergey Sharybin
- Better to set branch/hash to "unknown" so it's clear build is done from exported tree. - SCons used to reference undefined variable.
2013-11-15Further tweaks to buildinfoSergey Sharybin
Summary: Old idea with changes since previous release tag didn't work good enough. In most of the cases tag was done in a branch hence not actually reachable from the master branch. Now change since release is gone, and date of the latest commit is used instead. The date is displayed in format YYYY-MM-DD HH:mm in the splash. New bpy.app fields: - build_commit_timestamp is an unix timestamp of the commit blender was build from. - build_commit_date is a date of that commit. - build_commit_time is a time of that commit. Reviewers: campbellbarton Differential Revision: http://developer.blender.org/D5
2013-11-07OSX/scons: make gcc version detection more futureproofJens Verwiebe
2013-11-04Made buildinfo aware of builds from GITSergey Sharybin
- Use commit number since last annotated tag as a revision number replacement. It'll eb followed by 'M' symbol if there're local modification in the source tree. - Commit short SHA1 is included. Helps getting information about commit used to build blender with much faster. - If build is not done from master branch, this also will be noticed in the splash screen. This commit also replaces revision stored in the files with git-specific fields (change and hash). This is kind of breaks compatibility, meaning files which were saved before this change wouldn't display any information about which revision they were saved with. When we'll finally switch to git, we'll see proper hash and change number since previous release in the files, for until then svn version will be used as a change number and hash will be empty. Not a huge deal, since this field was only used by developers to help torubleshooting things and isn't needed for blender itself. Some additional tweaks are probably needed :)
2013-10-28OSX/codesigning: add the signing rules used for releasesJens Verwiebe
2013-10-27fix [#37195] particles crash with viewport renderCampbell Barton
2013-09-28OSX/Scons/OMP: 1. Allow for compile with gnu gcc 4.8.1, 2. fix compiling ↵Jens Verwiebe
with sdk > 10.7 by using libgomp dynamic, which includes proper errorhandling vs. static. Before xtra linking to system libstdc++.6.dylib was needed, which then caused incompatibilities
2013-08-15Compilation error fix when using sconsSergey Sharybin
OpenEXR libraries shall go after OpenImageIO, otherwise it'll fail to find symbols needed for OIIO.
2013-06-24replace use of 'a.find(b) != -1' --> 'b in a'Campbell Barton
2013-06-02Fix #35587: Cycles: image movie to single image crashingSergey Sharybin
Crash was happening on windows platforms only and was caused by some specifics about how CRT works. Basically, blender and all of the .dll are compiled with /MT flag, which means blender.exe and all .dll are using separate environments. This makes it impossible to pass file descriptors from blender to other dll, because it becomes invalid in the dll. And this is exactly what was happening: OIIO was trying to open movie file with all known plugins and one of them was zlib. And the way OIIO was using zlib API is opening the file using Boost and passing a file descriptor to zlib. And since zlib was a dynamic library this lead to general issues using this descriptor in zlib code. Solved by linking to zlib statically. This allows to safely pass file descriptor to zlib API. Alternative would be to compile all the stuff with /MD flag, but that's much bigger and less robust way to fix the issue. Tested on windows using msvc2008, scons plus cmake both 32 and 64 bit versions. Seems to be working fine. Further tweaks for mingw and msvc2012 could be needed tho.
2013-05-21OSX/scons: use ditto --arch <arch> instead of cp, to thin out unused ↵Jens Verwiebe
architecture on the fly
2013-04-23Strip unneeded folders and files from numpySergey Sharybin
2013-04-10OSX: remove the applescript and env var for omp_set_treads from plistJens Verwiebe
2013-04-07Missing build_files updates in the merger in revision 55847.Tamito Kajiyama
2013-04-07Freestyle / Scons:Thomas Dinges
* Changes in tools\Blender.py were not merged, causing compile failure.
2013-03-27Fix #33518: Jack sync doesn't work in 2.64, 2.64 or 2.65 stable versionsSergey Sharybin
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-04patch [#34525] Scons ' colorCampbell Barton
by Andrey Izrantsev (bdancer)
2013-01-31Fix scons building under unix. Now we should really have only *one* ↵Bastien Montagne
'/usr/lib' lib search path, in last position! Previously we could have a bunch of those, even in first position, which would e.g. prevent linking against a custom boost in /opt/lib/boost if you had a system boost installed...
2012-12-03Fix scons not installing closure/ directory for runtime compiles of CUDA kernel.Brecht Van Lommel
2012-11-27remove unmaintained eltopo, keeping scons/cmake entries, but commenting out ↵Campbell Barton
user visible config to make branch merging less of a hassle.
2012-11-18move source/darwin into release/darwin since these files are for osx packaging.Campbell Barton
2012-11-16OSX/scons/osl: ready for compile now, little hack to be resolved, todo:fix a ↵Jens Verwiebe
crash with shadercompile
2012-11-15OSL Scons rulesSergey Sharybin
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-14buildsystem cleanup: remove duplicate source & includes for scons,Campbell Barton
add a check for duplicates in BlenderLib()m, if 0'd now.
2012-11-12Scons compiling fixJoshua Leung
Proper implementation for only including the boost locale libs when WITH_BF_INTERNATIONAL is enabled, so that those of us who do not need/want to bother with translated ui's can compile. The way it was done before was wrong as 1) the value was always set to true earlier in the config scripts, 2) the base config scripts run before user config overrides are set
2012-11-11Clen up of gettext stuff from scons scripts... Did not touch to buildbots ↵Bastien Montagne
ones, nor to iconv, as it’s still uncleare whether we can get rid of it :/
2012-10-27SCons: more libraries could be specified to be static nowSergey Sharybin
Jack, jpeg, png, openmp, opencollada libraris now could be forced to be static
2012-09-15Color Management, Stage 1: Initial OpenColorIO library integrationSergey Sharybin
This commit integrates support of OpenColorIO library into build systems. It also contains C-API for OpenColorIO library which could be used by Blender. CMake has got find rules familiar to OpenImageIO's one which makes it easier for build system to find needed libraries and includes. Scons only could use explicitly defined paths to libraries and includes. C-API would be compiled and Blender would be linked against C-API and OpenColorIO but it wouldn't affect on Blender behavior at all. OpenColorIO could be disabled by setting up WITH_OCIO to Off in CMake and setting WITH_BF_OCIO in Scons.
2012-08-22For gcc based systems use g++ for linking. This is necessary so that ↵Antony Riakiotakis
exceptions are propagated between shared libraries. We already use g++ when linking with cmake. This solves crash when trying to render with missing files on MinGW-w64 cycles. The cause was an OpenEXR exception that went uncaught when trying to check the file's extension through OpenImageIO while building the shader tree. Thus my bug-hunting frustration can end with a happy chord.
2012-08-12Fix El Topo compile with scons (only win64 so far)Daniel Genrich
2012-07-27Initial support for numpy in sconsSergey Sharybin
Assumes numpy is installed to the BF_PYTHON/site-packages/numpy directory, could be tweaked further, but this should be enough to setup release building environment. Seems blender can't import numpy, but that doesn't seem to be scons issue, the same happens here with cmake too. Would ask Campbell to help looking into this.
2012-05-23scons - Added option to not remove and unpack python modules bundle everyJoshua Leung
compile