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}[intel-2016a] R 3.2.3 with libX11 1.6.3 (REVIEW) #2624

Merged
merged 8 commits into from
Mar 8, 2016
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
easyblock = 'ConfigureMake'

name = 'cairo'
version = '1.14.6'

libx11 = 'libX11'
libxver = '1.6.3'
versionsuffix = '-%s-%s' % (libx11, libxver)
Copy link
Member

Choose a reason for hiding this comment

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

@hajgato: you could use the enhanced cairo easyconfig from #2630, instead of adding one with a versionsuffix?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@boegel: I am on it, but because the GLib-libxm2 issue, I need a GLib with libxml2-Pyhon-libX11


homepage = 'http://cairographics.org'
description = """Cairo is a 2D graphics library with support for multiple output devices.
Currently supported output targets include the X Window System (via both Xlib and XCB), Quartz, Win32, image buffers,
PostScript, PDF, and SVG file output. Experimental backends include OpenGL, BeOS, OS/2, and DirectFB"""

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

source_urls = ['http://cairographics.org/releases/']
sources = [SOURCE_TAR_XZ]

glibver = '2.47.5'

builddependencies = [
('renderproto', '0.11'),
]

dependencies = [
(libx11, libxver),
('libXrender', '0.9.9'),
('libdrm', '2.4.67'),
('bzip2', '1.0.6'),
('zlib', '1.2.8'),
('libpng', '1.6.21'),
('freetype', '2.6.2'),
('pixman', '0.34.0'),
('fontconfig', '2.11.94'),
('expat', '2.1.0'),
('GLib', glibver, versionsuffix),
]

# disable symbol lookup, which requires -lbfd, to avoid link issues with (non-PIC) libiberty.a provided by GCC
configopts = "--enable-symbol-lookup=no --enable-gobject=yes --enable-svg=yes --enable-tee=yes "

# workaround for "hidden symbol .* in .* is referenced by DSO" and "ld: final link failed: Bad value"
buildopts = 'LD="$CC" LDFLAGS="$LDFLAGS -shared-intel"'

sanity_check_paths = {
'files': ['bin/cairo-trace', 'lib/cairo/libcairo-trace.so', 'lib/cairo/libcairo-trace.a',
'lib/libcairo.a', 'lib/libcairo-gobject.a', 'lib/libcairo-script-interpreter.a',
'lib/libcairo-gobject.so', 'lib/libcairo-script-interpreter.so', 'lib/libcairo.so'] +
['include/cairo/cairo%s.h' % x for x in ['', '-deprecated', '-features', '-ft', '-gobject', '-pdf', '-ps',
'-script', '-script-interpreter', '-svg', '-version', '-xcb',
'-xlib', '-xlib-xrender']],
'dirs': ['lib/pkgconfig'],
}

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

name = 'GDAL'
version = '2.0.2'
versionsuffix = '-libX11-1.6.3'

homepage = 'http://www.gdal.org/'
description = """GDAL is a translator library for raster geospatial data formats that is released under an X/MIT style
Open Source license by the Open Source Geospatial Foundation. As a library, it presents a single abstract data model
to the calling application for all supported formats. It also comes with a variety of useful commandline utilities for
data translation and processing."""

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

source_urls = ['http://download.osgeo.org/gdal/%(version)s/']
sources = [SOURCELOWER_TAR_XZ]

dependencies = [
('netCDF', '4.3.3.1'),
('expat', '2.1.0'),
('libxml2', '2.9.3', '-Python-2.7.11%s' % versionsuffix),
('zlib', '1.2.8'),
]

sanity_check_paths = {
'files': ['lib/libgdal.%s' % SHLIB_EXT, 'lib/libgdal.a'],
'dirs': ['bin', 'include']
}

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

name = 'GLib'
version = '2.47.5'

versionsuffix = '-libX11-1.6.3'

homepage = 'http://www.gtk.org/'
description = """GLib is one of the base libraries of the GTK+ project"""

toolchain = {'name': 'intel', 'version': '2016a'}
toolchainopts = {'optarch': True, 'pic': True}

source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]

pyver = '2.7.11'
pysuffix = '-Python-%s%s' % (pyver, versionsuffix)

dependencies = [
('libffi', '3.2.1'),
('gettext', '0.19.6'),
('libxml2', '2.9.3', pysuffix),
('PCRE', '8.38'),
]

builddependencies = [('Python', pyver, versionsuffix)]

configopts = "--disable-maintainer-mode --disable-silent-rules --disable-libelf --enable-static --enable-shared"

postinstallcmds = ["sed -i -e 's|#!.*python|#!/usr/bin/env python|' %(installdir)s/bin/*"]

sanity_check_paths = {
'files': ['lib/libglib-%(version_major)s.0.a', 'lib/libglib-%%(version_major)s.0.%s' % SHLIB_EXT],
'dirs': ['bin', 'include'],
}

moduleclass = 'vis'
25 changes: 25 additions & 0 deletions easybuild/easyconfigs/l/libXmu/libXmu-1.1.2-intel-2016a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
easyblock = 'ConfigureMake'

name = 'libXmu'
version = '1.1.2'

homepage = "http://www.freedesktop.org/wiki/Software/xlibs"
description = """libXmu provides a set of miscellaneous utility convenience functions for X libraries to use.
libXmuu is a lighter-weight version that does not depend on libXt or libXext"""

toolchain = {'name': 'intel', 'version': '2016a'}
toolchainopts = {'optarch': True}

sources = [SOURCE_TAR_GZ]
source_urls = [XORG_LIB_SOURCE]

dependencies = [
('libXt', '1.1.5'),
('libXpm', '3.5.11'),
]
sanity_check_paths = {
'files': ['lib/%s' % x for x in ['%(name)s.a', '%%(name)s.%s' % SHLIB_EXT]],
'dirs': [],
}

moduleclass = 'vis'
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name = 'libxml2'
version = '2.9.3'

homepage = 'http://xmlsoft.org/'
description = """Libxml2 is the XML C parser and toolchain developed for the Gnome project (but usable
outside of the Gnome platform)."""

toolchain = {'name': 'intel', 'version': '2016a'}
toolchainopts = {'pic': True}

source_urls = [
'http://xmlsoft.org/sources/',
'http://xmlsoft.org/sources/old/'
]
sources = [SOURCELOWER_TAR_GZ]

configopts = 'CC="$CC" CXX="$CXX" --with-pic --with-zlib=$EBROOTZLIB'

pyver = '2.7.11'
pyshortver = '.'.join(pyver.split('.')[:2])
libx11suffix = '-libX11-1.6.3'
versionsuffix = '-Python-%s%s' % (pyver, libx11suffix)

dependencies = [
('zlib', '1.2.8'),
('Python', pyver, libx11suffix),
]

moduleclass = 'lib'