Skip to content

Commit

Permalink
Merge pull request #7127 from smoors/20181106103929_new_pr_Blender279b
Browse files Browse the repository at this point in the history
{vis}[intel/2018b] Blender v2.79b, OpenImageIO v1.8.16, OpenEXR v2.3.0, ...
  • Loading branch information
boegel committed Nov 8, 2018
2 parents 8fa358b + 0d5ac0c commit c04c39f
Show file tree
Hide file tree
Showing 4 changed files with 146 additions and 0 deletions.
@@ -0,0 +1,59 @@
easyblock = 'CMakeMake'

name = 'Blender'
version = '2.79b'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://www.blender.org/'
description = """Blender is the free and open source 3D creation suite. It supports
the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering,
compositing and motion tracking, even video editing and game creation."""

toolchain = {'name': 'intel', 'version': '2018b'}

source_urls = ['http://download.blender.org/source/']
sources = [SOURCELOWER_TAR_GZ]
patches = ['Blender-2.77a_fix-ARRAY_SIZE-icc.patch']
checksums = [
'4c944c304a49e68ac687ea06f5758204def049b66dc211e1cffa1857716393bc', # blender-2.79b.tar.gz
'b333219ca380b08bf167bfdea33c0d23a4ed5c2cd05c5f391ca3b529fdc72a73', # Blender-2.77a_fix-ARRAY_SIZE-icc.patch
]

# disable SSE detection to give EasyBuild full control over optimization compiler flags being used
configopts = '-DWITH_CPU_SSE=OFF -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" '

# these are needed until extra dependencies are added for them to work
configopts += '-DWITH_INSTALL_PORTABLE=OFF '
configopts += '-DWITH_BUILDINFO=OFF '
configopts += '-DWITH_GAMEENGINE=OFF '
configopts += '-DWITH_SYSTEM_GLEW=OFF '

# Python paths
configopts += '-DPYTHON_VERSION=%(pyshortver)s -DPYTHON_LIBRARY=${EBROOTPYTHON}/lib/libpython%(pyshortver)sm.so '
configopts += '-DPYTHON_INCLUDE_DIR=${EBROOTPYTHON}/include/python%(pyshortver)sm '
configopts += '-DOPENEXR_INCLUDE_DIR=$EBROOTOPENEXR/include '

dependencies = [
('Python', '3.6.6'),
('Boost', '1.67.0'),
('libjpeg-turbo', '2.0.0'),
('zlib', '1.2.11'),
('X11', '20180604'),
('Mesa', '18.1.1'),
('libGLU', '9.0.0'),
('OpenImageIO', '1.8.16'), # required for cycles render engine
]

builddependencies = [('CMake', '3.12.1')]

separate_build_dir = 'True'

# use Intel software rasterizer by default (no GPU hardware acceleration)
modextravars = {'GALLIUM_DRIVER': 'swr'}

sanity_check_paths = {
'files': ['bin/blender'],
'dirs': []
}

moduleclass = 'vis'
25 changes: 25 additions & 0 deletions easybuild/easyconfigs/l/libGLU/libGLU-9.0.0-intel-2018b.eb
@@ -0,0 +1,25 @@
easyblock = 'ConfigureMake'

name = 'libGLU'
version = '9.0.0'

homepage = 'ftp://ftp.freedesktop.org/pub/mesa/glu/'
description = """The OpenGL Utility Library (GLU) is a computer graphics library for OpenGL. """

toolchain = {'name': 'intel', 'version': '2018b'}
toolchainopts = {'pic': True}

source_urls = ['ftp://ftp.freedesktop.org/pub/mesa/glu/']
sources = ['glu-%(version)s.tar.bz2']
checksums = ['1f7ad0d379a722fcbd303aa5650c6d7d5544fde83196b42a73d1193568a4df12']

dependencies = [
('Mesa', '18.1.1'),
]

sanity_check_paths = {
'files': ['lib/libGLU.%s' % SHLIB_EXT],
'dirs': [],
}

moduleclass = 'vis'
28 changes: 28 additions & 0 deletions easybuild/easyconfigs/o/OpenEXR/OpenEXR-2.3.0-intel-2018b.eb
@@ -0,0 +1,28 @@
easyblock = 'CMakeMake'

name = 'OpenEXR'
version = '2.3.0'

homepage = 'http://www.openexr.com/'
description = """OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial Light & Magic
for use in computer imaging applications"""

toolchain = {'name': 'intel', 'version': '2018b'}

source_urls = ['https://github.com/openexr/openexr/archive/']
sources = ['v%(version)s.tar.gz']
checksums = ['8243b7de12b52239fe9235a6aeb4e35ead2247833e4fbc41541774b222717933']

builddependencies = [('CMake', '3.12.1')]

configopts = '-DOPENEXR_BUILD_PYTHON_LIBS=OFF'

sanity_check_paths = {
'files': ['lib/lib%s-%%(version_major)s_%%(version_minor)s.%s' % (x, SHLIB_EXT) for x in
['Half', 'Iex', 'IexMath', 'IlmImf', 'IlmImfUtil', 'IlmThread', 'Imath']] +
['bin/exr%s' % x for x in
['envmap', 'header', 'makepreview', 'maketiled', 'multipart', 'multiview', 'stdattr']],
'dirs': ['include/OpenEXR', 'share'],
}

moduleclass = 'vis'
@@ -0,0 +1,34 @@
easyblock = 'CMakeMake'

name = 'OpenImageIO'
version = '1.8.16'

homepage = 'http://openimageio.org/'
description = """OpenImageIO is a library for reading and writing images, and a bunch of related classes, utilities,
and applications."""

toolchain = {'name': 'intel', 'version': '2018b'}

source_urls = ['https://github.com/OpenImageIO/oiio/archive/']
sources = ['Release-%(version)s.tar.gz']
checksums = ['a67bb2800805bce10c055bc3f5ed32ce31498381fc1cf8e42e24d4193f3f935f']

dependencies = [
('Boost', '1.67.0'),
('libjpeg-turbo', '2.0.0'),
('libpng', '1.6.34'),
('LibTIFF', '4.0.9'),
('OpenEXR', '2.3.0'),
]
builddependencies = [('CMake', '3.12.1')]

separate_build_dir = True

configopts = '-DSTOP_ON_WARNING=OFF -DUSE_PYTHON=OFF'

sanity_check_paths = {
'files': ['bin/oiiotool', 'lib/libOpenImageIO.so', 'lib/libOpenImageIO_Util.so'],
'dirs': ['include/OpenImageIO', 'share'],
}

moduleclass = 'lib'

0 comments on commit c04c39f

Please sign in to comment.