-
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.
- Loading branch information
Simon Kreuzer
committed
Jun 12, 2024
1 parent
2177184
commit a636872
Showing
1 changed file
with
34 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,34 @@ | ||
easyblock = 'ConfigureMake' | ||
|
||
name = 'glibc' | ||
version = '2.29' | ||
|
||
homepage = 'https://www.gnu.org/software/libc/' | ||
description = """The GNU C Library project provides the core libraries for the GNU system and GNU/Linux systems, | ||
as well as many other systems that use Linux as the kernel.""" | ||
|
||
toolchain = {'name': 'GCCcore', 'version': '8.3.0'} | ||
|
||
source_urls = ['https://ftp.gnu.org/gnu/glibc/'] | ||
sources = ['glibc-%(version)s.tar.xz'] | ||
checksums = ['f3eeb8d57e25ca9fc13c2af3dae97754f9f643bc69229546828e3a240e2af04b'] | ||
|
||
builddependencies = [ | ||
('binutils', '2.32'), | ||
('make', '4.2.1'), | ||
('texinfo', '6.7'), | ||
('Bison', '3.3.2'), | ||
('Python', '3.7.4'), | ||
] | ||
|
||
preconfigopts = 'mkdir obj && cd obj && CC="$CC -fuse-ld=bfd" ' | ||
configure_cmd_prefix = '../' | ||
prebuildopts = "cd obj && " | ||
preinstallopts = prebuildopts | ||
|
||
sanity_check_paths = { | ||
'files': ['bin/ldd', 'lib/libc.a', 'lib/libc.%s' % SHLIB_EXT], | ||
'dirs': ['etc', 'libexec', 'include', 'sbin', 'share'], | ||
} | ||
|
||
moduleclass = 'lib' |