meow
This commit is contained in:
parent
93fca09be1
commit
3f74a55897
15 changed files with 980 additions and 3 deletions
174
ai/metadata/packages/mlfs/gcc-pass-1.json
Normal file
174
ai/metadata/packages/mlfs/gcc-pass-1.json
Normal file
|
|
@ -0,0 +1,174 @@
|
|||
{
|
||||
"artifacts": {
|
||||
"disk": 5,
|
||||
"install_prefix": null,
|
||||
"sbu": 3.0
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"commands": [
|
||||
"tar -xf ../mpfr-4.2.2.tar.xz",
|
||||
"mv -v mpfr-4.2.2 mpfr",
|
||||
"tar -xf ../gmp-6.3.0.tar.xz",
|
||||
"mv -v gmp-6.3.0 gmp",
|
||||
"tar -xf ../mpc-1.3.1.tar.gz",
|
||||
"mv -v mpc-1.3.1 mpc"
|
||||
],
|
||||
"cwd": null,
|
||||
"notes": null,
|
||||
"phase": "setup",
|
||||
"requires_root": false
|
||||
},
|
||||
{
|
||||
"commands": [
|
||||
"sed -e '/m64=/s/lib64/lib/' \\",
|
||||
"-e '/m32=/s/m32=.*/m32=..\\/lib32$(call if_multiarch,:i386-linux-gnu)/' \\",
|
||||
"-i.orig gcc/config/i386/t-linux64"
|
||||
],
|
||||
"cwd": null,
|
||||
"notes": null,
|
||||
"phase": "build",
|
||||
"requires_root": false
|
||||
},
|
||||
{
|
||||
"commands": [
|
||||
"sed '/STACK_REALIGN_DEFAULT/s/0/(!TARGET_64BIT \\&\\& TARGET_SSE)/' \\",
|
||||
"-i gcc/config/i386/i386.h"
|
||||
],
|
||||
"cwd": null,
|
||||
"notes": null,
|
||||
"phase": "build",
|
||||
"requires_root": false
|
||||
},
|
||||
{
|
||||
"commands": [
|
||||
"mkdir -v build",
|
||||
"cd build"
|
||||
],
|
||||
"cwd": null,
|
||||
"notes": null,
|
||||
"phase": "setup",
|
||||
"requires_root": false
|
||||
},
|
||||
{
|
||||
"commands": [
|
||||
"mlist=m64,m32",
|
||||
"../configure \\",
|
||||
"--target=$LFS_TGT \\",
|
||||
"--prefix=$LFS/tools \\",
|
||||
"--with-glibc-version=2.42 \\",
|
||||
"--with-sysroot=$LFS \\",
|
||||
"--with-newlib \\",
|
||||
"--without-headers \\",
|
||||
"--enable-default-pie \\",
|
||||
"--enable-default-ssp \\",
|
||||
"--enable-initfini-array \\",
|
||||
"--disable-nls \\",
|
||||
"--disable-shared \\",
|
||||
"--enable-multilib --with-multilib-list=$mlist \\",
|
||||
"--disable-decimal-float \\",
|
||||
"--disable-threads \\",
|
||||
"--disable-libatomic \\",
|
||||
"--disable-libgomp \\",
|
||||
"--disable-libquadmath \\",
|
||||
"--disable-libssp \\",
|
||||
"--disable-libvtv \\",
|
||||
"--disable-libstdcxx \\",
|
||||
"--enable-languages=c,c++"
|
||||
],
|
||||
"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
|
||||
},
|
||||
{
|
||||
"commands": [
|
||||
"cd ..",
|
||||
"cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \\",
|
||||
"`dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/include/limits.h"
|
||||
],
|
||||
"cwd": null,
|
||||
"notes": null,
|
||||
"phase": "build",
|
||||
"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/gcc-pass1.html#ch-tools-gcc-pass1"
|
||||
},
|
||||
"book": "mlfs",
|
||||
"chapter": 5,
|
||||
"id": "mlfs/gcc-pass-1",
|
||||
"name": "GCC",
|
||||
"section": "5.3",
|
||||
"stage": "cross-toolchain",
|
||||
"upstream": null,
|
||||
"variant": "Pass 1",
|
||||
"version": "15.2.0"
|
||||
},
|
||||
"provenance": {
|
||||
"book_release": "lfs-ml-12.4-40-multilib",
|
||||
"content_hash": "439fb0bf6a99414e9ddf1301e603948e073d5df2dcf897ac5581c399bd99f045",
|
||||
"page_url": "https://linuxfromscratch.org/~thomas/multilib-m32/chapter05/gcc-pass1.html",
|
||||
"retrieved_at": "2025-10-01T05:30:05.164831+00:00"
|
||||
},
|
||||
"schema_version": "v0.1.0",
|
||||
"source": {
|
||||
"archive": "mpfr-4.2.2.tar.xz",
|
||||
"checksums": [
|
||||
{
|
||||
"alg": "md5",
|
||||
"value": "7c32c39b8b6e3ae85f25156228156061"
|
||||
}
|
||||
],
|
||||
"urls": [
|
||||
{
|
||||
"kind": "primary",
|
||||
"url": "https://ftp.gnu.org/gnu/gcc/gcc-15.2.0/gcc-15.2.0.tar.xz"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"issues": [],
|
||||
"state": "draft"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue