-
Notifications
You must be signed in to change notification settings - Fork 683
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20482 from PetrKralCZ/20240506151733_new_pr_libho…
…mfly102r6 {lib}[GCCcore/13.2.0] libhomfly v1.02r6, gc v8.2.6
- Loading branch information
Showing
2 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
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,42 @@ | ||
easyblock = 'ConfigureMake' | ||
|
||
name = 'gc' | ||
version = '8.2.6' | ||
local_libatomic_version = '7.8.2' | ||
|
||
homepage = 'https://hboehm.info/gc/' | ||
description = """The Boehm-Demers-Weiser conservative garbage collector can be used as a | ||
garbage collecting replacement for C malloc or C++ new. | ||
""" | ||
|
||
toolchain = {'name': 'GCCcore', 'version': '13.2.0'} | ||
|
||
source_urls = [ | ||
'https://github.com/ivmai/bdwgc/releases/download/v%(version)s/', # preferred for gc-%(version)s.tar.gz | ||
'https://hboehm.info/gc/gc_source/', # alternate for gc-%(version)s.tar.gz | ||
'https://github.com/ivmai/libatomic_ops/releases/download/v%s/' % local_libatomic_version, | ||
] | ||
sources = [ | ||
SOURCE_TAR_GZ, | ||
'libatomic_ops-%s.tar.gz' % local_libatomic_version, | ||
] | ||
checksums = [ | ||
{'gc-8.2.6.tar.gz': 'b9183fe49d4c44c7327992f626f8eaa1d8b14de140f243edb1c9dcff7719a7fc'}, | ||
{'libatomic_ops-7.8.2.tar.gz': 'd305207fe207f2b3fb5cb4c019da12b44ce3fcbc593dfd5080d867b1a2419b51'}, | ||
] | ||
|
||
builddependencies = [ | ||
('binutils', '2.40'), | ||
] | ||
|
||
preconfigopts = 'ln -s %(builddir)s/libatomic_ops*/ libatomic_ops && ' | ||
|
||
configopts = "--enable-static" | ||
|
||
sanity_check_paths = { | ||
'files': ['include/gc.h', 'lib/libcord.a', 'lib/libcord.%s' % SHLIB_EXT, | ||
'lib/libgc.a', 'lib/libgc.%s' % SHLIB_EXT], | ||
'dirs': ['include/gc', 'share'], | ||
} | ||
|
||
moduleclass = 'lib' |
33 changes: 33 additions & 0 deletions
33
easybuild/easyconfigs/l/libhomfly/libhomfly-1.02r6-GCCcore-13.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,33 @@ | ||
easyblock = 'ConfigureMake' | ||
|
||
name = 'libhomfly' | ||
version = '1.02r6' | ||
|
||
homepage = 'https://github.com/miguelmarco/libhomfly' | ||
description = """This is basically a conversion of the program written by Robert J Jenkins Jr into a shared library. | ||
It accepts as entry a character string, formatted in the same way as the input files that the original | ||
code used (see below). The returned value is the string that the original program would print on screen.""" | ||
|
||
toolchain = {'name': 'GCCcore', 'version': '13.2.0'} | ||
|
||
source_urls = ['https://github.com/miguelmarco/libhomfly/archive'] | ||
sources = ['%(version)s.tar.gz'] | ||
checksums = ['cf5d5031c905318127c83fdffc891deb097c77ee48cdd0131f839ea6ecb64a84'] | ||
|
||
builddependencies = [ | ||
('Autotools', '20220317'), | ||
('binutils', '2.40'), | ||
] | ||
|
||
dependencies = [ | ||
('gc', '8.2.6'), | ||
] | ||
|
||
preconfigopts = "autoreconf -i && " | ||
|
||
sanity_check_paths = { | ||
'files': ['include/homfly.h', 'lib/libhomfly.%s' % SHLIB_EXT], | ||
'dirs': [], | ||
} | ||
|
||
moduleclass = 'lib' |