Browse Source

New modules

Pierre-Yves Barriat 6 years ago
parent
commit
d03af8a80c

+ 24 - 0
intel-2018/grib_api-1.26.1-intel-2018.eb

@@ -0,0 +1,24 @@
+easyblock = 'ConfigureMake'
+
+name = 'grib_api'
+version = '1.26.1'
+
+homepage = 'https://software.ecmwf.int/wiki/display/GRIB/Home'
+description = """The ECMWF GRIB API is an application program interface accessible from C, FORTRAN and Python
+ programs developed for encoding and decoding WMO FM-92 GRIB edition 1 and edition 2 messages. A useful set of
+ command line tools is also provided to give quick access to GRIB messages."""
+
+toolchain = {'name': 'intel', 'version': '2018'}
+
+source_urls = ['https://software.ecmwf.int/wiki/download/attachments/3473437/']
+sources = ['grib_api-%(version)s-Source.tar.gz']
+
+dependencies = [
+    ('openjpeg', '1.5.2'),
+]
+
+configopts = '--with-openjpeg=$EBROOTOPENJPEG'
+
+parallel = 1
+
+moduleclass = 'data'

+ 35 - 0
intel-2018/openjpeg-1.5.2-intel-2018.eb

@@ -0,0 +1,35 @@
+easyblock = 'CMakeMake'
+
+name = 'openjpeg'
+version = '1.5.2'
+
+homepage = "http://www.openjpeg.org/"
+description = """OpenJPEG is an open-source JPEG 2000 codec written in C language. 
+ It has been developed in order to promote the use of JPEG 2000, a still-image 
+ compression standard from the Joint Photographic Experts Group (JPEG). 
+ Since may 2015, it is officially recognized by ISO/IEC and ITU-T as a JPEG 2000 
+ Reference Software."""
+
+toolchain = {'name': 'intel', 'version': '2018'}
+
+source_urls = ["https://github.com/uclouvain/openjpeg/archive"]
+sources = ["version.%(version)s.tar.gz"]
+
+builddependencies = [
+    ('CMake', '3.9.1'),
+]
+
+configopts = '-DBUILD_SHARED_LIBS:bool=on'
+
+sanity_check_paths = {
+    'files': ['bin/j2k_dump', 'bin/image_to_j2k'],
+    'dirs': [],
+}
+
+postinstallcmds = [
+    'ln -s %(installdir)s/include/openjpeg-1.5/openjpeg.h %(installdir)s/include/openjpeg.h'
+]
+
+separate_build_dir = True
+
+moduleclass = 'lib'

+ 31 - 0
intel-2018/openjpeg-2.3.0-intel-2018.eb

@@ -0,0 +1,31 @@
+easyblock = 'CMakeMake'
+
+name = 'openjpeg'
+version = '2.3.0'
+
+homepage = "http://www.openjpeg.org/"
+description = """OpenJPEG is an open-source JPEG 2000 codec written in C language. 
+ It has been developed in order to promote the use of JPEG 2000, a still-image 
+ compression standard from the Joint Photographic Experts Group (JPEG). 
+ Since may 2015, it is officially recognized by ISO/IEC and ITU-T as a JPEG 2000 
+ Reference Software."""
+
+toolchain = {'name': 'intel', 'version': '2018'}
+
+source_urls = ["https://github.com/uclouvain/openjpeg/archive"]
+sources = ["v%(version)s.tar.gz"]
+
+builddependencies = [
+    ('CMake', '3.9.1'),
+]
+
+configopts = '-DCMAKE_BUILD_TYPE=Release'
+
+sanity_check_paths = {
+    'files': ['bin/opj_compress', 'bin/opj_decompress'],
+    'dirs': [],
+}
+
+separate_build_dir = True
+
+moduleclass = 'lib'