mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-07 15:32:11 +01:00
Merge branch 'it4i-salomon'
This commit is contained in:
commit
2b3d29935a
58
b/Blender/Blender-2.81-gompi-2019b-Py-3.7.eb
Normal file
58
b/Blender/Blender-2.81-gompi-2019b-Py-3.7.eb
Normal file
@ -0,0 +1,58 @@
|
||||
# IT4Innovations 2019
|
||||
|
||||
easyblock = 'CMakeMake'
|
||||
|
||||
name = 'Blender'
|
||||
version = '2.81'
|
||||
versionsuffix = '-Py-3.7'
|
||||
|
||||
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': 'gompi', 'version': '2019b'}
|
||||
|
||||
source_urls = ['https://download.blender.org/source/']
|
||||
sources = [SOURCELOWER_TAR_XZ]
|
||||
checksums = ['ca429da7bf0f1e9ce39c915288cfa2b76ed7ec36885139c4d7c18912840337df']
|
||||
|
||||
# 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=3.7 PYTHON_LIBRARY=${EBROOTPYTHON}/lib/libpython3.7m.so '
|
||||
configopts += '-DPYTHON_INCLUDE_DIR=${EBROOTPYTHON}/include/python3.7m '
|
||||
configopts += '-DOPENEXR_INCLUDE_DIR=$EBROOTOPENEXR/include '
|
||||
|
||||
dependencies = [
|
||||
('Py', '3.7', '', True),
|
||||
# ('SciPy-bundle', '2019.10', versionsuffix),
|
||||
('Boost', '1.70.0', '-Py-3.7'),
|
||||
('libjpeg-turbo', '2.0.2', '', True),
|
||||
('zlib', '1.2.11', '', True),
|
||||
('X11', '20190311', '', True),
|
||||
('Mesa', '19.0.1'),
|
||||
('libGLU', '9.0.0', '', True),
|
||||
('OpenImageIO', '2.0.12'), # required for cycles render engine
|
||||
]
|
||||
|
||||
builddependencies = [('CMake', '3.16.0', '-rc3', True)]
|
||||
|
||||
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'
|
30
b/Boost/Boost-1.70.0-GCCcore-8.3.0-Py-3.7.eb
Normal file
30
b/Boost/Boost-1.70.0-GCCcore-8.3.0-Py-3.7.eb
Normal file
@ -0,0 +1,30 @@
|
||||
# IT4Innovations 2018
|
||||
|
||||
name = 'Boost'
|
||||
version = '1.70.0'
|
||||
versionsuffix = '-Py-3.7'
|
||||
|
||||
homepage = 'http://www.boost.org/'
|
||||
description = """Boost provides free peer-reviewed portable C++ source libraries."""
|
||||
|
||||
toolchain = {'name': 'gompi', 'version': '2019b'}
|
||||
toolchainopts = {'pic': True, 'usempi': True}
|
||||
|
||||
source_urls = [SOURCEFORGE_SOURCE]
|
||||
|
||||
sources = ['%%(namelower)s_%s.tar.gz' % '_'.join(version.split('.'))]
|
||||
patches = ['Boost-1.65.1_fix-Python3.patch']
|
||||
|
||||
dependencies = [
|
||||
('OpenMPI', '3.1.5', '', ('GCCcore', '8.3.0')),
|
||||
('bzip2', '1.0.6', '', True),
|
||||
('zlib', '1.2.11', '', True),
|
||||
('Py', '3.7', '', True)
|
||||
]
|
||||
|
||||
configopts = '--with-python=$EBROOTPYTHON/bin/python'
|
||||
|
||||
# also build boost_mpi
|
||||
boost_mpi = True
|
||||
|
||||
moduleclass = 'devel'
|
22
g/gompi/gompi-2019b.eb
Normal file
22
g/gompi/gompi-2019b.eb
Normal file
@ -0,0 +1,22 @@
|
||||
# IT4Innovations 2019
|
||||
|
||||
easyblock = "Toolchain"
|
||||
|
||||
name = 'gompi'
|
||||
version = '2019b'
|
||||
|
||||
homepage = '(none)'
|
||||
description = """GNU Compiler Collection (GCC) based local_compiler toolchain,
|
||||
including OpenMPI for MPI support."""
|
||||
|
||||
toolchain = SYSTEM
|
||||
|
||||
local_gccver = '8.3.0-2.32'
|
||||
|
||||
# local_compiler toolchain dependencies
|
||||
dependencies = [
|
||||
('GCC', local_gccver), # includes both GCC and local_binutils
|
||||
('OpenMPI', '3.1.5', '', ('GCCcore', '8.3.0')),
|
||||
]
|
||||
|
||||
moduleclass = 'toolchain'
|
@ -14,7 +14,6 @@ toolchain = SYSTEM
|
||||
|
||||
# git clone https://github.com/LLNL/libmsr.git
|
||||
sources = ['libmsr-master-20191216.tar.gz']
|
||||
checksums = ['c2e231560a52457c02794de5420e1aed']
|
||||
|
||||
builddependencies = [('CMake', '3.16.0', '-rc3')]
|
||||
|
||||
|
73
m/Mesa/Mesa-19.0.1-gompi-2019b.eb
Normal file
73
m/Mesa/Mesa-19.0.1-gompi-2019b.eb
Normal file
@ -0,0 +1,73 @@
|
||||
# Automatically converted from Mesa-17.2.4-intel-2017b.eb
|
||||
# Original message:
|
||||
# the purpose of the easyconfig is to build a Mesa for software rendering,
|
||||
# not hardware rendering. This means you want at least SSE4.2. We build:
|
||||
# - llvmpipe: the high-performance Gallium LLVM driver
|
||||
# - swr: Intel's OpenSWR
|
||||
# it will try to use the llvmpipe by default. It you want swr, do:
|
||||
# GALLIUM_DRIVER=swr
|
||||
|
||||
easyblock = 'MesonNinja'
|
||||
|
||||
name = 'Mesa'
|
||||
version = '19.0.1'
|
||||
|
||||
homepage = 'http://www.mesa3d.org/'
|
||||
description = """Mesa is an open-source implementation of the OpenGL specification -
|
||||
a system for rendering interactive 3D graphics."""
|
||||
|
||||
toolchain = {'name': 'gompi', 'version': '2019b'}
|
||||
# swr detects and builds parts specific for AVX and AVX2. If we use
|
||||
# -xHost, this always gets overwritten and will fail.
|
||||
toolchainopts = {'optarch': False}
|
||||
|
||||
source_urls = [
|
||||
'https://www.mesa3d.org/archive/',
|
||||
'https://mesa.freedesktop.org/archive/',
|
||||
'https://mesa.freedesktop.org/archive/%(version)s',
|
||||
'ftp://ftp.freedesktop.org/pub/mesa/%(version)s',
|
||||
'ftp://ftp.freedesktop.org/pub/mesa/older-versions/%(version_major)s.x/%(version)s',
|
||||
]
|
||||
sources = [SOURCELOWER_TAR_XZ]
|
||||
checksums = [
|
||||
'6884163c0ea9e4c98378ab8fecd72fe7b5f437713a14471beda378df247999d4', # mesa-19.0.1.tar.xz
|
||||
]
|
||||
|
||||
builddependencies = [
|
||||
# ('Meson', '0.50.0', '-Py-3.7'),
|
||||
('Ninja', '1.9.0'),
|
||||
('flex', '2.6.4', '', True),
|
||||
('Bison', '3.3.2', '', True),
|
||||
('pkg-config', '0.29.2', '', True),
|
||||
#'Mako', '1.0.8'),
|
||||
('libxml2', '2.9.9', '', True),
|
||||
('expat', '2.2.6', '', True),
|
||||
('gettext', '0.19.8.1', '', True),
|
||||
]
|
||||
|
||||
dependencies = [
|
||||
('zlib', '1.2.11', '', True),
|
||||
('nettle', '3.4.1', '', True),
|
||||
('libdrm', '2.4.76', '', True),
|
||||
('LLVM', '7.0.0', '', True),
|
||||
('X11', '20190311', '', True),
|
||||
('libunwind', '1.2.1', '', True),
|
||||
]
|
||||
|
||||
configopts = " -Dplatforms=x11 -Dosmesa=gallium -Ddri3=false -Ddri-drivers='' -Dvulkan-drivers=''"
|
||||
configopts += " -Dgbm=false -Dglx-direct=false -Dgallium-drivers='swrast,swr' -Degl=false"
|
||||
configopts += " -Dllvm=true -Dshared-llvm=true"
|
||||
configopts += " -Dlibunwind=true -Dglx=xlib"
|
||||
|
||||
sanity_check_paths = {
|
||||
'files': ['lib/libGL.%s' % SHLIB_EXT, 'lib/libOSMesa.%s' % SHLIB_EXT,
|
||||
'lib/libGLESv1_CM.%s' % SHLIB_EXT, 'lib/libGLESv2.%s' % SHLIB_EXT,
|
||||
'include/GL/glext.h', 'include/GL/gl_mangle.h',
|
||||
'include/GL/glx.h', 'include/GL/osmesa.h',
|
||||
'include/GL/gl.h', 'include/GL/glxext.h',
|
||||
'include/GL/glx_mangle.h', 'include/GLES/gl.h',
|
||||
'include/GLES2/gl2.h', 'include/GLES3/gl3.h'],
|
||||
'dirs': []
|
||||
}
|
||||
|
||||
moduleclass = 'vis'
|
Loading…
x
Reference in New Issue
Block a user