forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding easyconfigs: ccache-4.9-GCCcore-12.2.0.eb, hiredis-1.2.0-GCCco…
…re-12.2.0.eb
- Loading branch information
Showing
2 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
49 changes: 49 additions & 0 deletions
49
easybuild/easyconfigs/c/ccache/ccache-4.9-GCCcore-12.2.0.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Copyright:: Copyright 2012-2014 Uni.Lu/LCSB, NTUA | ||
# Authors:: Fotis Georgatos <[email protected]> | ||
# License:: MIT/GPL | ||
|
||
easyblock = 'CMakeNinja' | ||
|
||
name = 'ccache' | ||
version = '4.9' | ||
|
||
homepage = 'https://ccache.dev/' | ||
description = """Ccache (or “ccache”) is a compiler cache. It speeds up recompilation by | ||
caching previous compilations and detecting when the same compilation is being done again""" | ||
|
||
toolchain = {'name': 'GCCcore', 'version': '12.2.0'} | ||
|
||
source_urls = [GITHUB_RELEASE] | ||
sources = [SOURCE_TAR_GZ] | ||
checksums = ['866b2223d59333640f0e7a003cbb85b32d9ca3c9445bd9e3cf142942e69dd3ec'] | ||
|
||
builddependencies = [ | ||
('binutils', '2.39'), | ||
('CMake', '3.24.3'), | ||
('Ninja', '1.11.1'), | ||
('zstd', '1.5.2'), | ||
('pkgconf', '1.9.3'), | ||
] | ||
|
||
dependencies = [ | ||
('hiredis', '1.2.0'), | ||
] | ||
|
||
# use BFD linker rather than default ld.gold (required on CentOS 8) | ||
preconfigopts = 'LDFLAGS="-fuse-ld=bfd"' | ||
configopts = ' '.join([ | ||
'-DENABLE_DOCUMENTATION=OFF', | ||
'-DENABLE_IPO=ON', | ||
# Link most libraries statically | ||
'-DSTATIC_LINK=ON', | ||
# Disable downloading dependencies | ||
'-DZSTD_FROM_INTERNET=OFF -DHIREDIS_FROM_INTERNET=OFF', | ||
]) | ||
|
||
sanity_check_paths = { | ||
'files': ['bin/ccache'], | ||
'dirs': [] | ||
} | ||
sanity_check_commands = ['ccache --help'] | ||
|
||
moduleclass = 'tools' |
41 changes: 41 additions & 0 deletions
41
easybuild/easyconfigs/h/hiredis/hiredis-1.2.0-GCCcore-12.2.0.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Author: Alexander Grund (TU Dresden) | ||
# Based on EC by J. Sassmannshausen (Imperial College London) | ||
|
||
easyblock = 'CMakeMake' | ||
|
||
name = 'hiredis' | ||
version = '1.2.0' | ||
|
||
homepage = 'https://github.com/redis/hiredis' | ||
description = """Hiredis is a minimalistic C client library for the Redis database. | ||
It is minimalistic because it just adds minimal support for the protocol, | ||
but at the same time it uses a high level printf-alike API in order to | ||
make it much higher level than otherwise suggested by its minimal code base | ||
and the lack of explicit bindings for every Redis command.""" | ||
|
||
toolchain = {'name': 'GCCcore', 'version': '12.2.0'} | ||
toolchainopts = {'pic': True} | ||
|
||
github_account = 'redis' | ||
source_urls = [GITHUB_SOURCE] | ||
sources = ['v%(version)s.tar.gz'] | ||
checksums = ['82ad632d31ee05da13b537c124f819eb88e18851d9cb0c30ae0552084811588c'] | ||
|
||
builddependencies = [ | ||
('binutils', '2.39'), | ||
('CMake', '3.24.3'), | ||
] | ||
|
||
dependencies = [ | ||
('OpenSSL', '1.1', '', SYSTEM), | ||
] | ||
|
||
configopts = ['-DBUILD_SHARED_LIBS=ON', '-DBUILD_SHARED_LIBS=OFF'] | ||
|
||
sanity_check_paths = { | ||
'files': ['lib/libhiredis.a', 'lib/libhiredis.%s' % SHLIB_EXT], | ||
'dirs': ['include'], | ||
} | ||
|
||
moduleclass = 'tools' |