Skip to content

Commit

Permalink
Merge pull request #20580 from SebastianAchilles/20240522094622_new_p…
Browse files Browse the repository at this point in the history
…r_Ninja1121

{tools}[GCCcore/13.3.0] Ninja v1.12.1, Meson v1.4.0, libpciaccess v0.18.1
  • Loading branch information
boegel committed May 22, 2024
2 parents 44f51ba + a2b3886 commit 89bcdbe
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 0 deletions.
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'

0 comments on commit 89bcdbe

Please sign in to comment.