Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{lang} [foss/2016b] MXNet/0.9.3 (REVIEW) #4346

Closed
wants to merge 22 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions easybuild/easyconfigs/a/ATK/ATK-2.24.0-intel-2017a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
easyblock = 'ConfigureMake'

name = 'ATK'
version = '2.24.0'

homepage = 'https://developer.gnome.org/ATK/stable/'
description = """
ATK provides the set of accessibility interfaces that are implemented by other
toolkits and applications. Using the ATK interfaces, accessibility tools have
full access to view and control running applications.
"""

toolchain = {'name': 'intel', 'version': '2017a'}

source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]

dependencies = [
('GLib', '2.52.0'),
('GObject-Introspection', '1.52.0')
]

configopts = "--enable-introspection=yes"

modextrapaths = {
'XDG_DATA_DIRS': 'share',
}

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

moduleclass = 'vis'
26 changes: 26 additions & 0 deletions easybuild/easyconfigs/a/ant/ant-1.10.1-Java-1.8.0_131.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name = 'ant'
version = '1.10.1'
versionsuffix = '-Java-%(javaver)s'

homepage = 'http://ant.apache.org/'
description = """Apache Ant is a Java library and command-line tool whose mission is to drive processes described in
build files as targets and extension points dependent upon each other. The main known usage of Ant is the build of
Java applications."""

toolchain = {'name': 'dummy', 'version': ''}

sources = ['apache-%(name)s-%(version)s-src.tar.gz']
source_urls = ['http://archive.apache.org/dist/%(name)s/source/']

dependencies = [('Java', '1.8.0_131')]

builddependencies = [('JUnit', '4.12', versionsuffix)]

sanity_check_paths = {
'files': ['bin/ant', 'lib/ant.jar', 'lib/ant.jar'],
'dirs': [],
}

modextravars = {'ANT_HOME': '%(installdir)s'}

moduleclass = 'devel'
32 changes: 32 additions & 0 deletions easybuild/easyconfigs/f/FFmpeg/FFmpeg-3.3-intel-2017a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
easyblock = 'ConfigureMake'

name = 'FFmpeg'
version = '3.3'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's already an easyconfig for 3.3.1, why roll back to an older version?

Right now, there's a 3.3.2 available already too...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because it wasn't there when I made this stuff some weeks ago...
I'm not going to keep track on all of this.


homepage = 'https://www.ffmpeg.org/'
description = """A complete, cross-platform solution to record, convert and stream audio and video."""

toolchain = {'name': 'intel', 'version': '2017a'}

sources = [SOURCELOWER_TAR_BZ2]
source_urls = ['http://ffmpeg.org/releases/']

dependencies = [
('NASM', '2.12.02'),
('zlib', '1.2.11'),
('bzip2', '1.0.6'),
('x264', '20170424'),
('X11', '20170314'),
]

configopts = '--enable-pic --enable-shared --enable-gpl --enable-version3 --enable-nonfree --cc="$CC" --cxx="$CXX" '
configopts += '--enable-libx264'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

existing FFmpeg easyconfigs also include --enable-libx265 --enable-libmp3lame


sanity_check_paths = {
'files': ['bin/ff%s' % x for x in ['mpeg', 'probe', 'server']] +
['lib/lib%s.%s' % (x, y) for x in ['avdevice', 'avfilter', 'avformat', 'avcodec', 'postproc',
'swresample', 'swscale', 'avutil'] for y in [SHLIB_EXT, 'a']],
'dirs': ['include']
}

moduleclass = 'vis'
24 changes: 24 additions & 0 deletions easybuild/easyconfigs/g/GTK+/GTK+-2.24.31-intel-2017a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
easyblock = 'ConfigureMake'

name = 'GTK+'
version = '2.24.31'

homepage = 'https://www.gtk.org/'
description = """The GTK+ 2 package contains libraries used for creating graphical user
interfaces for applications."""

toolchain = {'name': 'intel', 'version': '2017a'}

source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]

dependencies = [
('ATK', '2.24.0'),
('Gdk-Pixbuf', '2.36.6'),
('Pango', '1.40.5'),
('GObject-Introspection', '1.52.0'),
]

configopts = "--disable-silent-rules --disable-glibtest --enable-introspection=yes --disable-visibility "

moduleclass = 'vis'
25 changes: 25 additions & 0 deletions easybuild/easyconfigs/g/GTS/GTS-0.7.6-intel-2017a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
easyblock = 'ConfigureMake'

name = 'GTS'
version = '0.7.6'

homepage = 'http://gts.sourceforge.net/'
description = """GTS stands for the GNU Triangulated Surface Library.
It is an Open Source Free Software Library intended to provide a set of useful
functions to deal with 3D surfaces meshed with interconnected triangles."""

toolchain = {'name': 'intel', 'version': '2017a'}

source_urls = [SOURCEFORGE_SOURCE]
sources = [SOURCELOWER_TAR_GZ]

dependencies = [
('GLib', '2.52.0'),
]

sanity_check_paths = {
'files': ['lib/libgts.%s' % SHLIB_EXT, 'bin/gts2oogl', 'bin/gtscheck'],
'dirs': []
}

moduleclass = 'vis'
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
easyblock = 'ConfigureMake'

name = 'Gdk-Pixbuf'
version = '2.36.6'

homepage = 'https://developer.gnome.org/gdk-pixbuf/stable/'
description = """
The Gdk Pixbuf is a toolkit for image loading and pixel buffer manipulation.
It is used by GTK+ 2 and GTK+ 3 to load and manipulate images. In the past it
was distributed as part of GTK+ 2 but it was split off into a separate package
in preparation for the change to GTK+ 3.
"""

toolchain = {'name': 'intel', 'version': '2017a'}

source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]

dependencies = [
('GLib', '2.52.0'),
('libjpeg-turbo', '1.5.1'),
('libpng', '1.6.29'),
('LibTIFF', '4.0.7'),
('GObject-Introspection', '1.52.0')
]

configopts = "--disable-maintainer-mode --enable-debug=no --enable-introspection=yes "
configopts += "--disable-Bsymbolic --without-gdiplus --enable-shared --enable-static"

modextrapaths = {
'XDG_DATA_DIRS': 'share',
}

moduleclass = 'vis'
67 changes: 67 additions & 0 deletions easybuild/easyconfigs/g/Graphviz/Graphviz-2.40.1-intel-2017a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
easyblock = 'ConfigureMake'

name = 'Graphviz'
version = '2.40.1'

homepage = 'http://www.graphviz.org/'
description = """Graphviz is open source graph visualization software. Graph visualization
is a way of representing structural information as diagrams of
abstract graphs and networks. It has important applications in networking,
bioinformatics, software engineering, database and web design, machine learning,
and in visual interfaces for other technical domains."""

toolchain = {'name': 'intel', 'version': '2017a'}

source_urls = ['http://www.graphviz.org/pub/graphviz/stable/SOURCES/']
sources = [SOURCELOWER_TAR_GZ]

dependencies = [
('cairo', '1.14.8'),
('expat', '2.2.0'),
('freetype', '2.7.1', '-libpng-1.6.29'),
('Ghostscript', '9.21'),
('GTS', '0.7.6'),
('Java', '1.8.0_121', '', True),
('libpng', '1.6.29'),
('Pango', '1.40.5'),
('Perl', '5.24.1'),
('Qt', '4.8.7'),
('Tcl', '8.6.6'),
('zlib', '1.2.11'),
]

builddependencies = [
('M4', '1.4.18'),
('SWIG', '3.0.12', '-Python-2.7.13'),
]

patches = [
'Graphviz-%(version)s_icc_vmalloc.patch',
'Graphviz-2.38.0_icc_sfio.patch',
]

preconfigopts = "sed -i 's/install-data-hook$//g' tclpkg/Makefile.in && "
configopts = '--enable-guile=no --enable-lua=no --enable-ocaml=no '
configopts += '--enable-r=no --enable-ruby=no '

prebuildopts = 'qmake -o cmd/gvedit/qMakefile cmd/gvedit/gvedit.pro && '

sanity_check_paths = {
'files': ['bin/cluster', 'bin/dot', 'bin/gvmap',
'lib/libcdt.%s' % SHLIB_EXT, 'lib/libgvc.%s' % SHLIB_EXT, 'lib/libxdot.%s' % SHLIB_EXT],
'dirs': ['include', 'lib/graphviz']
}

sanity_check_commands = [
("test ! -d $EBROOTTCL/lib/*/graphviz", ''),
("test ! -d $EBROOTTCL/lib64/*/graphviz", ''),
]

modextrapaths = {
'PYTHONPATH': 'lib/graphviz/python',
'CLASSPATH': 'lib/graphviz/java/org/graphviz',
'LD_LIBRARY_PATH': 'lib/graphviz/java',
'TCLLIBPATH': 'lib/graphviz/tcl',
}

moduleclass = 'vis'
16 changes: 16 additions & 0 deletions easybuild/easyconfigs/g/Graphviz/Graphviz-2.40.1_icc_vmalloc.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# iffe determines wrongly the vmalloc libraries.
# for icc _lib_mallopt, _lib_mallinfo, and _lib_mstats should be 0 in /FEATURE/vmalloc
# inspired by http://gnats.netbsd.org/43870
diff -ur graphviz-2.40.1.orig/lib/vmalloc/features/vmalloc graphviz-2.40.1/lib/vmalloc/features/vmalloc
--- graphviz-2.40.1.orig/lib/vmalloc/features/vmalloc 2016-12-08 06:43:20.000000000 +0100
+++ graphviz-2.40.1/lib/vmalloc/features/vmalloc 2017-05-24 22:13:14.737811602 +0200
@@ -11,9 +11,6 @@
sys stat
typ ssize_t
hdr malloc
-lib mallopt
-lib mallinfo
-lib mstats
hdr dlfcn

std malloc note{ stuck with standard malloc }end noexecute{
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
easyblock = 'PythonPackage'

name = 'graphviz'
version = '0.7.1'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://pypi.python.org/pypi/graphviz'
description = """Simple Python interface for Graphviz"""

toolchain = {'name': 'intel', 'version': '2017a'}

source_urls = [PYPI_SOURCE]
sources = [SOURCE_ZIP]

dependencies = [
('Python', '2.7.13'),
('Graphviz', '2.40.1'),
]

sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}

moduleclass = 'vis'
22 changes: 22 additions & 0 deletions easybuild/easyconfigs/j/JUnit/JUnit-4.12-Java-1.8.0_131.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
easyblock = 'JAR'

name = 'JUnit'
version = '4.12'
versionsuffix = '-Java-%(javaver)s'

homepage = 'http://junit.org'
description = """A programmer-oriented testing framework for Java."""

toolchain = {'name': 'dummy', 'version': ''}

sources = ['%(namelower)s-%(version)s.jar']
source_urls = ['http://search.maven.org/remotecontent?filepath=junit/junit/%(version)s/']

dependencies = [('Java', '1.8.0_131')]

sanity_check_paths = {
'files': sources,
'dirs': [],
}

moduleclass = 'devel'
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name = 'MXNet'
version = '0.9.3'
versionsuffix = '-Python-%(pyver)s-R-%(rver)s'

homepage = 'http://mxnet.io/'
description = """Flexible and Efficient Library for Deep Learning"""

toolchain = {'name': 'foss', 'version': '2016b'}
toolchainopts = {'cstd': 'c++11', 'opt': True, 'pic': True, 'openmp': True}

source_urls = ['https://github.com/dmlc/mxnet/archive']

# MXNet pulls in a bunch of submodules which don't have releases.
# We download the current HEAD of the repos at the current time (13/03/17)
sources = [
'v%(version)s.tar.gz', # MXNet
'https://github.com/dmlc/ps-lite/archive/6856021ca925c7.tar.gz', # ps-lite
'https://github.com/dmlc/mshadow/archive/c29ac58320d7b0.tar.gz', # mshadow
'https://github.com/dmlc/nnvm/archive/0d64855f741e04.tar.gz', # nnvm
'https://github.com/dmlc/dmlc-core/archive/b32ec4aee65a66.tar.gz', # dmlc-core
]

checksums = [
"84971e4a0e2e9db3757623657aa5b9ec", # v0.9.3.tar.gz
"12c96664978c545a7269b93635719b18", # 6856021ca925c7.tar.gz
"3dc48183e123c650707bcf26a9254941", # c29ac58320d7b0.tar.gz
"fb04cb1694f1e66591a31a18bc92b451", # 0d64855f741e04.tar.gz
"da873c881758c0e10ac0928f86568456", # b32ec4aee65a66.tar.gz
]

dependencies = [
('Python', '2.7.12'),
('graphviz', '0.5.1', '-Python-%(pyver)s'),
('OpenCV', '3.1.0'),
('R', '3.3.3', '-X11-20160819'),
]

moduleclass = 'math'
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name = 'MXNet'
version = '0.9.3'
versionsuffix = '-Python-%(pyver)s-R-%(rver)s'

homepage = 'http://mxnet.io/'
description = """Flexible and Efficient Library for Deep Learning"""

toolchain = {'name': 'intel', 'version': '2017a'}
toolchainopts = {'cstd': 'c++11', 'opt': True, 'pic': True, 'openmp': True}

source_urls = ['https://github.com/dmlc/mxnet/archive']

# MXNet pulls in a bunch of submodules which don't have releases.
# We download the current HEAD of the repos at the current time (13/03/17)
sources = [
'v%(version)s.tar.gz', # MXNet
'https://github.com/dmlc/ps-lite/archive/6856021ca925c7.tar.gz', # ps-lite
'https://github.com/dmlc/mshadow/archive/c29ac58320d7b0.tar.gz', # mshadow
'https://github.com/dmlc/nnvm/archive/0d64855f741e04.tar.gz', # nnvm
'https://github.com/dmlc/dmlc-core/archive/b32ec4aee65a66.tar.gz', # dmlc-core
]

checksums = [
"84971e4a0e2e9db3757623657aa5b9ec", # v0.9.3.tar.gz
"12c96664978c545a7269b93635719b18", # 6856021ca925c7.tar.gz
"3dc48183e123c650707bcf26a9254941", # c29ac58320d7b0.tar.gz
"fb04cb1694f1e66591a31a18bc92b451", # 0d64855f741e04.tar.gz
"da873c881758c0e10ac0928f86568456", # b32ec4aee65a66.tar.gz
]

dependencies = [
('Python', '2.7.13'),
('graphviz', '0.7.1', '-Python-%(pyver)s'),
('OpenCV', '3.2.0'),
('R', '3.4.0', '-X11-20170314'),
]

moduleclass = 'math'
Loading