Skip to content

Commit 4e68b43

Browse files
authored
Merge pull request managarm#652 from Dennisbonke/mlibc-compile
Add bragi binary tool
2 parents c31624c + a23aab4 commit 4e68b43

File tree

3 files changed

+55
-1
lines changed

3 files changed

+55
-1
lines changed

bootstrap.d/dev-python.y4.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,35 @@ packages:
428428
build:
429429
- args: ['python3', '-m', 'gpep517', 'install-from-source', '--destdir', '@THIS_COLLECT_DIR@', '--optimize', 'all', '--prefix', '/usr', '--sysroot', '@SYSROOT_DIR@', '--interpreter', '/usr/bin/env python3']
430430

431+
- name: python-lark
432+
labels: [aarch64]
433+
architecture: '@OPTION:arch@'
434+
metadata:
435+
summary: Python module to propose a modern general-purpose parsing library for Python
436+
description: Python module to propose a modern general-purpose parsing library for Python
437+
spdx: 'MIT'
438+
website: 'https://pypi.org/project/lark/'
439+
maintainer: "Dennis Bonke <dennis@managarm.org>"
440+
categories: ['dev-python']
441+
source:
442+
subdir: 'ports'
443+
git: 'https://github.com/lark-parser/lark.git'
444+
tag: '1.3.1'
445+
version: '1.3.1'
446+
tools_required:
447+
- host-gpep517
448+
- system-gcc
449+
pkgs_required:
450+
- mlibc
451+
- python
452+
revision: 1
453+
configure:
454+
# python modules do not seem to support out-of-tree builds, so we just copy
455+
# the source tree into the build directory instead.
456+
- args: ['cp', '-r', '@THIS_SOURCE_DIR@/.', '@THIS_BUILD_DIR@']
457+
build:
458+
- args: ['python3', '-m', 'gpep517', 'install-from-source', '--destdir', '@THIS_COLLECT_DIR@', '--optimize', 'all', '--prefix', '/usr', '--sysroot', '@SYSROOT_DIR@', '--interpreter', '/usr/bin/env python3']
459+
431460
- name: python-packaging
432461
architecture: '@OPTION:arch@'
433462
metadata:

bootstrap.d/managarm-libc.y4.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ sources:
1414
- name: mlibc
1515
git: 'https://github.com/managarm/mlibc.git'
1616
branch: 'master'
17-
commit: '5822e6a10e5d5c56d1ef2699c4456a55f5643d4f'
17+
commit: 'cde91e11fe930488b9b686f63993e28d6b909bdd'
1818
rolling_version: true
1919
version: '0.0pl@ROLLING_ID@'
2020
sources_required:

bootstrap.d/managarm-libs.y4.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,3 +443,28 @@ packages:
443443
- args: ['ninja', 'install']
444444
environ:
445445
DESTDIR: '@THIS_COLLECT_DIR@'
446+
447+
- name: python-bragi
448+
labels: [aarch64]
449+
architecture: '@OPTION:arch@'
450+
metadata:
451+
summary: A small and efficient IDL language
452+
description: This package provides the bragi binary.
453+
spdx: 'MIT'
454+
maintainer: "Alexander van der Grinten <avdgrinten@managarm.org>"
455+
categories: ['sys-libs']
456+
from_source: 'bragi'
457+
tools_required:
458+
- host-gpep517
459+
- system-gcc
460+
pkgs_required:
461+
- mlibc
462+
- python
463+
- python-lark
464+
revision: 1
465+
configure:
466+
# python modules do not seem to support out-of-tree builds, so we just copy
467+
# the source tree into the build directory instead.
468+
- args: ['cp', '-r', '@THIS_SOURCE_DIR@/.', '@THIS_BUILD_DIR@']
469+
build:
470+
- args: ['python3', '-m', 'gpep517', 'install-from-source', '--destdir', '@THIS_COLLECT_DIR@', '--optimize', 'all', '--prefix', '/usr', '--sysroot', '@SYSROOT_DIR@', '--interpreter', '/usr/bin/python3']

0 commit comments

Comments
 (0)