Integrate metadata documentation and jhalfs manifests
This commit is contained in:
parent
74bf8a32d6
commit
3ce470e019
34 changed files with 5544 additions and 240 deletions
113
ai/metadata/packages/mlfs/binutils-pass-1.json
Normal file
113
ai/metadata/packages/mlfs/binutils-pass-1.json
Normal file
|
|
@ -0,0 +1,113 @@
|
|||
{
|
||||
"artifacts": {
|
||||
"disk": 678,
|
||||
"install_prefix": null,
|
||||
"sbu": 1.0
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"commands": [
|
||||
"mkdir -v build",
|
||||
"cd build"
|
||||
],
|
||||
"cwd": null,
|
||||
"notes": null,
|
||||
"phase": "setup",
|
||||
"requires_root": false
|
||||
},
|
||||
{
|
||||
"commands": [
|
||||
"../configure --prefix=$LFS/tools \\",
|
||||
"--with-sysroot=$LFS \\",
|
||||
"--target=$LFS_TGT \\",
|
||||
"--disable-nls \\",
|
||||
"--enable-gprofng=no \\",
|
||||
"--disable-werror \\",
|
||||
"--enable-new-dtags \\",
|
||||
"--enable-default-hash-style=gnu"
|
||||
],
|
||||
"cwd": null,
|
||||
"notes": null,
|
||||
"phase": "configure",
|
||||
"requires_root": false
|
||||
},
|
||||
{
|
||||
"commands": [
|
||||
"make"
|
||||
],
|
||||
"cwd": null,
|
||||
"notes": null,
|
||||
"phase": "build",
|
||||
"requires_root": false
|
||||
},
|
||||
{
|
||||
"commands": [
|
||||
"make install"
|
||||
],
|
||||
"cwd": null,
|
||||
"notes": null,
|
||||
"phase": "install",
|
||||
"requires_root": false
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"build": [],
|
||||
"runtime": []
|
||||
},
|
||||
"environment": {
|
||||
"users": [],
|
||||
"variables": []
|
||||
},
|
||||
"optimizations": {
|
||||
"cflags": [
|
||||
"-O3",
|
||||
"-flto"
|
||||
],
|
||||
"enable_lto": true,
|
||||
"enable_pgo": true,
|
||||
"ldflags": [
|
||||
"-flto"
|
||||
],
|
||||
"profdata": null
|
||||
},
|
||||
"package": {
|
||||
"anchors": {
|
||||
"section": "https://linuxfromscratch.org/~thomas/multilib-m32/chapter05/binutils-pass1.html#ch-tools-binutils-pass1"
|
||||
},
|
||||
"book": "mlfs",
|
||||
"chapter": 5,
|
||||
"id": "mlfs/binutils-pass-1",
|
||||
"name": "Binutils",
|
||||
"section": "5.2",
|
||||
"stage": "cross-toolchain",
|
||||
"upstream": null,
|
||||
"variant": "Pass 1",
|
||||
"version": "2.45"
|
||||
},
|
||||
"provenance": {
|
||||
"book_release": "lfs-ml-12.4-40-multilib",
|
||||
"content_hash": "7c580aad04933a2f6ec5e5410a57695dd2d0b76a293212f33fd3edd226490853",
|
||||
"page_url": "https://linuxfromscratch.org/~thomas/multilib-m32/chapter05/binutils-pass1.html",
|
||||
"retrieved_at": "2025-10-01T04:57:22.375928+00:00"
|
||||
},
|
||||
"schema_version": "v0.1.0",
|
||||
"source": {
|
||||
"archive": "binutils-2.45.tar.xz",
|
||||
"checksums": [
|
||||
{
|
||||
"alg": "md5",
|
||||
"value": "dee5b4267e0305a99a3c9d6131f45759"
|
||||
}
|
||||
],
|
||||
"urls": [
|
||||
{
|
||||
"kind": "primary",
|
||||
"url": "https://sourceware.org/pub/binutils/releases/binutils-2.45.tar.xz"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"issues": [],
|
||||
"state": "draft"
|
||||
}
|
||||
}
|
||||
147
ai/metadata/packages/mlfs/binutils-pass1.json
Normal file
147
ai/metadata/packages/mlfs/binutils-pass1.json
Normal file
|
|
@ -0,0 +1,147 @@
|
|||
{
|
||||
"schema_version": "v0.1.0",
|
||||
"package": {
|
||||
"id": "mlfs/binutils/pass1",
|
||||
"name": "Binutils",
|
||||
"upstream": "gnu/binutils",
|
||||
"version": "2.45",
|
||||
"book": "mlfs",
|
||||
"chapter": 5,
|
||||
"section": "5.02",
|
||||
"stage": "cross-toolchain",
|
||||
"variant": "Pass 1",
|
||||
"anchors": {
|
||||
"section": "https://linuxfromscratch.org/~thomas/multilib-m32/chapter05/binutils-pass1.html#ch-tools-binutils-pass1"
|
||||
}
|
||||
},
|
||||
"source": {
|
||||
"urls": [
|
||||
{
|
||||
"url": "https://ftp.gnu.org/gnu/binutils/binutils-2.45.tar.xz",
|
||||
"kind": "primary"
|
||||
},
|
||||
{
|
||||
"url": "https://ftpmirror.gnu.org/binutils/binutils-2.45.tar.xz",
|
||||
"kind": "mirror"
|
||||
}
|
||||
],
|
||||
"archive": "binutils-2.45.tar.xz"
|
||||
},
|
||||
"artifacts": {
|
||||
"sbu": 1,
|
||||
"disk": 678,
|
||||
"install_prefix": "$LFS/tools"
|
||||
},
|
||||
"dependencies": {
|
||||
"build": [
|
||||
{ "name": "bash" },
|
||||
{ "name": "coreutils" },
|
||||
{ "name": "gcc", "optional": true }
|
||||
],
|
||||
"runtime": []
|
||||
},
|
||||
"environment": {
|
||||
"variables": [
|
||||
{
|
||||
"name": "LFS",
|
||||
"description": "Absolute path to mounted LFS workspace"
|
||||
},
|
||||
{
|
||||
"name": "LFS_TGT",
|
||||
"description": "Target triple for cross toolchain"
|
||||
}
|
||||
],
|
||||
"users": []
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"phase": "setup",
|
||||
"commands": [
|
||||
"tar -xf binutils-2.45.tar.xz",
|
||||
"cd binutils-2.45",
|
||||
"mkdir -v build",
|
||||
"cd build"
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "configure",
|
||||
"commands": [
|
||||
"../configure --prefix=$LFS/tools \\",
|
||||
" --with-sysroot=$LFS \\",
|
||||
" --target=$LFS_TGT \\",
|
||||
" --disable-nls \\",
|
||||
" --enable-gprofng=no \\",
|
||||
" --disable-werror \\",
|
||||
" --enable-new-dtags \\",
|
||||
" --enable-default-hash-style=gnu"
|
||||
],
|
||||
"cwd": "build"
|
||||
},
|
||||
{
|
||||
"phase": "build",
|
||||
"commands": [
|
||||
"make"
|
||||
],
|
||||
"cwd": "build"
|
||||
},
|
||||
{
|
||||
"phase": "test",
|
||||
"commands": [
|
||||
"make -k check"
|
||||
],
|
||||
"cwd": "build",
|
||||
"notes": "Tests are optional for cross-toolchain; failures can be ignored"
|
||||
},
|
||||
{
|
||||
"phase": "install",
|
||||
"commands": [
|
||||
"make install"
|
||||
],
|
||||
"cwd": "build"
|
||||
}
|
||||
],
|
||||
"optimizations": {
|
||||
"enable_lto": true,
|
||||
"enable_pgo": true,
|
||||
"cflags": ["-O3", "-flto", "-fprofile-generate"],
|
||||
"ldflags": ["-flto", "-fprofile-generate"],
|
||||
"profdata": null
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
"commands": [
|
||||
"make -k check"
|
||||
],
|
||||
"optional": true,
|
||||
"expected_failures": ["gas/run/elf-x86-64-reloc.sh"]
|
||||
}
|
||||
],
|
||||
"post_install": [
|
||||
{
|
||||
"commands": [
|
||||
"rm -v $LFS/tools/lib/libbfd.a",
|
||||
"rm -v $LFS/tools/lib/libctf-nobfd.a"
|
||||
],
|
||||
"description": "Remove static libraries per LFS guidance"
|
||||
}
|
||||
],
|
||||
"notes": [
|
||||
{
|
||||
"severity": "warning",
|
||||
"text": "Ensure the host uses recent flex/bison to avoid configure warnings."
|
||||
}
|
||||
],
|
||||
"provenance": {
|
||||
"book_release": "ml-12.4-40-multilib",
|
||||
"page_url": "https://linuxfromscratch.org/~thomas/multilib-m32/chapter05/binutils-pass1.html",
|
||||
"retrieved_at": "2025-03-09T00:00:00Z",
|
||||
"content_hash": "0000000000000000000000000000000000000000000000000000000000000000"
|
||||
},
|
||||
"status": {
|
||||
"state": "draft",
|
||||
"issues": [
|
||||
"Checksums not yet verified",
|
||||
"Dependency list requires confirmation"
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue