Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
easyblock = 'MesonNinja'

name = 'libpciaccess'
version = '0.18.1'

homepage = 'https://cgit.freedesktop.org/xorg/lib/libpciaccess/'
description = """Generic PCI access library."""

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}

source_urls = ['https://www.x.org/releases/individual/lib/']
sources = [SOURCE_TAR_XZ]
checksums = ['4af43444b38adb5545d0ed1c2ce46d9608cc47b31c2387fc5181656765a6fa76']

builddependencies = [
('binutils', '2.42'),
('Meson', '1.4.0'),
('Ninja', '1.12.1'),
('xorg-macros', '1.20.1'),
]

configopts = "--default-library=both" # static and shared library

sanity_check_paths = {
'files': ['include/pciaccess.h', 'lib/libpciaccess.a'],
'dirs': ['lib/pkgconfig'],
}

moduleclass = 'system'
36 changes: 36 additions & 0 deletions easybuild/easyconfigs/m/Meson/Meson-1.4.0-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
easyblock = 'PythonPackage'

name = 'Meson'
version = '1.4.0'

homepage = 'https://mesonbuild.com'
description = "Meson is a cross-platform build system designed to be both as fast and as user friendly as possible."

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}

sources = [SOURCELOWER_TAR_GZ]
checksums = ['8fd6630c25c27f1489a8a0392b311a60481a3c161aa699b330e25935b750138d']

builddependencies = [
('binutils', '2.42'),
]

dependencies = [
('Python', '3.12.3'), # includes required 'wheel' package
('Ninja', '1.12.1'),
]

download_dep_fail = True
use_pip = True
sanity_pip_check = True

options = {'modulename': 'mesonbuild'}

sanity_check_paths = {
'files': ['bin/meson'],
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}

sanity_check_commands = ["meson --help"]

moduleclass = 'tools'
31 changes: 31 additions & 0 deletions easybuild/easyconfigs/n/Ninja/Ninja-1.12.1-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
easyblock = 'CmdCp'

name = 'Ninja'
version = '1.12.1'

homepage = 'https://ninja-build.org/'
description = "Ninja is a small build system with a focus on speed."

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}

source_urls = ['https://github.com/ninja-build/ninja/archive/']
sources = ['v%(version)s.tar.gz']
checksums = ['821bdff48a3f683bc4bb3b6f0b5fe7b2d647cf65d52aeb63328c91a6c6df285a']

builddependencies = [
('binutils', '2.42'),
('Python', '3.12.3'),
]

cmds_map = [('.*', "./configure.py --bootstrap")]

files_to_copy = [(['ninja'], 'bin')]

sanity_check_paths = {
'files': ['bin/ninja'],
'dirs': [],
}

sanity_check_commands = ["ninja --version"]

moduleclass = 'tools'