diff --git a/Golden_Repo/g/gzip/gzip-1.12-GCCcore-11.3.0.eb b/Golden_Repo/g/gzip/gzip-1.12-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..d5a319eea58d4435ac8a4977092f496807232088 --- /dev/null +++ b/Golden_Repo/g/gzip/gzip-1.12-GCCcore-11.3.0.eb @@ -0,0 +1,29 @@ +easyblock = 'ConfigureMake' + +name = 'gzip' +version = '1.12' + +homepage = 'https://www.gnu.org/software/gzip/' +description = "gzip (GNU zip) is a popular data compression program as a replacement for compress" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +source_urls = [GNU_SOURCE] +sources = [SOURCE_TAR_GZ] +patches = ['gzip-1.12_fix-gnulib-strndup-redeclaration.patch'] +checksums = [ + '5b4fb14d38314e09f2fc8a1c510e7cd540a3ea0e3eb9b0420046b82c3bf41085', # gzip-1.12.tar.gz + # gzip-1.12_fix-gnulib-strndup-redeclaration.patch + '9c67e3e88848f7ff1f19f29d87f286bac1cc8f027f7eea9bcaf53883b95032e4', +] + +builddependencies = [('binutils', '2.38')] + +sanity_check_paths = { + 'files': ["bin/gunzip", "bin/gzip", "bin/uncompress"], + 'dirs': [], +} + +sanity_check_commands = [True, ('gzip', '--version')] + +moduleclass = 'tools' diff --git a/Golden_Repo/g/gzip/gzip-1.12_fix-gnulib-strndup-redeclaration.patch b/Golden_Repo/g/gzip/gzip-1.12_fix-gnulib-strndup-redeclaration.patch new file mode 100644 index 0000000000000000000000000000000000000000..f8cbf883a925b9d1df3851265ab871c8c1148e68 --- /dev/null +++ b/Golden_Repo/g/gzip/gzip-1.12_fix-gnulib-strndup-redeclaration.patch @@ -0,0 +1,27 @@ +Patch taken from: +https://lists.gnu.org/archive/html/bug-gnulib/2022-04/msg00080.html +2022-04-30 Bruno Haible <bruno@clisp.org> +---------------------------------------------- +diff --git a/lib/string.in.h b/lib/string.in.h +index b6840fa912..33160b2525 100644 +--- a/lib/string.in.h ++++ b/lib/string.in.h +@@ -583,7 +583,7 @@ _GL_FUNCDECL_RPL (strndup, char *, + _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); + _GL_CXXALIAS_RPL (strndup, char *, (char const *__s, size_t __n)); + # else +-# if !@HAVE_DECL_STRNDUP@ || __GNUC__ >= 11 ++# if !@HAVE_DECL_STRNDUP@ || (__GNUC__ >= 11 && !defined strndup) + _GL_FUNCDECL_SYS (strndup, char *, + (char const *__s, size_t __n) + _GL_ARG_NONNULL ((1)) +@@ -593,7 +593,7 @@ _GL_CXXALIAS_SYS (strndup, char *, (char const *__s, size_t __n)); + # endif + _GL_CXXALIASWARN (strndup); + #else +-# if __GNUC__ >= 11 ++# if __GNUC__ >= 11 && !defined strndup + /* For -Wmismatched-dealloc: Associate strndup with free or rpl_free. */ + _GL_FUNCDECL_SYS (strndup, char *, + (char const *__s, size_t __n) + diff --git a/Golden_Repo/z/zstd/zstd-1.5.2-GCCcore-11.3.0.eb b/Golden_Repo/z/zstd/zstd-1.5.2-GCCcore-11.3.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..643abebdfdb21256c4ce68c904979f36ad60d42e --- /dev/null +++ b/Golden_Repo/z/zstd/zstd-1.5.2-GCCcore-11.3.0.eb @@ -0,0 +1,41 @@ +easyblock = 'ConfigureMake' + +name = 'zstd' +version = '1.5.2' + +homepage = 'https://facebook.github.io/zstd' +description = """Zstandard is a real-time compression algorithm, providing high compression ratios. + It offers a very wide range of compression/speed trade-off, while being backed by a very fast decoder. + It also offers a special mode for small data, called dictionary compression, and can create dictionaries + from any sample set.""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +github_account = 'facebook' +source_urls = [GITHUB_SOURCE] +sources = ['v%(version)s.tar.gz'] +checksums = ['f7de13462f7a82c29ab865820149e778cbfe01087b3a55b5332707abf9db4a6e'] + +builddependencies = [ + ('binutils', '2.38'), +] + +dependencies = [ + ('zlib', '1.2.12'), + ('gzip', '1.12'), + ('XZ', '5.2.5'), + ('lz4', '1.9.3'), +] + +skipsteps = ['configure'] + +runtest = 'check' + +installopts = "PREFIX=%(installdir)s" + +sanity_check_paths = { + 'files': ["bin/zstd", "lib/libzstd.%s" % SHLIB_EXT, "include/zstd.h"], + 'dirs': ["lib/pkgconfig"] +} + +moduleclass = 'lib'