From edafe1112db2bb349d41d6500c4ed26fad733e70 Mon Sep 17 00:00:00 2001 From: Easy Build Date: Mon, 26 Jun 2017 08:55:23 +0200 Subject: [PATCH] new file: b/Bazel/Bazel-0.5.1-GCC-7.1.0-2.28.eb new file: b/Bazel/CROSSTOOL.patch new file: b/Bazel/cc_configure.patch new file: l/libepoxy/libepoxy-1.4.3.eb modified: o/OpenMPI/OpenMPI-2.1.0-GCC-6.3.0-2.27.eb modified: o/OpenMPI/OpenMPI-2.1.1-GCC-7.1.0-2.28.eb new file: t/Tensorflow/Tensorflow-1.2.0-Python-3.6.1.eb new file: x/X11/X11-20160819-test.eb new file: x/X11/X11-20170314-test.eb new file: x/xf86-video-dummy/xf86-video-dummy-0.3.5.eb new file: x/xf86-video-fbdev/xf86-video-fbdev-0.4.4.eb new file: x/xorg-macros/xorg-macros-1.19.1.eb new file: x/xorg-server/xorg-server-1.19.3.eb --- b/Bazel/Bazel-0.5.1-GCC-7.1.0-2.28.eb | 38 +++++ b/Bazel/CROSSTOOL.patch | 53 +++++++ b/Bazel/cc_configure.patch | 20 +++ l/libepoxy/libepoxy-1.4.3.eb | 23 +++ o/OpenMPI/OpenMPI-2.1.0-GCC-6.3.0-2.27.eb | 2 +- o/OpenMPI/OpenMPI-2.1.1-GCC-7.1.0-2.28.eb | 8 +- t/Tensorflow/Tensorflow-1.2.0-Python-3.6.1.eb | 33 ++++ x/X11/X11-20160819-test.eb | 135 ++++++++++++++++ x/X11/X11-20170314-test.eb | 144 ++++++++++++++++++ x/xf86-video-dummy/xf86-video-dummy-0.3.5.eb | 32 ++++ x/xf86-video-fbdev/xf86-video-fbdev-0.4.4.eb | 32 ++++ x/xorg-macros/xorg-macros-1.19.1.eb | 22 +++ x/xorg-server/xorg-server-1.19.3.eb | 32 ++++ 13 files changed, 570 insertions(+), 4 deletions(-) create mode 100644 b/Bazel/Bazel-0.5.1-GCC-7.1.0-2.28.eb create mode 100644 b/Bazel/CROSSTOOL.patch create mode 100644 b/Bazel/cc_configure.patch create mode 100644 l/libepoxy/libepoxy-1.4.3.eb create mode 100644 t/Tensorflow/Tensorflow-1.2.0-Python-3.6.1.eb create mode 100644 x/X11/X11-20160819-test.eb create mode 100644 x/X11/X11-20170314-test.eb create mode 100644 x/xf86-video-dummy/xf86-video-dummy-0.3.5.eb create mode 100644 x/xf86-video-fbdev/xf86-video-fbdev-0.4.4.eb create mode 100644 x/xorg-macros/xorg-macros-1.19.1.eb create mode 100644 x/xorg-server/xorg-server-1.19.3.eb diff --git a/b/Bazel/Bazel-0.5.1-GCC-7.1.0-2.28.eb b/b/Bazel/Bazel-0.5.1-GCC-7.1.0-2.28.eb new file mode 100644 index 00000000..579e669e --- /dev/null +++ b/b/Bazel/Bazel-0.5.1-GCC-7.1.0-2.28.eb @@ -0,0 +1,38 @@ +# @author: Robert Schmidt (OHRI) +# @author: Guilherme Peretti-Pezzi (CSCS) + +easyblock = "CmdCp" + +name = 'Bazel' +version = '0.5.1' + +homepage = 'http://bazel.io/' +description = """Bazel is a build tool that builds code quickly and reliably. +It is used to build the majority of Google's software.""" + +toolchain = {'name': 'GCC', 'version': '7.1.0-2.28'} + +sources = ['%(namelower)s-%(version)s-dist.zip'] +source_urls = ['https://github.com/bazelbuild/bazel/releases/download/%(version)s'] + +patches = [ + ('cc_configure.patch'), + ('CROSSTOOL.patch'), +] + +prebuildopts = "export EXTRA_BAZEL_ARGS='--ignore_unsupported_sandboxing --genrule_strategy=standalone --spawn_strategy=standalone --jobs=24' && " + +dependencies = [ + ('Java', '1.8.0_121', '', True), +] + +cmds_map = [('.*', "./compile.sh")] + +files_to_copy = [(['output/bazel'], 'bin')] + +sanity_check_paths={ + 'files': ['bin/bazel'], + 'dirs': [], +} + +moduleclass = 'devel' diff --git a/b/Bazel/CROSSTOOL.patch b/b/Bazel/CROSSTOOL.patch new file mode 100644 index 00000000..08d308e1 --- /dev/null +++ b/b/Bazel/CROSSTOOL.patch @@ -0,0 +1,53 @@ +--- tools/cpp/CROSSTOOL.orig 1980-01-01 00:00:00.000000000 +0100 ++++ tools/cpp/CROSSTOOL 2017-06-26 07:02:16.976232074 +0200 +@@ -100,34 +100,34 @@ + target_system_name: "local" + toolchain_identifier: "local_linux" + +- tool_path { name: "ar" path: "/usr/bin/ar" } +- tool_path { name: "compat-ld" path: "/usr/bin/ld" } +- tool_path { name: "cpp" path: "/usr/bin/cpp" } +- tool_path { name: "dwp" path: "/usr/bin/dwp" } +- tool_path { name: "gcc" path: "/usr/bin/gcc" } ++ tool_path { name: "ar" path: "/apps/all/binutils/2.28-GCCcore-7.1.0/bin/ar" } ++ tool_path { name: "compat-ld" path: "/apps/all/binutils/2.28-GCCcore-7.1.0/bin/ld" } ++ tool_path { name: "cpp" path: "/apps/all/GCCcore/7.1.0/bin/cpp" } ++ tool_path { name: "dwp" path: "/apps/all/binutils/2.28-GCCcore-7.1.0/bin/dwp" } ++ tool_path { name: "gcc" path: "/apps/all/GCCcore/7.1.0/bin/gcc" } + cxx_flag: "-std=c++0x" +- linker_flag: "-lstdc++" +- linker_flag: "-B/usr/bin/" ++ linker_flag: "-lstdc++, -W1" ++ linker_flag: "-B/apps/all/binutils/2.28-GCCcore-7.1.0/bin" + + # TODO(bazel-team): In theory, the path here ought to exactly match the path + # used by gcc. That works because bazel currently doesn't track files at + # absolute locations and has no remote execution, yet. However, this will need + # to be fixed, maybe with auto-detection? +- cxx_builtin_include_directory: "/usr/lib/gcc/" +- cxx_builtin_include_directory: "/usr/local/include" +- cxx_builtin_include_directory: "/usr/include" +- tool_path { name: "gcov" path: "/usr/bin/gcov" } ++ cxx_builtin_include_directory: "/apps/all/GCCcore/7.1.0/lib/gcc/x86_64-pc-linux-gnu/7.1.0/include" ++ cxx_builtin_include_directory: "/apps/all/GCCcore/7.1.0/lib/gcc/x86_64-pc-linux-gnu/7.1.0/include-fixed/" ++ cxx_builtin_include_directory: "/apps/all/GCCcore/7.1.0/include/c++/7.1.0" ++ tool_path { name: "gcov" path: "/apps/all/GCCcore/7.1.0/bin/gcov" } + + # C(++) compiles invoke the compiler (as that is the one knowing where + # to find libraries), but we provide LD so other rules can invoke the linker. +- tool_path { name: "ld" path: "/usr/bin/ld" } ++ tool_path { name: "ld" path: "/apps/all/binutils/2.28-GCCcore-7.1.0/bin/ld" } + +- tool_path { name: "nm" path: "/usr/bin/nm" } +- tool_path { name: "objcopy" path: "/usr/bin/objcopy" } ++ tool_path { name: "nm" path: "/apps/all/binutils/2.28-GCCcore-7.1.0/bin/nm" } ++ tool_path { name: "objcopy" path: "/apps/all/binutils/2.28-GCCcore-7.1.0/bin/objcopy" } + objcopy_embed_flag: "-I" + objcopy_embed_flag: "binary" +- tool_path { name: "objdump" path: "/usr/bin/objdump" } +- tool_path { name: "strip" path: "/usr/bin/strip" } ++ tool_path { name: "objdump" path: "/apps/all/binutils/2.28-GCCcore-7.1.0/bin/objdump" } ++ tool_path { name: "strip" path: "/apps/all/binutils/2.28-GCCcore-7.1.0/bin/strip" } + + # Anticipated future default. + unfiltered_cxx_flag: "-no-canonical-prefixes" diff --git a/b/Bazel/cc_configure.patch b/b/Bazel/cc_configure.patch new file mode 100644 index 00000000..fd92af46 --- /dev/null +++ b/b/Bazel/cc_configure.patch @@ -0,0 +1,20 @@ +--- tools/cpp/cc_configure.bzl.orig 1980-01-01 00:00:00.000000000 +0100 ++++ tools/cpp/cc_configure.bzl 2017-06-26 07:12:14.596089126 +0200 +@@ -274,7 +274,7 @@ + ] if darwin else [ + "-B" + str(repository_ctx.path(cc).dirname), + # Always have -B/usr/bin, see https://github.com/bazelbuild/bazel/issues/760. +- "-B/usr/bin", ++ "-B/apps/all/binutils/2.28-GCCcore-7.1.0/bin", + # Gold linker only? Can we enable this by default? + # "-Wl,--warn-execstack", + # "-Wl,--detect-odr-violations" +@@ -308,7 +308,7 @@ + ] + (["-Wthread-safety", "-Wself-assign"] if darwin else [ + "-B" + _escape_string(str(repository_ctx.path(cc).dirname)), + # Always have -B/usr/bin, see https://github.com/bazelbuild/bazel/issues/760. +- "-B/usr/bin", ++ "-B/apps/all/binutils/2.28-GCCcore-7.1.0/bin", + ]) + ( + # Disable problematic warnings. + _add_option_if_supported(repository_ctx, cc, "-Wunused-but-set-parameter") + diff --git a/l/libepoxy/libepoxy-1.4.3.eb b/l/libepoxy/libepoxy-1.4.3.eb new file mode 100644 index 00000000..2d1957bd --- /dev/null +++ b/l/libepoxy/libepoxy-1.4.3.eb @@ -0,0 +1,23 @@ +easyblock = 'ConfigureMake' + +name = 'libepoxy' +version = '1.4.3' + +homepage = "https://github.com/anholt/libepoxy" +description = "Epoxy is a library for handling OpenGL function pointer management for you" + +toolchain = {'name': 'intel', 'version': '2017a'} + +sources = [SOURCE_TAR_XZ] +source_urls = ['https://github.com/anholt/libepoxy/releases/download/%(version)s'] + +dependencies = [ + ('Mesa', '17.0.2'), +] + +#sanity_check_paths = { +# 'files': ['include/X11/extensions/Xdamage.h', 'lib/libXdamage.%s' % SHLIB_EXT, 'lib/libXdamage.a'], +# 'dirs': [], +#} + +moduleclass = 'vis' diff --git a/o/OpenMPI/OpenMPI-2.1.0-GCC-6.3.0-2.27.eb b/o/OpenMPI/OpenMPI-2.1.0-GCC-6.3.0-2.27.eb index 72a15b03..28dce110 100644 --- a/o/OpenMPI/OpenMPI-2.1.0-GCC-6.3.0-2.27.eb +++ b/o/OpenMPI/OpenMPI-2.1.0-GCC-6.3.0-2.27.eb @@ -27,7 +27,7 @@ preconfigopts = 'export LIBS="-ldl" && ' configopts = '--enable-shared --enable-mpi-thread-multiple --with-verbs ' configopts += '--enable-mpirun-prefix-by-default ' # suppress failure modes in relation to mpirun path configopts += '--with-hwloc=$EBROOTHWLOC ' # hwloc support -configopts += '--disable-dlopen ' # statically link component, don't do dynamic loading +#configopts += '--disable-dlopen ' # statically link component, don't do dynamic loading configopts += '--with-tm=/opt/pbs/default ' # Enable PBS configopts += '--enable-mpi-java ' # Java support RT#4090 diff --git a/o/OpenMPI/OpenMPI-2.1.1-GCC-7.1.0-2.28.eb b/o/OpenMPI/OpenMPI-2.1.1-GCC-7.1.0-2.28.eb index a8cd1ae8..c18c52d9 100644 --- a/o/OpenMPI/OpenMPI-2.1.1-GCC-7.1.0-2.28.eb +++ b/o/OpenMPI/OpenMPI-2.1.1-GCC-7.1.0-2.28.eb @@ -20,7 +20,7 @@ builddependencies = [ configopts = '--with-threads=posix --enable-shared --enable-mpi-thread-multiple --with-verbs ' configopts += '--enable-mpirun-prefix-by-default ' # suppress failure modes in relation to mpirun path configopts += '--with-hwloc=$EBROOTHWLOC ' # hwloc support -configopts += '--disable-dlopen ' # statically link component, don't do dynamic loading +#configopts += '--disable-dlopen ' # statically link component, don't do dynamic loading configopts += '--with-tm=/opt/pbs/default ' # Enable PBS configopts += '--enable-mpi-java ' # Java support RT#4090 @@ -30,16 +30,18 @@ preconfigopts = 'export LIBS="-ldl" && ' # needed for --with-verbs osdependencies = [('libibverbs-dev', 'libibverbs-devel')] -libs = ["mpi_cxx", "mpi_mpifh", "mpi", "ompitrace", "open-pal", "open-rte", "vt", "vt-hyb", "vt-mpi", "vt-mpi-unify"] +libs = ["mpi_mpifh", "mpi", "ompitrace", "open-pal", "open-rte"] sanity_check_paths = { 'files': ["bin/%s" % binfile for binfile in ["ompi_info", "opal_wrapper", "orterun"]] + ["lib/lib%s.%s" % (libfile, SHLIB_EXT) for libfile in libs] + ["include/%s.h" % x for x in ["mpi-ext", "mpif-config", "mpif", "mpi", "mpi_portable_platform"]], - 'dirs': ["include/openmpi/ompi/mpi/cxx"], + 'dirs': [], } modextravars = {'OMPI_MCA_btl_openib_if_include': 'mlx4_0', 'OMPI_MCA_oob_tcp_if_include': '10.0.0.0/8', } +modluafooter = 'add_property("state","testing")' + moduleclass = 'mpi' diff --git a/t/Tensorflow/Tensorflow-1.2.0-Python-3.6.1.eb b/t/Tensorflow/Tensorflow-1.2.0-Python-3.6.1.eb new file mode 100644 index 00000000..74fa48f9 --- /dev/null +++ b/t/Tensorflow/Tensorflow-1.2.0-Python-3.6.1.eb @@ -0,0 +1,33 @@ +easyblock = 'PythonPackage' + +name = 'Tensorflow' +version = '1.2.0' + +homepage = 'https://www.tensorflow.org/' +description = "An open-source software library for Machine Intelligence" + +toolchain = {'name': 'GCC', 'version': '7.1.0-2.28'} + +pymaj = '3' +pymin = '6' +pymajmin = pymaj + pymin + +#source_urls = ['https://pypi.python.org/packages/1f/38/c255432f18005362dd2459e3bff2b2411eb7d02ca09fa20ee1dd1311f69f/'] +sources = [ + 'tensorflow-%(version)s-cp36-cp36m-linux_x86_64.whl', +] + +dependencies = [ + ('Java', '1.8.0_121', '', True), + ('protobuf', '3.2.0', '-Python-3.6.1', True) +] + +use_pip = True +unpack_sources = False + +sanity_check_paths = { + 'files': ['bin/tensorboard'], + 'dirs': [''], +} + +moduleclass = 'lib' diff --git a/x/X11/X11-20160819-test.eb b/x/X11/X11-20160819-test.eb new file mode 100644 index 00000000..477b5304 --- /dev/null +++ b/x/X11/X11-20160819-test.eb @@ -0,0 +1,135 @@ +easyblock = 'Bundle' + +name = 'X11' +version = '20160819' +versionsuffix = '-test' + +homepage = 'https://www.x.org' +description = "The X Window System (X11) is a windowing system for bitmap displays" + +toolchain = {'name': 'dummy', 'version': ''} + +source_urls = [ + XORG_LIB_SOURCE, + XORG_PROTO_SOURCE, + 'http://xcb.freedesktop.org/dist/', + 'http://xkbcommon.org/download/', + 'http://cgit.freedesktop.org/xorg/util/macros/snapshot', +] + +builddependencies = [ + ('Autotools', '20150215'), + ('pkg-config', '0.29.2'), +] +dependencies = [ + ('freetype', '2.5.3'), + ('fontconfig', '2.11.1'), + ('zlib', '1.2.11'), + ('bzip2', '1.0.6'), +] + +default_easyblock = 'ConfigureMake' + +common_specs = { + 'sources': [SOURCE_TAR_GZ], + 'start_dir': '%(name)s-%(version)s', +} +components = [ + ('xorg-macros', '1.19.0', { + 'sources': ['util-macros-%(version)s.tar.gz'], + 'start_dir': 'util-macros-%(version)s', + }), + ('xf86-video-dummy', '0.3.5', common_specs), + ('libpthread-stubs', '0.3', common_specs), + ('bigreqsproto', '1.1.2', common_specs), + ('compositeproto', '0.4.2', common_specs), + ('damageproto', '1.2.1', common_specs), + ('dmxproto', '2.3.1', common_specs), + ('dri2proto', '2.8', common_specs), + ('dri3proto', '1.0', common_specs), + ('fixesproto', '5.0', common_specs), + ('fontsproto', '2.1.3', common_specs), + ('glproto', '1.4.17', common_specs), + ('inputproto', '2.3.1', common_specs), + ('kbproto', '1.0.7', common_specs), + ('presentproto', '1.0', common_specs), + ('randrproto', '1.5.0', common_specs), + ('recordproto', '1.14.2', common_specs), + ('renderproto', '0.11', common_specs), + ('resourceproto', '1.2.0', common_specs), + ('scrnsaverproto', '1.2.2', common_specs), + ('videoproto', '2.3.3', common_specs), + ('xcmiscproto', '1.2.2', common_specs), + ('xextproto', '7.3.0', common_specs), + ('xf86bigfontproto', '1.2.0', common_specs), + ('xf86dgaproto', '2.1', common_specs), + ('xf86driproto', '2.1.1', common_specs), + ('xf86vidmodeproto', '2.3.1', common_specs), + ('xineramaproto', '1.2.1', common_specs), + ('xproto', '7.0.28', common_specs), + ('libXau', '1.0.8', common_specs), + ('libXdmcp', '1.1.2', common_specs), + ('xcb-proto', '1.11', common_specs), + ('libxcb', '1.11.1', common_specs), + ('xtrans', '1.3.5', common_specs), + ('libxkbcommon', '0.6.1', { + 'sources': ['libxkbcommon-%(version)s.tar.xz'], + 'start_dir': 'libxkbcommon-%(version)s', + }), + ('libX11', '1.6.3', common_specs), + ('libXext', '1.3.3', common_specs), + ('libFS', '1.0.7', common_specs), + ('libICE', '1.0.9', common_specs), + ('libSM', '1.2.2', common_specs), + ('libXScrnSaver', '1.2.2', common_specs), + ('libXt', '1.1.5', common_specs), + ('libXmu', '1.1.2', common_specs), + ('libXpm', '3.5.11', common_specs), + ('libXaw', '1.0.13', common_specs), + ('libXfixes', '5.0.2', common_specs), + ('libXcomposite', '0.4.4', common_specs), + ('libXrender', '0.9.9', common_specs), + ('libXcursor', '1.1.14', common_specs), + ('libXdamage', '1.1.4', common_specs), + ('libfontenc', '1.1.3', common_specs), + ('libXfont', '1.5.1', common_specs), + ('libXi', '1.7.6', common_specs), + ('libXinerama', '1.1.3', common_specs), + ('libXrandr', '1.5.0', common_specs), + ('libXres', '1.0.7', common_specs), + ('libXtst', '1.2.2', common_specs), + ('libXv', '1.0.10', common_specs), + ('libXvMC', '1.0.9', common_specs), + ('libXxf86dga', '1.1.4', common_specs), + ('libXxf86vm', '1.1.4', common_specs), + ('libdmx', '1.1.3', common_specs), + ('libpciaccess', '0.13.4', common_specs), + ('libxkbfile', '1.0.9', common_specs), + ('libxshmfence', '1.2', common_specs), + ('xcb-util', '0.4.0', common_specs), + ('xcb-util-image', '0.4.0', common_specs), + ('xcb-util-keysyms', '0.4.0', common_specs), + ('xcb-util-renderutil', '0.3.9', common_specs), + ('xcb-util-wm', '0.4.1', common_specs), + ('xcb-util-cursor', '0.1.3', common_specs), +] + +# Python is required for xcb-proto +allow_system_deps = [('Python', SYS_PYTHON_VERSION)] +pyshortver = '.'.join(SYS_PYTHON_VERSION.split('.')[0:2]) + +preconfigopts = "if [ ! -f configure ]; then ./autogen.sh; fi && " + +# specify that Bundle easyblock should run a full sanity check, rather than just trying to load the module +full_sanity_check = True + + +modluafooter = 'add_property("state","testing")' + +sanity_check_paths = { + 'files': ['include/X11/Xlib.h', 'include/X11/Xutil.h'], + 'dirs': ['include/GL', 'include/X11', 'include/X11/extensions', 'lib', + 'lib/python%s/site-packages/xcbgen' % pyshortver, 'lib/pkgconfig', 'share/pkgconfig'], +} + +moduleclass = 'vis' diff --git a/x/X11/X11-20170314-test.eb b/x/X11/X11-20170314-test.eb new file mode 100644 index 00000000..25a802bc --- /dev/null +++ b/x/X11/X11-20170314-test.eb @@ -0,0 +1,144 @@ +easyblock = 'Bundle' + +name = 'X11' +version = '20170314' +versionsuffix = '-test' + +homepage = 'https://www.x.org' +description = "The X Window System (X11) is a windowing system for bitmap displays" + +toolchain = {'name': 'dummy', 'version': ''} + +source_urls = [ + XORG_LIB_SOURCE, + XORG_PROTO_SOURCE, + 'http://xcb.freedesktop.org/dist/', + 'http://xkbcommon.org/download/', + 'http://cgit.freedesktop.org/xorg/util/macros/snapshot', +] + +dependencies = [ + ('bzip2', '1.0.6'), + ('fontconfig', '2.12.1', '-libpng-1.6.29'), + ('freetype', '2.7.1', '-libpng-1.6.29'), + ('zlib', '1.2.11'), +] +builddependencies = [ + ('Autotools', '20150215'), + ('Bison', '3.0.4'), + ('gettext', '0.19.8.1'), + ('pkg-config', '0.29.2'), + # use same binutils version that was used when building GCCcore toolchain + ('binutils', '2.27', '', True), +] + +default_easyblock = 'ConfigureMake' + +common_specs = { + 'sources': [SOURCE_TAR_GZ], + 'start_dir': '%(name)s-%(version)s', +} +components = [ + ('xorg-macros', '1.19.1', { # 2017-01-29 + 'sources': ['util-macros-%(version)s.tar.gz'], + 'start_dir': 'util-macros-%(version)s', + }), + ('libpthread-stubs', '0.4', common_specs), # 2017-03-14 + ('bigreqsproto', '1.1.2', common_specs), # 2012-03-23 + ('compositeproto', '0.4.2', common_specs), # 2010-10-30 + ('damageproto', '1.2.1', common_specs), # 2010-10-30 + ('dmxproto', '2.3.1', common_specs), # 2011-01-06 + ('dri2proto', '2.8', common_specs), # 2012-07-11 + ('dri3proto', '1.0', common_specs), # 2013-11-01 + ('fixesproto', '5.0', common_specs), # 2011-03-08 + ('fontsproto', '2.1.3', common_specs), # 2014-04-14 + ('glproto', '1.4.17', common_specs), # 2013-12-10 + ('inputproto', '2.3.2', common_specs), # 2016-04-04 + ('kbproto', '1.0.7', common_specs), # 2015-05-01 + ('presentproto', '1.1', common_specs), # 2017-01-26 + ('randrproto', '1.5.0', common_specs), # 2015-05-17 + ('recordproto', '1.14.2', common_specs), # 2012-03-23 + ('renderproto', '0.11.1', common_specs), # 2010-08-10 + ('resourceproto', '1.2.0', common_specs), # 2011-05-28 + ('scrnsaverproto', '1.2.2', common_specs), # 2012-03-23 + ('videoproto', '2.3.3', common_specs), # 2016-03-11 + ('xcmiscproto', '1.2.2', common_specs), # 2012-03-23 + ('xextproto', '7.3.0', common_specs), # 2013-12-27 + ('xf86bigfontproto', '1.2.0', common_specs), # 2009-08-27 + ('xf86dgaproto', '2.1', common_specs), # 2009-10-01 + ('xf86driproto', '2.1.1', common_specs), # 2011-01-06 + ('xf86vidmodeproto', '2.3.1', common_specs), # 2011-01-06 + ('xineramaproto', '1.2.1', common_specs), # 2011-01-06 + ('xproto', '7.0.31', common_specs), # 2016-09-23 + ('libXau', '1.0.8', common_specs), # 2013-05-24 + ('libXdmcp', '1.1.2', common_specs), # 2015-03-21 + ('xcb-proto', '1.12', common_specs), # 2016-05-18 + ('libxcb', '1.12', common_specs), # 2016-05-18 + ('xtrans', '1.3.5', common_specs), # 2014-09-22 + ('libxkbcommon', '0.7.1', { # 2017-01-18 + 'sources': ['libxkbcommon-%(version)s.tar.xz'], + 'start_dir': 'libxkbcommon-%(version)s', + }), + ('libX11', '1.6.5', common_specs), # 2017-02-26 + ('libXext', '1.3.3', common_specs), # 2014-07-24 + ('libFS', '1.0.7', common_specs), # 2015-05-01 + ('libICE', '1.0.9', common_specs), # 2014-06-07 + ('libSM', '1.2.2', common_specs), # 2013-09-08 + ('libXScrnSaver', '1.2.2', common_specs), # 2012-03-08 + ('libXt', '1.1.5', common_specs), # 2015-05-01 + ('libXmu', '1.1.2', common_specs), # 2013-09-08 + ('libXpm', '3.5.12', common_specs), # 2016-12-15 + ('libXaw', '1.0.13', common_specs), # 2015-05-01 + ('libXfixes', '5.0.3', common_specs), # 2016-10-04 + ('libXcomposite', '0.4.4', common_specs), # 2013-01-03 + ('libXrender', '0.9.10', common_specs), # 2016-10-04 + ('libXcursor', '1.1.14', common_specs), # 2013-05-30 + ('libXdamage', '1.1.4', common_specs), # 2013-01-03 + ('libfontenc', '1.1.3', common_specs), # 2015-05-01 + ('libXfont', '1.5.2', common_specs), # 2016-08-31 + ('libXfont2', '2.0.1', common_specs), # 2015-12-11 + ('libXft', '2.3.2', common_specs), # 2014-06-06 + ('libXi', '1.7.9', common_specs), # 2017-01-23 + ('libXinerama', '1.1.3', common_specs), # 2013-05-31 + ('libXrandr', '1.5.1', common_specs), # 2016-10-04 + ('libXres', '1.0.7', common_specs), # 2013-05-31 + ('libXtst', '1.2.3', common_specs), # 2016-10-04 + ('libXv', '1.0.11', common_specs), # 2016-10-04 + ('libXvMC', '1.0.10', common_specs), # 2016-10-04 + ('libXxf86dga', '1.1.4', common_specs), # 2013-05-31 + ('libXxf86vm', '1.1.4', common_specs), # 2015-02-24 + ('libdmx', '1.1.3', common_specs), # 2013-05-28 + ('libpciaccess', '0.13.4', common_specs), # 2015-05-01 + ('libxkbfile', '1.0.9', common_specs), # 2015-05-01 + ('libxshmfence', '1.2', common_specs), # 2015-01-02 + ('xcb-util', '0.4.0', common_specs), # 2014-10-15 + ('xcb-util-image', '0.4.0', common_specs), # 2014-10-15 + ('xcb-util-keysyms', '0.4.0', common_specs), # 2014-10-01 + ('xcb-util-renderutil', '0.3.9', common_specs), # 2014-06-13 + ('xcb-util-wm', '0.4.1', common_specs), # 2014-02-19 + ('xcb-util-cursor', '0.1.3', common_specs), # 2016-05-12 +] + +# Python is required for xcb-proto +allow_system_deps = [('Python', SYS_PYTHON_VERSION)] +pyshortver = '.'.join(SYS_PYTHON_VERSION.split('.')[0:2]) + +preconfigopts = "if [ ! -f configure ]; then ./autogen.sh; fi && " + +modluafooter = 'add_property("state","testing")' + +#xkbcommon configuration dir +postinstallcmds = [ + 'ln -s %(installdir)s/share/xcb %(installdir)s/share/X11/xkb' +] + +# specify that Bundle easyblock should run a full sanity check, rather than just trying to load the module +full_sanity_check = True + +sanity_check_paths = { + 'files': ['include/X11/Xlib.h', 'include/X11/Xutil.h'], + 'dirs': ['include/GL', 'include/X11', 'include/X11/extensions', 'lib', + 'lib/python%s/site-packages/xcbgen' % pyshortver, 'lib/pkgconfig', 'share/pkgconfig'], +} + +moduleclass = 'vis' diff --git a/x/xf86-video-dummy/xf86-video-dummy-0.3.5.eb b/x/xf86-video-dummy/xf86-video-dummy-0.3.5.eb new file mode 100644 index 00000000..1911b93c --- /dev/null +++ b/x/xf86-video-dummy/xf86-video-dummy-0.3.5.eb @@ -0,0 +1,32 @@ +easyblock = 'ConfigureMake' + +name = 'xf86-video-dummy' +version = '0.3.5' + +homepage = "http://www.x.org/wiki/" +description = """The xprop utility is for displaying window and font properties in an X server. + One window or font is selected using the command line arguments or possibly + in the case of a window, by clicking on the desired window. A list of + properties is then given, possibly with formatting information.""" + +toolchain = {'name': 'dummy', 'version': ''} + +sources = [SOURCE_TAR_GZ] +source_urls = ['https://www.x.org/archive/individual/driver/'] + +#preconfigopts = './autogen.sh && ' + +#builddependencies = [ +# ('xorg-macros', '1.19.1'), +#] + +dependencies = [ + ('X11', '20170314'), +] + +sanity_check_paths = { + 'files': ['bin/xprop'], + 'dirs': [], +} + +moduleclass = 'vis' diff --git a/x/xf86-video-fbdev/xf86-video-fbdev-0.4.4.eb b/x/xf86-video-fbdev/xf86-video-fbdev-0.4.4.eb new file mode 100644 index 00000000..24a39e1c --- /dev/null +++ b/x/xf86-video-fbdev/xf86-video-fbdev-0.4.4.eb @@ -0,0 +1,32 @@ +easyblock = 'ConfigureMake' + +name = 'xf86-video-fbdev' +version = '0.4.4' + +homepage = "http://www.x.org/wiki/" +description = """The xprop utility is for displaying window and font properties in an X server. + One window or font is selected using the command line arguments or possibly + in the case of a window, by clicking on the desired window. A list of + properties is then given, possibly with formatting information.""" + +toolchain = {'name': 'dummy', 'version': ''} + +sources = [SOURCE_TAR_GZ] +source_urls = ['https://www.x.org/archive/individual/driver/'] + +#preconfigopts = './autogen.sh && ' + +#builddependencies = [ +# ('xorg-macros', '1.19.1'), +#] + +dependencies = [ + ('X11', '20170314'), +] + +sanity_check_paths = { + 'files': ['bin/xprop'], + 'dirs': [], +} + +moduleclass = 'vis' diff --git a/x/xorg-macros/xorg-macros-1.19.1.eb b/x/xorg-macros/xorg-macros-1.19.1.eb new file mode 100644 index 00000000..56931363 --- /dev/null +++ b/x/xorg-macros/xorg-macros-1.19.1.eb @@ -0,0 +1,22 @@ +easyblock = 'ConfigureMake' + +name = 'xorg-macros' +version = '1.19.1' + +homepage = 'http://cgit.freedesktop.org/xorg/util/macros' +description = """X.org macros utilities.""" +toolchain = {'name': 'dummy', 'version': ''} + +source_urls = ['https://www.x.org/archive//individual/util/'] +sources = ['util-macros-%(version)s.tar.gz'] + +dependencies = [('Autoconf', '2.69')] + +#preconfigopts = './autogen.sh && ' + +sanity_check_paths = { + 'files': ['share/pkgconfig/xorg-macros.pc'], + 'dirs': [], +} + +moduleclass = 'devel' diff --git a/x/xorg-server/xorg-server-1.19.3.eb b/x/xorg-server/xorg-server-1.19.3.eb new file mode 100644 index 00000000..b8e79675 --- /dev/null +++ b/x/xorg-server/xorg-server-1.19.3.eb @@ -0,0 +1,32 @@ +easyblock = 'ConfigureMake' + +name = 'xorg-server' +version = '1.19.3' + +homepage = "http://www.x.org/wiki/" +description = """The xprop utility is for displaying window and font properties in an X server. + One window or font is selected using the command line arguments or possibly + in the case of a window, by clicking on the desired window. A list of + properties is then given, possibly with formatting information.""" + +toolchain = {'name': 'dummy', 'version': ''} + +sources = [SOURCE_TAR_GZ] +source_urls = ['https://www.x.org/archive/individual/xserver/'] + +#preconfigopts = './autogen.sh && ' + +#builddependencies = [ +# ('xorg-macros', '1.19.1'), +#] + +dependencies = [ + ('X11', '20170314'), +] + +sanity_check_paths = { + 'files': ['bin/xprop'], + 'dirs': [], +} + +moduleclass = 'vis'