diff --git a/f/flex/flex-2.6.4.eb b/f/flex/flex-2.6.4.eb new file mode 100644 index 00000000..b4cc8821 --- /dev/null +++ b/f/flex/flex-2.6.4.eb @@ -0,0 +1,16 @@ +name = 'flex' +version = '2.6.4' + +homepage = 'http://flex.sourceforge.net/' +description = """Flex (Fast Lexical Analyzer) is a tool for generating scanners. A scanner, + sometimes called a tokenizer, is a program which recognizes lexical patterns in text.""" + +toolchain = {'name': 'dummy', 'version': ''} +toolchainopts = {'pic': True} + +sources = [SOURCELOWER_TAR_GZ] +source_urls = ['http://prdownloads.sourceforge.net/%(namelower)s'] + +dependencies = [('Bison', '3.0.4')] + +moduleclass = 'lang' diff --git a/o/Octave/Octave-4.2.1-intel-2017a.eb b/o/Octave/Octave-4.2.1-intel-2017a.eb new file mode 100644 index 00000000..922fd3ed --- /dev/null +++ b/o/Octave/Octave-4.2.1-intel-2017a.eb @@ -0,0 +1,65 @@ +easyblock = 'ConfigureMake' + +name = 'Octave' +version = '4.2.1' + +homepage = 'http://www.gnu.org/software/octave/' +description = """GNU Octave is a high-level interpreted language, primarily intended for numerical computations.""" + +toolchain = {'name': 'intel', 'version': '2017a'} + +source_urls = [GNU_SOURCE] +sources = [SOURCELOWER_TAR_GZ] + +patches = ['%(name)s-%(version)s_intel.patch'] + +builddependencies = [ + ('Bison', '3.0.4', '', True), + ('flex', '2.6.4', '', True), + ('Autotools', '20150215', '', True), + ('libtool', '2.4.6', '', True), + ('gperf', '3.0.4'), +] + +dependencies = [ + ('X11', '20170314', '', True), + ('PCRE', '8.40', '', True), + ('ncurses', '6.0', '', True), + ('libreadline', '7.0', '', True), + ('arpack-ng', '3.5.0'), + ('cURL', '7.53.1', '', True), + ('FLTK', '1.3.4'), + ('fontconfig', '2.12.1', '-libpng-1.6.29', True), + ('freetype', '2.7.1', '-libpng-1.6.29', True), + ('GLPK', '4.61'), + ('GL2PS', '1.4.0'), + ('gnuplot', '5.0.6'), + ('Java', '1.8.0_121', '', True), + ('zlib', '1.2.11', '', True), + ('Mesa', '17.0.2'), + ('libGLU', '9.0.0', '', True), + ('Qhull', '2015.2'), + ('Qt5', '5.8.0', '', ('GCC', '6.3.0-2.27')), + ('HDF5', '1.8.18', '-serial'), + ('qrupdate', '1.1.2'), + ('SuiteSparse', '4.5.5', '-METIS-5.1.0'), + ('GraphicsMagick', '1.3.25'), + ('FFTW', '3.3.6'), +] + +configopts = 'MOC=$EBROOTQT5/bin/moc ' +configopts += 'UIC=$EBROOTQT5/bin/uic ' +configopts += 'RCC=$EBROOTQT5/bin/rcc ' +configopts += 'LRELEASE=$EBROOTQT5/bin/lrelease ' +configopts += '--with-blas="$LIBBLAS" --with-lapack="$LIBLAPACK" --disable-docs ' +# correct for both GCC and Intel compilers +configopts += '--enable-fortran-calling-convention=gfortran' + +sanity_check_paths = { + 'files': ['bin/octave'], + 'dirs': [] +} + +sanity_check_commands = [('octave', '--eval "1+2"')] + +moduleclass = 'math'