Sergey Sharybin
fd352cf8f6
Buildbot: Tweak configuration to actually ve successful in chroot
2018-08-29 18:32:27 +02:00
Sergey Sharybin
7a6911a10c
Buildbot: Make configuration to pass config state
...
- Foe some reason CMake's platform and processor are not intialized there.
- Need to set variables in cache, otherwise they are not visible in the
actual CMake files.
2018-08-29 17:57:30 +02:00
Campbell Barton
76a9752be2
Cleanup: trailing space
2018-08-30 01:05:13 +10:00
Brecht Van Lommel
8864dde5bb
Cleanup: remove unused build environment patches.
2018-08-29 16:32:07 +02:00
Sergey Sharybin
c3a6b18537
Buildbot: Some inital work to support newer chroot environment
2018-08-29 16:29:25 +02:00
Sergey Sharybin
2385fda448
CMake: Allow specifying custom LIBDIR on Unix
...
Works similar to how maxOS deals with this.
2018-08-29 16:15:54 +02:00
Sergey Sharybin
b2c707747d
CMake: Comply with include path reported by FindOpenGL.cmake
...
The script clearly states:
This makes the presumption that you are include al.h like
#include "al.h"
and not
#include <AL/al.h>
The reason for this is that the latter is not entirely portable.
Windows/Creative Labs does not by default put their headers in AL/ and
OS X uses the convention <OpenAL/al.h>.
This commit makes default precompiled OpenAL to be properly detected
and also removes hack on MacOS which was finding the OpenAL package but
then was overwriting include directory.
Note, that new audaspace in 2.8 is using expected #include <al.h>.
2018-08-29 15:08:28 +02:00
Sergey Sharybin
987b3abeb4
CMake: Make sure zlib folder comes first for precompiled Linux libraries
...
Without this find_package(ZLIB) will find ZLib from OpenCollada folder,
which has older ABI and is not what was used to link PNG against.
2018-08-29 15:05:03 +02:00
Sergey Sharybin
66f8a4c07e
Build environment: Fix compilation of boost on Linux 32bit
2018-08-29 14:11:32 +02:00
Sergey Sharybin
9fd0060c0f
Build environment: Ensure Python is using static ffi
...
Surely, need to compile ffi first :)
Good news are: Python seems static enough now!
2018-08-28 18:55:00 +02:00
Sergey Sharybin
c70eb30240
Build environment: Make sure Python is linkign against static Zlib
...
There is system-wide libz development package installed by default,
needed for some other dependencies. This patch ensures Python will
use our own self-compiled Zlib.
2018-08-28 18:29:13 +02:00
Sergey Sharybin
19c65cd6e2
Build environment: Enable bzip2, lzma and sqlite for Python on Linux
2018-08-28 12:17:52 +02:00
Ray Molenkamp
5e8a030a08
cmake: adjustments required for lib-upgrade on windows.
2018-08-27 19:38:31 -06:00
Ray Molenkamp
6dd394bf02
build_environment: llvm only copy lib files for the debug build.
2018-08-27 19:38:31 -06:00
Brecht Van Lommel
5e5f2ead43
Fix T56557: wrong hash in Windows buildbot builds.
2018-08-27 19:58:10 +02:00
Brecht Van Lommel
53457351b5
Build Environment: fix Windows Alembic build.
...
Ideally we should remove this difference between platforms, but for now
just do the simple fix.
2018-08-27 19:07:14 +02:00
Sergey Sharybin
072540688a
Build environment: Enable SSL for Python on Linux
...
This involved getting SSL compiled from sources first, ensuring
it is a static library placement independent code. Configuration
is based on what Debian is using. CFlags required to have own
configuration file, which i didn't find a better place that next
to the corresponding CMake file.
It is OpenSSL btw.
It is set to Python via --with-openssl= configuration argument.
This works fine in a clean chroot, but having libssl-dev installed
might make Python to prefer system wide library, This was worked
around by using libssl_pic.a name for the library and modifying
setup.py. Would be cool to ensure system wide libraries are not
a problem, but official release builder is safe against this,
since it will catch possible non-static dependencies.
There is also a new map file which shadows bunch of Python
symbols. Without this Python's shared libraries might bring
conflicting symbols to Blender namespace at runtime.
Hopefully this doesn't break other platforms.
2018-08-27 18:14:42 +02:00
Sergey Sharybin
f693e2c644
Build environment: Fix for C placement independent code
...
Need to pass -fPIC to C code as well.
Without this blosc is not being properly placement independent.
2018-08-27 15:48:39 +02:00
Brecht Van Lommel
04075ed744
Build Environment: fix alembic, openvdb, ffmpeg, osl build on Linux.
2018-08-27 14:15:03 +02:00
Campbell Barton
03fd1da3ee
Cleanup: trailing space
2018-08-26 20:20:35 +10:00
Ray Molenkamp
920dff35dc
build_environment: fix building openvdb on win32
2018-08-25 19:40:44 -06:00
Ray Molenkamp
182da56cd9
build_environment: fix build-flags on windows.
...
build all object files with /bigobj since multiple of the dependencies go over the limit on x86
2018-08-25 19:40:07 -06:00
Ray Molenkamp
0339964ea8
build_environment: cleanup harvest on windows
2018-08-25 19:38:47 -06:00
Ray Molenkamp
3311e29b72
build_environment: ffmpeg support x86 builds on windows.
2018-08-25 19:37:30 -06:00
Ray Molenkamp
b6edf860fe
build_environment: mingw32 fix repeated unpack of gcc tarball
2018-08-25 19:37:11 -06:00
Ray Molenkamp
3f1606cb7c
build_environment: osl work around shutdown issues.
...
there is an issue with objects destructing in a non deterministic way during process shutdown, temporary work around this until osl has a fix in place.
2018-08-25 19:35:45 -06:00
Ray Molenkamp
abc4beb245
build_environment: cleanup for osl harvesting on windows.
2018-08-21 10:49:41 -06:00
Campbell Barton
0734541bc4
Cleanup: trailing space
2018-08-21 17:01:56 +10:00
Campbell Barton
98efcdb1a0
Cleanup: trailing space
2018-08-20 11:24:14 +10:00
Ray Molenkamp
2349273ade
build_environment: fix build issues with alembic
...
-read all headers from openexr not ilmbase
-add missing iexmath lib
-turn binaries back on, the blender unit tests require them.
2018-08-19 17:47:16 -06:00
Ray Molenkamp
b6b6eab6ae
build_environment: windows harvest cleanup.
...
remove the commands that have already moved to the individual cmake files.
2018-08-19 11:44:46 -06:00
Ray Molenkamp
31b1d2ce73
build_environment: opencolorio buildfixes for windows.
...
copy the debug libs to the right place.
2018-08-19 11:44:46 -06:00
Ray Molenkamp
66dd954cab
build_environment: openexr windows buildfix.
...
with the namespaces disabled the postfix also changed.
2018-08-19 11:44:46 -06:00
Ray Molenkamp
ae84db1d5d
build_environment: buildfixes for boost
...
Disable hardcoded 64 bit build.
2018-08-19 11:44:46 -06:00
Ray Molenkamp
3c3e6d756c
build_environment: build fixes for openimageio.
...
disable testtex due to parameter alignment issues
2018-08-19 11:44:46 -06:00
Ray Molenkamp
78f526087b
build_environment: windows environment
...
get 32 bit and 64 bit compilers on the same gcc version.
2018-08-19 11:44:46 -06:00
Ray Molenkamp
897351fa52
build_environment: python windows build fixes
...
fix hardcoded ssl dll names.
2018-08-19 11:44:46 -06:00
Ray Molenkamp
0a08ad8636
build_environment: opensubdiv windows build fixes.
...
only build cuda on 64 bit, since 32 bit is no longer supported by nvcc
2018-08-19 11:44:46 -06:00
Ray Molenkamp
f4c9bdb022
build_environment: opennvdb windows build fixes.
...
disable openexr namespaces on windows due to linker errors with it.
link pthreads due to dependency though blosc
2018-08-19 11:44:46 -06:00
Ray Molenkamp
8309f8ee34
build_environment: openexr disable namespaces on windows.
...
Things do not end up in the right namespaces quite yet, and cause linker errors with other projects using the library.
2018-08-19 11:44:46 -06:00
Ray Molenkamp
8f4d772bf9
build_environment: blosc build fixes.
...
blosc embedded a copy of zlib/pthreads causing duplicate symbol linker errors. pthreads was windows specific, but zlib may apply to other platforms as well.
2018-08-19 11:44:46 -06:00
Ray Molenkamp
2a00bea7b4
build_environment: Various tweaks needed for windows debug libs.
2018-08-17 09:20:40 -06:00
Ray Molenkamp
aff7609aa5
build_environment: fix mistaken commit in openexr.
2018-08-17 06:30:27 -06:00
Brecht Van Lommel
d33456e5ec
Build Environment: fixes for Linux after recent updates.
2018-08-17 12:42:13 +02:00
Ray Molenkamp
4b0b91aee0
build_environment: small fix for building ocio on windows.
2018-08-16 17:42:37 -06:00
Ray Molenkamp
1aed77caca
build_environment: osl 1.9.9
...
does no longer seem to bundle pugixml, so that's a new dependency.
2018-08-16 17:42:37 -06:00
Arto Kitula
7fed3f1b19
build environment: fix opencollada build on macOS
2018-08-17 01:24:05 +03:00
Ray Molenkamp
11c845e334
build_environment: openimageio 1.8.13
2018-08-16 13:43:46 -06:00
Ray Molenkamp
7772ba766d
build_environment_windows: fix missing x64 ssl libs and debug build.
2018-08-16 09:07:32 -06:00
Ray Molenkamp
88011ddba9
build_environment: python packages update.
...
idna 2.7
chardet 3.0.4
urllib3 1.23
certifi 2018.8.13
requests 2.19.1
2018-08-16 09:07:32 -06:00