From 55faa317bdfefe7af8d1a6e60643c2217fe9471e Mon Sep 17 00:00:00 2001 From: Jakub Kropacek Date: Fri, 19 Aug 2022 12:27:07 +0200 Subject: [PATCH] new file: i/intel-compilers/q new file: l/libmad/SoX-14.4.2-GCCcore-11.3.0.eb new file: l/libmad/libmad-0.15.1b-GCCcore-11.3.0-remove-depreciated-gcc-options.patch new file: l/libmad/libmad-0.15.1b-GCCcore-11.3.0.eb new file: s/SoX/SoX-14.4.2-GCCcore-11.3.0.eb deleted: s/SoX/SoX-14.4.2-GCC-11.3.0.eb --- i/intel-compilers/q | 0 .../libmad/SoX-14.4.2-GCCcore-11.3.0.eb | 4 +- ...1.3.0-remove-depreciated-gcc-options.patch | 22 +++++++++++ l/libmad/libmad-0.15.1b-GCCcore-11.3.0.eb | 31 ++++++++++++++++ s/SoX/SoX-14.4.2-GCCcore-11.3.0.eb | 37 +++++++++++++++++++ 5 files changed, 93 insertions(+), 1 deletion(-) create mode 100644 i/intel-compilers/q rename s/SoX/SoX-14.4.2-GCC-11.3.0.eb => l/libmad/SoX-14.4.2-GCCcore-11.3.0.eb (90%) create mode 100644 l/libmad/libmad-0.15.1b-GCCcore-11.3.0-remove-depreciated-gcc-options.patch create mode 100644 l/libmad/libmad-0.15.1b-GCCcore-11.3.0.eb create mode 100644 s/SoX/SoX-14.4.2-GCCcore-11.3.0.eb diff --git a/i/intel-compilers/q b/i/intel-compilers/q new file mode 100644 index 00000000..e69de29b diff --git a/s/SoX/SoX-14.4.2-GCC-11.3.0.eb b/l/libmad/SoX-14.4.2-GCCcore-11.3.0.eb similarity index 90% rename from s/SoX/SoX-14.4.2-GCC-11.3.0.eb rename to l/libmad/SoX-14.4.2-GCCcore-11.3.0.eb index 441c8f74..40dc6df8 100644 --- a/s/SoX/SoX-14.4.2-GCC-11.3.0.eb +++ b/l/libmad/SoX-14.4.2-GCCcore-11.3.0.eb @@ -12,12 +12,14 @@ homepage = 'http://sox.sourceforge.net/' docurls = 'http://sox.sourceforge.net/Docs/Documentation' description = """Sound eXchange, the Swiss Army knife of audio manipulation""" -toolchain = {'name': 'GCC', 'version': '11.3.0'} +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} source_urls = ['https://sourceforge.net/projects/sox/files/sox/%(version)s'] sources = [SOURCELOWER_TAR_GZ] checksums = ['b45f598643ffbd8e363ff24d61166ccec4836fea6d3888881b8df53e3bb55f6c'] +builddependencies = [('binutils', '2.38')] + dependencies = [ ('FLAC', '1.3.4'), ('LAME', '3.100'), diff --git a/l/libmad/libmad-0.15.1b-GCCcore-11.3.0-remove-depreciated-gcc-options.patch b/l/libmad/libmad-0.15.1b-GCCcore-11.3.0-remove-depreciated-gcc-options.patch new file mode 100644 index 00000000..0387456d --- /dev/null +++ b/l/libmad/libmad-0.15.1b-GCCcore-11.3.0-remove-depreciated-gcc-options.patch @@ -0,0 +1,22 @@ +diff -Nru libmad-0.15.1b.orig/configure libmad-0.15.1b/configure +--- libmad-0.15.1b.orig/configure 2022-08-19 11:44:53.156998000 +0200 ++++ libmad-0.15.1b/configure 2022-08-19 11:45:31.855629909 +0200 +@@ -19099,7 +19099,6 @@ + case "$optimize" in + -O|"-O "*) + optimize="-O" +- optimize="$optimize -fforce-mem" + optimize="$optimize -fforce-addr" + : #x optimize="$optimize -finline-functions" + : #- optimize="$optimize -fstrength-reduce" +diff -Nru libmad-0.15.1b.orig/configure.ac libmad-0.15.1b/configure.ac +--- libmad-0.15.1b.orig/configure.ac 2022-08-19 11:44:53.172288000 +0200 ++++ libmad-0.15.1b/configure.ac 2022-08-19 11:45:43.617447388 +0200 +@@ -140,7 +140,6 @@ + case "$optimize" in + -O|"-O "*) + optimize="-O" +- optimize="$optimize -fforce-mem" + optimize="$optimize -fforce-addr" + : #x optimize="$optimize -finline-functions" + : #- optimize="$optimize -fstrength-reduce" diff --git a/l/libmad/libmad-0.15.1b-GCCcore-11.3.0.eb b/l/libmad/libmad-0.15.1b-GCCcore-11.3.0.eb new file mode 100644 index 00000000..1ece31b0 --- /dev/null +++ b/l/libmad/libmad-0.15.1b-GCCcore-11.3.0.eb @@ -0,0 +1,31 @@ +# IT4Innovations 2022 +# JK + +easyblock = 'ConfigureMake' + +name = 'libmad' +version = '0.15.1b' + +homepage = 'http://www.example.com' +description = """TEMPLATE DESCRIPTION""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +source_urls = ['https://sourceforge.net/projects/mad/files/libmad/%(version)s'] +sources = [SOURCELOWER_TAR_GZ] +patches = ['libmad-0.15.1b-GCCcore-11.3.0-remove-depreciated-gcc-options.patch'] +checksums = [ + 'bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690', # libmad-0.15.1b.tar.gz + # libmad-0.15.1b-GCCcore-11.3.0-remove-depreciated-gcc-options.patch + 'c7dc07f0d502e31a09ddb82b30827a71d8dfacd39053ee2107d4fc4b0470d2c3', +] + +builddependencies = [('binutils', '2.38')] + +sanity_check_paths = { + 'files': [], + 'dirs': ["."] +} + +# You SHOULD change the following line; Kindly consult other easyconfigs for possible options +moduleclass = 'lib' diff --git a/s/SoX/SoX-14.4.2-GCCcore-11.3.0.eb b/s/SoX/SoX-14.4.2-GCCcore-11.3.0.eb new file mode 100644 index 00000000..b6b77090 --- /dev/null +++ b/s/SoX/SoX-14.4.2-GCCcore-11.3.0.eb @@ -0,0 +1,37 @@ +# Institution: IT4Innovations National Supercomputing Center, Czech Republic +# Author: Jakub Kropacek +# License: GPLv3 +# Year: 2022 + +easyblock = 'ConfigureMake' + +name = 'SoX' +version = '14.4.2' + +homepage = 'http://sox.sourceforge.net/' +docurls = 'http://sox.sourceforge.net/Docs/Documentation' +description = """Sound eXchange, the Swiss Army knife of audio manipulation""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +source_urls = [SOURCEFORGE_SOURCE] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['b45f598643ffbd8e363ff24d61166ccec4836fea6d3888881b8df53e3bb55f6c'] + +builddependencies = [('binutils', '2.38')] + +dependencies = [ + ('FLAC', '1.3.4'), + ('LAME', '3.100'), +# ('libmad', '0.15.1b'), + ('libvorbis', '1.3.7'), + ('FFmpeg', '5.0.1'), +] + +sanity_check_paths = { + 'files': ['bin/play', 'bin/rec', 'bin/sox', 'bin/soxi', 'include/sox.h', + 'lib/libsox.la', 'lib/libsox.a', 'lib/pkgconfig/sox.pc', 'lib/libsox.%s' % SHLIB_EXT], + 'dirs': ['bin', 'include', 'lib', 'lib/pkgconfig', 'share/man'], +} + +moduleclass = 'data'