[gentoo-commits] proj/catalyst:master commit in: arch/
commit: 5d3f0072cd3c47fbb78cfc6a348b40b512019352 Author: Andreas K. Hüttel gentoo org> AuthorDate: Tue May 28 10:51:17 2024 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Tue May 28 10:52:32 2024 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=5d3f0072 Fix loongarch -march to baseline With gcc-14, the default was quietly raised to include vector extensions. This makes our stages explode on first-gen hardware... Signed-off-by: Andreas K. Hüttel gentoo.org> arch/loong.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/loong.toml b/arch/loong.toml index 7ff92c03..2334c84b 100644 --- a/arch/loong.toml +++ b/arch/loong.toml @@ -1,4 +1,4 @@ [loong.loong] -COMMON_FLAGS = " -pipe -O2" +COMMON_FLAGS = " -pipe -O2 -march=loongarch64 " CHOST = "loongarch64-unknown-linux-gnu"
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: b95ecc1d51cdf6aa7c4ff02dedb3f38a22c71906 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sat Apr 6 13:57:07 2024 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Sat Apr 6 13:57:07 2024 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=b95ecc1d arch: Add rv32 musl definitions Signed-off-by: Andreas K. Hüttel gentoo.org> arch/riscv.toml | 8 1 file changed, 8 insertions(+) diff --git a/arch/riscv.toml b/arch/riscv.toml index a76e5cd5..7f2d859f 100644 --- a/arch/riscv.toml +++ b/arch/riscv.toml @@ -26,6 +26,14 @@ CHOST = "riscv64-gentoo-linux-musl" COMMON_FLAGS = "-O2 -pipe" CHOST = "riscv32-unknown-linux-gnu" +[riscv.rv32_ilp32d_musl] +COMMON_FLAGS = "-O2 -pipe" +CHOST = "riscv32-unknown-linux-musl" + [riscv.rv32_ilp32] COMMON_FLAGS = "-O2 -pipe" CHOST = "riscv32-unknown-linux-gnu" + +[riscv.rv32_ilp32_musl] +COMMON_FLAGS = "-O2 -pipe" +CHOST = "riscv32-unknown-linux-musl"
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: b0acd208b275f8c355d9127b95d665a09e750797 Author: Andreas K. Hüttel gentoo org> AuthorDate: Mon Mar 25 21:24:19 2024 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Mon Mar 25 21:24:43 2024 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=b0acd208 Add setarch parameters for s390x => s390 builds Signed-off-by: Andreas K. Hüttel gentoo.org> arch/s390.toml | 4 1 file changed, 4 insertions(+) diff --git a/arch/s390.toml b/arch/s390.toml index 9894044f..875fe8e1 100644 --- a/arch/s390.toml +++ b/arch/s390.toml @@ -1,3 +1,7 @@ +[setarch.s390] +arch = "s390" +if_build = "s390x" + [s390.s390] COMMON_FLAGS = "-O2 -pipe" CHOST = "s390-ibm-linux-gnu"
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: ebed28dd5e08e8aaee44f08c27c367019568fb15 Author: matoro matoro tk> AuthorDate: Tue Feb 13 21:08:48 2024 + Commit: Ben Kohler gentoo org> CommitDate: Wed Mar 20 15:47:27 2024 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=ebed28dd arch: add new x86.i686-ssemath subprofile As mentioned on the mailing list, x86 arch testing needs to be performed using SSE registers for floating-point math instead of the 387 FPU. This is a subprofile which provides a generic i686 target with SSE2 and `-mfpmath=sse`. The use is not just limited to arch testing however as this is a useful platform for getting maximum performance on late-gen chips. Per gcc: > The resulting code should be considerably faster in the majority of cases and avoid the numerical instability problems of 387 code, but may break some existing code that expects temporaries to be 80 bits. Of course modern code has quite the opposite problem, where it does not expect floating-point variables to be 80 bits. Signed-off-by: Matoro Mahri matoro.tk> Closes: https://github.com/gentoo/catalyst/pull/12 Signed-off-by: Ben Kohler gentoo.org> arch/x86.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86.toml b/arch/x86.toml index 5451d410..24d4c547 100644 --- a/arch/x86.toml +++ b/arch/x86.toml @@ -50,3 +50,6 @@ CPU_FLAGS_X86 = [ "mmx", "mmxext", "3dnow", "3dnowext",] COMMON_FLAGS = "-O2 -march=athlon-xp -pipe" CPU_FLAGS_X86 = [ "mmx", "mmxext", "3dnow", "3dnowext", "sse",] +[x86.i686-ssemath] +COMMON_FLAGS = "-O2 -march=i686 -msse2 -mfpmath=sse -pipe" +CPU_FLAGS_X86 = [ "mmx", "mmxext", "sse", "sse2",]
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: d7f66b18130bfd10a512dcae0004153aa453ce9f Author: Matoro Mahri matoro tk> AuthorDate: Sun Mar 10 23:08:08 2024 + Commit: Ben Kohler gentoo org> CommitDate: Wed Mar 20 15:47:25 2024 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=d7f66b18 arch: remove x86.pentium-m, x86.pentium-4, x86.prescott subprofiles Signed-off-by: Matoro Mahri matoro.tk> Signed-off-by: Ben Kohler gentoo.org> arch/x86.toml | 12 1 file changed, 12 deletions(-) diff --git a/arch/x86.toml b/arch/x86.toml index ea709cce..5451d410 100644 --- a/arch/x86.toml +++ b/arch/x86.toml @@ -27,14 +27,6 @@ CPU_FLAGS_X86 = [ "mmx",] COMMON_FLAGS = "-O2 -march=pentium3 -pipe" CPU_FLAGS_X86 = [ "mmx", "mmxext", "sse",] -[x86.pentium-m] -COMMON_FLAGS = "-O2 -march=pentium-m -pipe" -CPU_FLAGS_X86 = [ "mmx", "mmxext", "sse", "sse2",] - -[x86.pentium4] -COMMON_FLAGS = "-O2 -march=pentium4 -pipe" -CPU_FLAGS_X86 = [ "mmx", "mmxext", "sse", "sse2",] - [x86.pentiumpro] COMMON_FLAGS = "-O2 -march=i686 -pipe" @@ -42,10 +34,6 @@ COMMON_FLAGS = "-O2 -march=i686 -pipe" COMMON_FLAGS = "-O2 -march=pentium-mmx -pipe" CPU_FLAGS_X86 = [ "mmx",] -[x86.prescott] -COMMON_FLAGS = "-O2 -march=prescott -pipe" -CPU_FLAGS_X86 = [ "mmx", "mmxext", "sse", "sse2", "sse3",] - [x86.k6] COMMON_FLAGS = "-O2 -march=k6 -pipe" CPU_FLAGS_X86 = [ "mmx",]
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: 2cd8f6d6d41f462c87d75f7bd847902dbf25b618 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sun Jan 21 22:42:48 2024 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Sun Jan 21 22:44:54 2024 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=2cd8f6d6 arch: Do not set CHOST and *FLAGS for generic x86.x86 subarch This way both can be picked up from the profile Signed-off-by: Andreas K. Hüttel gentoo.org> arch/x86.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86.toml b/arch/x86.toml index 2dfac9b7..ea709cce 100644 --- a/arch/x86.toml +++ b/arch/x86.toml @@ -3,8 +3,6 @@ arch = "linux32" if_build = "x86_64" [x86.x86] -COMMON_FLAGS = "-O2 -mtune=i686 -pipe" -CHOST = "i386-pc-linux-gnu" [x86.i486] COMMON_FLAGS = "-O2 -march=i486 -pipe"
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: 9cd868bf99b6192019bee0ddd959445eb9d9c4f3 Author: Andreas K. Hüttel gentoo org> AuthorDate: Wed Dec 6 21:29:00 2023 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Wed Dec 6 21:29:36 2023 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=9cd868bf arch: Alternative approach. Rely on profile for m68k musl CHOST... Signed-off-by: Andreas K. Hüttel gentoo.org> arch/m68k.toml | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/m68k.toml b/arch/m68k.toml index 87bc4aa5..695f0f83 100644 --- a/arch/m68k.toml +++ b/arch/m68k.toml @@ -4,8 +4,3 @@ CHOST = "m68k-unknown-linux-gnu" [m68k.m68k_musl] COMMON_FLAGS = " -pipe -O2" -CHOST = "m68k-gentoo-linux-musl" - -[m68k.m68k_musl_new] -COMMON_FLAGS = " -pipe -O2" -CHOST = "m68k-unknown-linux-musl"
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: a471b2060c005fa995271368c603c276ab35c0af Author: Andreas K. Hüttel gentoo org> AuthorDate: Wed Dec 6 21:25:39 2023 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Wed Dec 6 21:25:39 2023 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=a471b206 arch: Add new m68k musl definition for 23.0 profiles Signed-off-by: Andreas K. Hüttel gentoo.org> arch/m68k.toml | 4 1 file changed, 4 insertions(+) diff --git a/arch/m68k.toml b/arch/m68k.toml index e25659b9..87bc4aa5 100644 --- a/arch/m68k.toml +++ b/arch/m68k.toml @@ -5,3 +5,7 @@ CHOST = "m68k-unknown-linux-gnu" [m68k.m68k_musl] COMMON_FLAGS = " -pipe -O2" CHOST = "m68k-gentoo-linux-musl" + +[m68k.m68k_musl_new] +COMMON_FLAGS = " -pipe -O2" +CHOST = "m68k-unknown-linux-musl"
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: f38ef80b0152982794fe96eb807fb2bce9178760 Author: Andreas K. Hüttel gentoo org> AuthorDate: Thu Jul 20 18:13:58 2023 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Thu Jul 20 18:13:58 2023 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=f38ef80b Add m68k musl definition Signed-off-by: Andreas K. Hüttel gentoo.org> arch/m68k.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/m68k.toml b/arch/m68k.toml index 1df696c1..e25659b9 100644 --- a/arch/m68k.toml +++ b/arch/m68k.toml @@ -2,3 +2,6 @@ COMMON_FLAGS = " -pipe -O2" CHOST = "m68k-unknown-linux-gnu" +[m68k.m68k_musl] +COMMON_FLAGS = " -pipe -O2" +CHOST = "m68k-gentoo-linux-musl"
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: b27e419a38a5dd195f4f0505ed27d7b017b4b046 Author: Andreas K. Hüttel gentoo org> AuthorDate: Tue Jun 20 18:54:33 2023 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Tue Jun 20 18:54:33 2023 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=b27e419a Add -msoft-float to *FLAGS for mips soft-float definitions Signed-off-by: Andreas K. Hüttel gentoo.org> arch/mips.toml | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/mips.toml b/arch/mips.toml index 4e470886..b22d4567 100644 --- a/arch/mips.toml +++ b/arch/mips.toml @@ -8,7 +8,7 @@ COMMON_FLAGS = "-O2 -march=mips2 -mabi=32 -mplt -pipe" [mips.mips2_softfloat] CHOST = "mips-softfloat-linux-gnu" -COMMON_FLAGS = "-O2 -march=mips2 -mabi=32 -mplt -pipe" +COMMON_FLAGS = "-O2 -march=mips2 -mabi=32 -mplt -msoft-float -pipe" [mips.mips2_musl] CHOST = "mips-gentoo-linux-musl" @@ -20,7 +20,7 @@ COMMON_FLAGS = "-O2 -march=mips32 -mabi=32 -mplt -pipe" [mips.mips32_softfloat] CHOST = "mips-softfloat-linux-gnu" -COMMON_FLAGS = "-O2 -march=mips32 -mabi=32 -mplt -pipe" +COMMON_FLAGS = "-O2 -march=mips32 -mabi=32 -mplt -msoft-float -pipe" [mips.mips32r2] CHOST = "mips-unknown-linux-gnu" @@ -28,7 +28,7 @@ COMMON_FLAGS = "-O2 -march=mips32r2 -mabi=32 -mplt -pipe" [mips.mips32r2_softfloat] CHOST = "mips-softfloat-linux-gnu" -COMMON_FLAGS = "-O2 -march=mips32r2 -mabi=32 -mplt -pipe" +COMMON_FLAGS = "-O2 -march=mips32r2 -mabi=32 -mplt -msoft-float -pipe" [mips.mips3] CHOST = "mips-unknown-linux-gnu" @@ -68,7 +68,7 @@ COMMON_FLAGS = "-O2 -march=mips2 -mabi=32 -mplt -pipe" [mips.mipsel2_softfloat] CHOST = "mipsel-softfloat-linux-gnu" -COMMON_FLAGS = "-O2 -march=mips2 -mabi=32 -mplt -pipe" +COMMON_FLAGS = "-O2 -march=mips2 -mabi=32 -mplt -msoft-float -pipe" [mips.mipsel2_musl] CHOST = "mipsel-gentoo-linux-musl" @@ -80,7 +80,7 @@ COMMON_FLAGS = "-O2 -march=mips32 -mabi=32 -mplt -pipe" [mips.mips32el_softfloat] CHOST = "mipsel-softfloat-linux-gnu" -COMMON_FLAGS = "-O2 -march=mips32 -mabi=32 -mplt -pipe" +COMMON_FLAGS = "-O2 -march=mips32 -mabi=32 -mplt -msoft-float -pipe" [mips.mips32r2el] CHOST = "mipsel-unknown-linux-gnu" @@ -88,7 +88,7 @@ COMMON_FLAGS = "-O2 -march=mips32r2 -mabi=32 -mplt -pipe" [mips.mips32r2el_softfloat] CHOST = "mipsel-softfloat-linux-gnu" -COMMON_FLAGS = "-O2 -march=mips32r2 -mabi=32 -mplt -pipe" +COMMON_FLAGS = "-O2 -march=mips32r2 -mabi=32 -mplt -msoft-float -pipe" [mips.mipsel3] CHOST = "mipsel-unknown-linux-gnu" @@ -128,7 +128,7 @@ COMMON_FLAGS = "-O2 -march=mips3 -mabi=n32 -mplt -mfix-r4000 -mfix-r4400 -pipe" [mips64.mips3_n32_softfloat] CHOST = "mips64-softfloat-linux-gnu" -COMMON_FLAGS = "-O2 -march=mips3 -mabi=n32 -mplt -mfix-r4000 -mfix-r4400 -pipe" +COMMON_FLAGS = "-O2 -march=mips3 -mabi=n32 -mplt -mfix-r4000 -mfix-r4400 -msoft-float -pipe" [mips64.mips3_n64] CHOST = "mips64-unknown-linux-gnu" @@ -208,7 +208,7 @@ COMMON_FLAGS = "-O2 -march=mips3 -mabi=n32 -mplt -Wa,-mfix-loongson2f-nop -mfix- [mips64.mipsel3_n32_softfloat] CHOST = "mips64el-softfloat-linux-gnu" -COMMON_FLAGS = "-O2 -march=mips3 -mabi=n32 -mplt -Wa,-mfix-loongson2f-nop -mfix-r5900 -pipe" +COMMON_FLAGS = "-O2 -march=mips3 -mabi=n32 -mplt -Wa,-mfix-loongson2f-nop -mfix-r5900 -msoft-float -pipe" [mips64.mipsel3_n64] CHOST = "mips64el-unknown-linux-gnu"
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: eb9a8822ea0edb341d04ccd029cefa10e2732a2b Author: Andreas K. Hüttel gentoo org> AuthorDate: Sun May 28 08:37:07 2023 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Sun May 28 08:37:07 2023 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=eb9a8822 Add mips(el)2 o32 and mips(el)3 n32 softfloat subarches Signed-off-by: Andreas K. Hüttel gentoo.org> arch/mips.toml | 16 1 file changed, 16 insertions(+) diff --git a/arch/mips.toml b/arch/mips.toml index 95fd6b40..4e470886 100644 --- a/arch/mips.toml +++ b/arch/mips.toml @@ -6,6 +6,10 @@ COMMON_FLAGS = "-O2 -march=mips1 -mabi=32 -mplt -pipe" CHOST = "mips-unknown-linux-gnu" COMMON_FLAGS = "-O2 -march=mips2 -mabi=32 -mplt -pipe" +[mips.mips2_softfloat] +CHOST = "mips-softfloat-linux-gnu" +COMMON_FLAGS = "-O2 -march=mips2 -mabi=32 -mplt -pipe" + [mips.mips2_musl] CHOST = "mips-gentoo-linux-musl" COMMON_FLAGS = "-O2 -march=mips2 -mabi=32 -mplt -pipe" @@ -62,6 +66,10 @@ COMMON_FLAGS = "-O2 -march=mips1 -mabi=32 -mplt -pipe" CHOST = "mipsel-unknown-linux-gnu" COMMON_FLAGS = "-O2 -march=mips2 -mabi=32 -mplt -pipe" +[mips.mipsel2_softfloat] +CHOST = "mipsel-softfloat-linux-gnu" +COMMON_FLAGS = "-O2 -march=mips2 -mabi=32 -mplt -pipe" + [mips.mipsel2_musl] CHOST = "mipsel-gentoo-linux-musl" COMMON_FLAGS = "-O2 -march=mips2 -mabi=32 -mplt -pipe" @@ -118,6 +126,10 @@ COMMON_FLAGS = "-O2 -march=loongson3a -mabi=32 -mplt -pipe" CHOST = "mips64-unknown-linux-gnu" COMMON_FLAGS = "-O2 -march=mips3 -mabi=n32 -mplt -mfix-r4000 -mfix-r4400 -pipe" +[mips64.mips3_n32_softfloat] +CHOST = "mips64-softfloat-linux-gnu" +COMMON_FLAGS = "-O2 -march=mips3 -mabi=n32 -mplt -mfix-r4000 -mfix-r4400 -pipe" + [mips64.mips3_n64] CHOST = "mips64-unknown-linux-gnu" COMMON_FLAGS = "-O2 -march=mips3 -mabi=64 -mfix-r4000 -mfix-r4400 -pipe" @@ -194,6 +206,10 @@ COMMON_FLAGS = "-O2 -march=mips64r2 -mplt -pipe" CHOST = "mips64el-unknown-linux-gnu" COMMON_FLAGS = "-O2 -march=mips3 -mabi=n32 -mplt -Wa,-mfix-loongson2f-nop -mfix-r5900 -pipe" +[mips64.mipsel3_n32_softfloat] +CHOST = "mips64el-softfloat-linux-gnu" +COMMON_FLAGS = "-O2 -march=mips3 -mabi=n32 -mplt -Wa,-mfix-loongson2f-nop -mfix-r5900 -pipe" + [mips64.mipsel3_n64] CHOST = "mips64el-unknown-linux-gnu" COMMON_FLAGS = "-O2 -march=mips3 -mabi=64 -Wa,-mfix-loongson2f-nop -pipe"
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: c9d0f96dc7dbe5cfb32e8379022fd44016445bd5 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sun Mar 5 21:31:58 2023 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Sun Mar 5 21:31:58 2023 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=c9d0f96d Add mips musl subarch definitions Signed-off-by: Andreas K. Hüttel gentoo.org> arch/mips.toml | 24 1 file changed, 24 insertions(+) diff --git a/arch/mips.toml b/arch/mips.toml index 22c9a22a..95fd6b40 100644 --- a/arch/mips.toml +++ b/arch/mips.toml @@ -6,6 +6,10 @@ COMMON_FLAGS = "-O2 -march=mips1 -mabi=32 -mplt -pipe" CHOST = "mips-unknown-linux-gnu" COMMON_FLAGS = "-O2 -march=mips2 -mabi=32 -mplt -pipe" +[mips.mips2_musl] +CHOST = "mips-gentoo-linux-musl" +COMMON_FLAGS = "-O2 -march=mips2 -mabi=32 -mplt -pipe" + [mips.mips32] CHOST = "mips-unknown-linux-gnu" COMMON_FLAGS = "-O2 -march=mips32 -mabi=32 -mplt -pipe" @@ -26,6 +30,10 @@ COMMON_FLAGS = "-O2 -march=mips32r2 -mabi=32 -mplt -pipe" CHOST = "mips-unknown-linux-gnu" COMMON_FLAGS = "-O2 -march=mips3 -mabi=32 -mplt -mfix-r4000 -mfix-r4400 -pipe" +[mips.mips3_musl] +CHOST = "mips-gentoo-linux-musl" +COMMON_FLAGS = "-O2 -march=mips3 -mabi=32 -mplt -mfix-r4000 -mfix-r4400 -pipe" + [mips.mips4_r5k] CHOST = "mips-unknown-linux-gnu" COMMON_FLAGS = "-O2 -march=r5k -mabi=32 -mplt -pipe" @@ -54,6 +62,10 @@ COMMON_FLAGS = "-O2 -march=mips1 -mabi=32 -mplt -pipe" CHOST = "mipsel-unknown-linux-gnu" COMMON_FLAGS = "-O2 -march=mips2 -mabi=32 -mplt -pipe" +[mips.mipsel2_musl] +CHOST = "mipsel-gentoo-linux-musl" +COMMON_FLAGS = "-O2 -march=mips2 -mabi=32 -mplt -pipe" + [mips.mips32el] CHOST = "mipsel-unknown-linux-gnu" COMMON_FLAGS = "-O2 -march=mips32 -mabi=32 -mplt -pipe" @@ -74,6 +86,10 @@ COMMON_FLAGS = "-O2 -march=mips32r2 -mabi=32 -mplt -pipe" CHOST = "mipsel-unknown-linux-gnu" COMMON_FLAGS = "-O2 -march=mips3 -mabi=32 -mplt -Wa,-mfix-loongson2f-nop -mfix-r5900 -pipe" +[mips.mipsel3_musl] +CHOST = "mipsel-gentoo-linux-musl" +COMMON_FLAGS = "-O2 -march=mips3 -mabi=32 -mplt -Wa,-mfix-loongson2f-nop -mfix-r5900 -pipe" + [mips.mipsel4_r5k] CHOST = "mipsel-unknown-linux-gnu" COMMON_FLAGS = "-O2 -march=r5k -mabi=32 -mplt -pipe" @@ -106,6 +122,10 @@ COMMON_FLAGS = "-O2 -march=mips3 -mabi=n32 -mplt -mfix-r4000 -mfix-r4400 -pipe" CHOST = "mips64-unknown-linux-gnu" COMMON_FLAGS = "-O2 -march=mips3 -mabi=64 -mfix-r4000 -mfix-r4400 -pipe" +[mips64.mips3_n64_musl] +CHOST = "mips64-gentoo-linux-musl" +COMMON_FLAGS = "-O2 -march=mips3 -mabi=64 -mfix-r4000 -mfix-r4400 -pipe" + [mips64.mips3_multilib] CHOST = "mips64-unknown-linux-gnu" COMMON_FLAGS = "-O2 -march=mips3 -mplt -mfix-r4000 -mfix-r4400 -pipe" @@ -202,6 +222,10 @@ COMMON_FLAGS = "-O2 -march=mips64 -mabi=n32 -mplt -pipe" CHOST = "mips64el-unknown-linux-gnu" COMMON_FLAGS = "-O2 -march=mips64 -mabi=64 -pipe" +[mips64.mips64el_n64_musl] +CHOST = "mips64el-gentoo-linux-musl" +COMMON_FLAGS = "-O2 -march=mips64 -mabi=64 -pipe" + [mips64.mips64el_multilib] CHOST = "mips64el-unknown-linux-gnu" COMMON_FLAGS = "-O2 -march=mips64 -mplt -pipe"
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: 3cda3aaa41fb32aebf3595d2bb4529e41757d83f Author: Andreas K. Hüttel gentoo org> AuthorDate: Tue Jan 17 21:26:11 2023 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Tue Jan 17 21:26:11 2023 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=3cda3aaa Add aarch64_be subarch definition Signed-off-by: Andreas K. Hüttel gentoo.org> arch/arm64.toml | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64.toml b/arch/arm64.toml index e139327f..5f522d6c 100644 --- a/arch/arm64.toml +++ b/arch/arm64.toml @@ -5,3 +5,7 @@ CHOST = "aarch64-unknown-linux-gnu" [arm64.aarch64] COMMON_FLAGS = "-O2 -pipe" CHOST = "aarch64-unknown-linux-gnu" + +[arm64.aarch64_be] +COMMON_FLAGS = "-O2 -pipe" +CHOST = "aarch64_be-unknown-linux-gnu"
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: d51e8f18a3e0653d29aeb31310b3525a942db031 Author: Andreas K. Hüttel gentoo org> AuthorDate: Mon Nov 14 14:09:55 2022 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Mon Nov 14 14:09:55 2022 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=d51e8f18 amd64 definition: add a subarch "x86_64" identical to "amd64" When CHOST is given in the spec file, the subarch is extracted from the triplet. And that's x86_64 here... Signed-off-by: Andreas K. Hüttel gentoo.org> arch/amd64.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/amd64.toml b/arch/amd64.toml index 8347cd7e..7cf0bce2 100644 --- a/arch/amd64.toml +++ b/arch/amd64.toml @@ -1,6 +1,9 @@ [amd64.amd64] COMMON_FLAGS = "-O2 -pipe" +[amd64.x86_64] +COMMON_FLAGS = "-O2 -pipe" + [amd64.k8] COMMON_FLAGS = "-O2 -march=k8 -pipe" CPU_FLAGS_X86 = [ "mmx", "mmxext", "3dnow", "3dnowext", "sse", "sse2",]
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: e1e5c5d1cefeea7822ebaea1b07bae1db82e0765 Author: Andreas K. Hüttel gentoo org> AuthorDate: Tue Oct 11 12:49:14 2022 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Tue Oct 11 12:49:14 2022 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=e1e5c5d1 arch: Add loong Signed-off-by: Andreas K. Hüttel gentoo.org> arch/loong.toml | 4 1 file changed, 4 insertions(+) diff --git a/arch/loong.toml b/arch/loong.toml new file mode 100644 index ..7ff92c03 --- /dev/null +++ b/arch/loong.toml @@ -0,0 +1,4 @@ +[loong.loong] +COMMON_FLAGS = " -pipe -O2" +CHOST = "loongarch64-unknown-linux-gnu" +
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: 719ba186678bef8ba5486e994c8ae1d841ef9bc7 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sat Jul 30 18:38:46 2022 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Sat Jul 30 18:38:46 2022 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=719ba186 arch: Add subarch definition for riscv64 softfloat musl Signed-off-by: Andreas K. Hüttel gentoo.org> arch/riscv.toml | 4 1 file changed, 4 insertions(+) diff --git a/arch/riscv.toml b/arch/riscv.toml index 982757ae..a76e5cd5 100644 --- a/arch/riscv.toml +++ b/arch/riscv.toml @@ -18,6 +18,10 @@ CHOST = "riscv64-gentoo-linux-musl" COMMON_FLAGS = "-O2 -pipe" CHOST = "riscv64-unknown-linux-gnu" +[riscv.rv64_lp64_musl] +COMMON_FLAGS = "-O2 -pipe" +CHOST = "riscv64-gentoo-linux-musl" + [riscv.rv32_ilp32d] COMMON_FLAGS = "-O2 -pipe" CHOST = "riscv32-unknown-linux-gnu"
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: 85c6f6a80296fb4c5866ff1a59668c935aeaf1c5 Author: Matt Turner gentoo org> AuthorDate: Thu Apr 21 06:36:36 2022 + Commit: Matt Turner gentoo org> CommitDate: Thu Apr 21 16:43:53 2022 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=85c6f6a8 arch/mips: Compile mipsel3 stages with -mfix-r5900 ... which will make them usable on the PlayStation 2. Don't bother modifying the n64 ABI configuration, since it will never work on the PS2. Suggested-by: Fredrik Noring nocrew.org> Signed-off-by: Matt Turner gentoo.org> arch/mips.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/mips.toml b/arch/mips.toml index a10ee799..22c9a22a 100644 --- a/arch/mips.toml +++ b/arch/mips.toml @@ -72,7 +72,7 @@ COMMON_FLAGS = "-O2 -march=mips32r2 -mabi=32 -mplt -pipe" [mips.mipsel3] CHOST = "mipsel-unknown-linux-gnu" -COMMON_FLAGS = "-O2 -march=mips3 -mabi=32 -mplt -Wa,-mfix-loongson2f-nop -pipe" +COMMON_FLAGS = "-O2 -march=mips3 -mabi=32 -mplt -Wa,-mfix-loongson2f-nop -mfix-r5900 -pipe" [mips.mipsel4_r5k] CHOST = "mipsel-unknown-linux-gnu" @@ -172,7 +172,7 @@ COMMON_FLAGS = "-O2 -march=mips64r2 -mplt -pipe" [mips64.mipsel3_n32] CHOST = "mips64el-unknown-linux-gnu" -COMMON_FLAGS = "-O2 -march=mips3 -mabi=n32 -mplt -Wa,-mfix-loongson2f-nop -pipe" +COMMON_FLAGS = "-O2 -march=mips3 -mabi=n32 -mplt -Wa,-mfix-loongson2f-nop -mfix-r5900 -pipe" [mips64.mipsel3_n64] CHOST = "mips64el-unknown-linux-gnu" @@ -180,7 +180,7 @@ COMMON_FLAGS = "-O2 -march=mips3 -mabi=64 -Wa,-mfix-loongson2f-nop -pipe" [mips64.mipsel3_multilib] CHOST = "mips64el-unknown-linux-gnu" -COMMON_FLAGS = "-O2 -march=mips3 -mplt -Wa,-mfix-loongson2f-nop -pipe" +COMMON_FLAGS = "-O2 -march=mips3 -mplt -Wa,-mfix-loongson2f-nop -mfix-r5900 -pipe" [mips64.mipsel4_r5k_n32] CHOST = "mips64el-unknown-linux-gnu"
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: 33acb9895cfa5ceadd962bee555fcfdf7eea11bd Author: Andreas K. Hüttel gentoo org> AuthorDate: Sun Feb 27 15:41:50 2022 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Sun Feb 27 15:41:50 2022 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=33acb989 arch: Add riscv64 lp64d musl definition Signed-off-by: Andreas K. Hüttel gentoo.org> arch/riscv.toml | 4 1 file changed, 4 insertions(+) diff --git a/arch/riscv.toml b/arch/riscv.toml index 101cfe19..982757ae 100644 --- a/arch/riscv.toml +++ b/arch/riscv.toml @@ -10,6 +10,10 @@ CHOST = "riscv64-unknown-linux-gnu" COMMON_FLAGS = "-O2 -pipe" CHOST = "riscv64-unknown-linux-gnu" +[riscv.rv64_lp64d_musl] +COMMON_FLAGS = "-O2 -pipe" +CHOST = "riscv64-gentoo-linux-musl" + [riscv.rv64_lp64] COMMON_FLAGS = "-O2 -pipe" CHOST = "riscv64-unknown-linux-gnu"
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: 2bcd8c9654fc53858863dae69784a996475cb22c Author: Andreas K. Hüttel gentoo org> AuthorDate: Sat Nov 20 14:31:10 2021 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Sat Nov 20 14:31:10 2021 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=2bcd8c96 arch: Add armv6j hardfloat musl subarch Signed-off-by: Andreas K. Hüttel gentoo.org> arch/arm.toml | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm.toml b/arch/arm.toml index 712df346..6e9cc635 100644 --- a/arch/arm.toml +++ b/arch/arm.toml @@ -42,6 +42,10 @@ CHOST = "armv7a-softfp-linux-gnueabi" COMMON_FLAGS = "-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard" CHOST = "armv6j-unknown-linux-gnueabihf" +[arm.armv6j_hardfp_musl] +COMMON_FLAGS = "-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard" +CHOST = "armv6j-unknown-linux-musleabihf" + [arm.armv7a_hardfp] COMMON_FLAGS = "-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard" CHOST = "armv7a-unknown-linux-gnueabihf"
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: a0ffc952aee4b263c51016f9a11696741c3c6965 Author: Andreas K. Hüttel gentoo org> AuthorDate: Wed Nov 17 21:20:17 2021 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Wed Nov 17 21:20:39 2021 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=a0ffc952 arch: Add as experiment a first musl subarch (armv7a-hf) Signed-off-by: Andreas K. Hüttel gentoo.org> arch/arm.toml | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm.toml b/arch/arm.toml index f28498df..712df346 100644 --- a/arch/arm.toml +++ b/arch/arm.toml @@ -46,6 +46,10 @@ CHOST = "armv6j-unknown-linux-gnueabihf" COMMON_FLAGS = "-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard" CHOST = "armv7a-unknown-linux-gnueabihf" +[arm.armv7a_hardfp_musl] +COMMON_FLAGS = "-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard" +CHOST = "armv7a-unknown-linux-musleabihf" + [arm.armeb] COMMON_FLAGS = "-O2 -pipe" CHOST = "armeb-unknown-linux-gnu"
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: 1a94eb5dd29e763e23f6276c191175722732ab16 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sat Sep 11 18:10:17 2021 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Sat Sep 11 18:10:17 2021 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=1a94eb5d arm64 definition: add a subarch "aarch64" identical to "arm64" When CHOST is given in the spec file, the subarch is extracted from the triplet. Unfortunately that uses aarch64 instead of our arm64 ... Signed-off-by: Andreas K. Hüttel gentoo.org> arch/arm64.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64.toml b/arch/arm64.toml index 613b4e68..e139327f 100644 --- a/arch/arm64.toml +++ b/arch/arm64.toml @@ -2,3 +2,6 @@ COMMON_FLAGS = "-O2 -pipe" CHOST = "aarch64-unknown-linux-gnu" +[arm64.aarch64] +COMMON_FLAGS = "-O2 -pipe" +CHOST = "aarch64-unknown-linux-gnu"
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: 954168fb35500c46b2eeed3929fcb904fca66275 Author: Georgy Yakovlev gentoo org> AuthorDate: Wed Oct 21 04:33:47 2020 + Commit: Matt Turner gentoo org> CommitDate: Wed Oct 21 17:58:12 2020 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=954168fb arch/ppc.toml: add power9 subarches Signed-off-by: Georgy Yakovlev gentoo.org> Signed-off-by: Matt Turner gentoo.org> arch/ppc.toml | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/ppc.toml b/arch/ppc.toml index 6f74789d..c8623cca 100644 --- a/arch/ppc.toml +++ b/arch/ppc.toml @@ -42,6 +42,16 @@ COMMON_FLAGS = "-O2 -pipe -mcpu=power8 -mtune=power8" CHOST = "powerpc64le-unknown-linux-gnu" USE = [ "altivec", "ibm",] +[ppc64.power9] +COMMON_FLAGS = "-O2 -pipe -mcpu=power9 -mtune=power9" +CHOST = "powerpc64-unknown-linux-gnu" +USE = [ "altivec", "ibm",] + +[ppc64.power9le] +COMMON_FLAGS = "-O2 -pipe -mcpu=power9 -mtune=power9" +CHOST = "powerpc64le-unknown-linux-gnu" +USE = [ "altivec", "ibm",] + [ppc64.ppc64] COMMON_FLAGS = "-O2 -pipe" CHOST = "powerpc64-unknown-linux-gnu"
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: 3be3ac842c2a97bd6f60e133591414114c5d60e2 Author: Georgy Yakovlev gentoo org> AuthorDate: Wed Oct 21 04:33:45 2020 + Commit: Matt Turner gentoo org> CommitDate: Wed Oct 21 17:58:12 2020 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=3be3ac84 arch/ppc.toml: add CHOST based subarches if stage spec sets chost value, code in catalyst/base/stagebase.py#L76 will derive subarch value from the frontmost part of CHOST triple. if such subarch is not defined in toml file, build will fail. Add generic copy of base subarches defined in CHOST format. Signed-off-by: Georgy Yakovlev gentoo.org> Signed-off-by: Matt Turner gentoo.org> arch/ppc.toml | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/ppc.toml b/arch/ppc.toml index a3db919e..870c7647 100644 --- a/arch/ppc.toml +++ b/arch/ppc.toml @@ -46,10 +46,18 @@ USE = [ "altivec", "ibm",] COMMON_FLAGS = "-O2 -pipe" CHOST = "powerpc64-unknown-linux-gnu" +[ppc64.powerpc64] +COMMON_FLAGS = "-O2 -pipe" +CHOST = "powerpc64-unknown-linux-gnu" + [ppc64.ppc64le] COMMON_FLAGS = "-O2 -pipe" CHOST = "powerpc64le-unknown-linux-gnu" +[ppc64.powerpc64le] +COMMON_FLAGS = "-O2 -pipe" +CHOST = "powerpc64le-unknown-linux-gnu" + [ppc.g3] CHOST = "powerpc-unknown-linux-gnu" COMMON_FLAGS = "-O2 -mcpu=G3 -mtune=G3 -pipe" @@ -68,3 +76,6 @@ USE = [ "altivec",] CHOST = "powerpc-unknown-linux-gnu" COMMON_FLAGS = "-O2 -mcpu=powerpc -mtune=powerpc -pipe" +[ppc.powerpc] +CHOST = "powerpc-unknown-linux-gnu" +COMMON_FLAGS = "-O2 -mcpu=powerpc -mtune=powerpc -pipe"
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: 5eb5373bad83374a6c1ab8eef37edda82dd562b7 Author: Georgy Yakovlev gentoo org> AuthorDate: Wed Oct 21 04:33:46 2020 + Commit: Matt Turner gentoo org> CommitDate: Wed Oct 21 17:58:12 2020 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=5eb5373b arch/ppc.toml: don't force -mabi=elfv2 on power subarches. -mabi=elfv2 is default on ppc64le in gcc/glibc toolchain for all powerpc64le-*-linux-gnu CHOSTS, so we don't need to pass it. forcing -mabi=elfv2 on ppc64(be) is quite risky, as it's not standard configuration and not officialy supported by glibc at all. according to glibc upstream it should be a separate ABI port. Also many apps/tools assume elfv1 on big-endian, and while fixes are being upstreamed, we've observed breakage in: openssl[asm], nodejs, ffmpeg and others. If we want to ship elfv2 ppc64be stage, we should define it as separate subarch and strictly put it in experimental. to my knowledge those subarch definitions are not used by releng yet, so we will not break anything. Signed-off-by: Georgy Yakovlev gentoo.org> Signed-off-by: Matt Turner gentoo.org> arch/ppc.toml | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/ppc.toml b/arch/ppc.toml index 870c7647..6f74789d 100644 --- a/arch/ppc.toml +++ b/arch/ppc.toml @@ -23,22 +23,22 @@ CHOST = "powerpc64-unknown-linux-gnu" USE = [ "altivec", "ibm",] [ppc64.power7] -COMMON_FLAGS = "-O2 -pipe -mcpu=power7 -mtune=power7 -mabi=elfv2" +COMMON_FLAGS = "-O2 -pipe -mcpu=power7 -mtune=power7" CHOST = "powerpc64-unknown-linux-gnu" USE = [ "altivec", "ibm",] [ppc64.power7le] -COMMON_FLAGS = "-O2 -pipe -mcpu=power7 -mtune=power7 -mabi=elfv2" +COMMON_FLAGS = "-O2 -pipe -mcpu=power7 -mtune=power7" CHOST = "powerpc64le-unknown-linux-gnu" USE = [ "altivec", "ibm",] [ppc64.power8] -COMMON_FLAGS = "-O2 -pipe -mcpu=power8 -mtune=power8 -mabi=elfv2" +COMMON_FLAGS = "-O2 -pipe -mcpu=power8 -mtune=power8" CHOST = "powerpc64-unknown-linux-gnu" USE = [ "altivec", "ibm",] [ppc64.power8le] -COMMON_FLAGS = "-O2 -pipe -mcpu=power8 -mtune=power8 -mabi=elfv2" +COMMON_FLAGS = "-O2 -pipe -mcpu=power8 -mtune=power8" CHOST = "powerpc64le-unknown-linux-gnu" USE = [ "altivec", "ibm",]
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: beb0f53cf9282a765171cea76b1bc3c79121c4f2 Author: Andreas K. Hüttel gentoo org> AuthorDate: Thu Sep 17 21:08:54 2020 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Thu Sep 17 21:08:54 2020 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=beb0f53c Add rv32 subarch names (all cflags magic is done in the profiles) Signed-off-by: Andreas K. Hüttel gentoo.org> arch/riscv.toml | 8 1 file changed, 8 insertions(+) diff --git a/arch/riscv.toml b/arch/riscv.toml index 637fe485..101cfe19 100644 --- a/arch/riscv.toml +++ b/arch/riscv.toml @@ -13,3 +13,11 @@ CHOST = "riscv64-unknown-linux-gnu" [riscv.rv64_lp64] COMMON_FLAGS = "-O2 -pipe" CHOST = "riscv64-unknown-linux-gnu" + +[riscv.rv32_ilp32d] +COMMON_FLAGS = "-O2 -pipe" +CHOST = "riscv32-unknown-linux-gnu" + +[riscv.rv32_ilp32] +COMMON_FLAGS = "-O2 -pipe" +CHOST = "riscv32-unknown-linux-gnu"
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: 86aedec0f90f1112cb2968031f75e5da8824c651 Author: Andreas K. Hüttel gentoo org> AuthorDate: Fri Jul 17 09:39:17 2020 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Fri Jul 17 09:39:17 2020 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=86aedec0 Add rv64 subarch names (all cflags magic is done in the profiles) Signed-off-by: Andreas K. Hüttel gentoo.org> arch/riscv.toml | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/riscv.toml b/arch/riscv.toml index 0611a1ac..637fe485 100644 --- a/arch/riscv.toml +++ b/arch/riscv.toml @@ -2,3 +2,14 @@ COMMON_FLAGS = "-O2 -pipe" CHOST = "riscv64-unknown-linux-gnu" +[riscv.rv64_multilib] +COMMON_FLAGS = "-O2 -pipe" +CHOST = "riscv64-unknown-linux-gnu" + +[riscv.rv64_lp64d] +COMMON_FLAGS = "-O2 -pipe" +CHOST = "riscv64-unknown-linux-gnu" + +[riscv.rv64_lp64] +COMMON_FLAGS = "-O2 -pipe" +CHOST = "riscv64-unknown-linux-gnu"
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: 11acd43a3d71ad22628b0ba2973b8cb34b5e1d4c Author: Matt Turner gentoo org> AuthorDate: Sun Apr 12 23:13:50 2020 + Commit: Matt Turner gentoo org> CommitDate: Tue Apr 14 18:29:25 2020 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=11acd43a arch: Add architecture TOML files Generated by: | #!/bin/bash | | mkdir -p arch/ | | for x in catalyst/arch/*.py; do | [[ $x == *"__init__.py" ]] && continue | | arch=$(basename "$x") | arch="${arch%.py}" | | python3 <<-EOF > "arch/${arch}.toml" | #!/usr/bin/env python3 | | import toml | import catalyst.arch.$arch as arch | | subarches, arches = arch.register() | | s = {} | setarch = {} | | for subarch in subarches.items(): | name = subarch[0] | data = subarch[1]({}) | | arch = data.settings.pop("PROFILE_ARCH") | if arch not in s: s[arch] = {} | | if "setarch_arch" in data.settings and \ | "setarch_build" in data.settings: | if arch not in setarch: setarch[arch] = {} | | setarch[arch]["arch"] = data.settings["setarch_arch"] | setarch[arch]["if_build"] = data.settings["setarch_build"] | | del data.settings["setarch_arch"] | del data.settings["setarch_build"] | | hostuseexpand = data.settings.pop("HOSTUSEEXPAND", {}) | hostuse = data.settings.pop("HOSTUSE", {}) | | s[arch][name] = data.settings | s[arch][name].update(hostuseexpand) | if hostuse: s[arch][name].update({"USE": hostuse}) | | if setarch: print(toml.dumps({'setarch': setarch})) | print(toml.dumps(s)) | EOF | done Signed-off-by: Matt Turner gentoo.org> arch/alpha.toml | 32 +++ arch/amd64.toml | 26 ++ arch/arm.toml | 56 arch/arm64.toml | 4 + arch/hppa.toml| 8 ++ arch/ia64.toml| 4 + arch/m68k.toml| 4 + arch/mips.toml| 256 ++ arch/powerpc.toml | 70 +++ arch/riscv.toml | 4 + arch/s390.toml| 8 ++ arch/sh.toml | 48 ++ arch/sparc.toml | 12 +++ arch/x86.toml | 66 ++ 14 files changed, 598 insertions(+) diff --git a/arch/alpha.toml b/arch/alpha.toml new file mode 100644 index ..803bed4a --- /dev/null +++ b/arch/alpha.toml @@ -0,0 +1,32 @@ +[alpha.alpha] +COMMON_FLAGS = "-mieee -pipe -O2 -mcpu=ev4" +CHOST = "alpha-unknown-linux-gnu" + +[alpha.ev4] +COMMON_FLAGS = "-mieee -pipe -O2 -mcpu=ev4" +CHOST = "alpha-unknown-linux-gnu" + +[alpha.ev45] +COMMON_FLAGS = "-mieee -pipe -O2 -mcpu=ev45" +CHOST = "alpha-unknown-linux-gnu" + +[alpha.ev5] +COMMON_FLAGS = "-mieee -pipe -O2 -mcpu=ev5" +CHOST = "alpha-unknown-linux-gnu" + +[alpha.ev56] +COMMON_FLAGS = "-mieee -pipe -O2 -mcpu=ev56" +CHOST = "alpha-unknown-linux-gnu" + +[alpha.pca56] +COMMON_FLAGS = "-mieee -pipe -O2 -mcpu=pca56" +CHOST = "alpha-unknown-linux-gnu" + +[alpha.ev6] +COMMON_FLAGS = "-mieee -pipe -O2 -mcpu=ev6" +CHOST = "alpha-unknown-linux-gnu" + +[alpha.ev67] +COMMON_FLAGS = "-mieee -pipe -O2 -mcpu=ev67" +CHOST = "alpha-unknown-linux-gnu" + diff --git a/arch/amd64.toml b/arch/amd64.toml new file mode 100644 index ..8347cd7e --- /dev/null +++ b/arch/amd64.toml @@ -0,0 +1,26 @@ +[amd64.amd64] +COMMON_FLAGS = "-O2 -pipe" + +[amd64.k8] +COMMON_FLAGS = "-O2 -march=k8 -pipe" +CPU_FLAGS_X86 = [ "mmx", "mmxext", "3dnow", "3dnowext", "sse", "sse2",] + +[amd64.nocona] +COMMON_FLAGS = "-O2 -march=nocona -pipe" +CPU_FLAGS_X86 = [ "mmx", "mmxext", "sse", "sse2", "sse3",] + +[amd64.core2] +COMMON_FLAGS = "-O2 -march=core2 -pipe" +CPU_FLAGS_X86 = [ "mmx", "mmxext", "sse", "sse2", "sse3", "ssse3",] + +[amd64.k8-sse3] +COMMON_FLAGS = "-O2 -march=k8-sse3 -pipe" +CPU_FLAGS_X86 = [ "mmx", "mmxext", "3dnow", "3dnowext", "sse", "sse2", "sse3",] + +[amd64.amdfam10] +COMMON_FLAGS = "-O2 -march=amdfam10 -pipe" +CPU_FLAGS_X86 = [ "mmx", "mmxext", "3dnow", "3dnowext", "sse", "sse2", "sse3", "sse4a",] + +[amd64.x32] +COMMON_FLAGS = "-O2 -pipe" + diff --git a/arch/arm.toml b/arch/arm.toml new file mode 100644 index ..f28498df --- /dev/null +++ b/arch/arm.toml @@ -0,0 +1,56 @@ +[arm.arm] +COMMON_FLAGS = "-O2 -pipe" +CHOST = "arm-unknown-linux-gnu" + +[arm.armv4l] +COMMON_FLAGS = "-O2 -pipe -march=armv4" +CHOST = "armv4l-unknown-linux-gnu" + +[arm.armv4tl] +COMMON_FLAGS = "-O2 -pipe -march=armv4t" +CHOST = "armv4tl-softfloat-linux-gnueabi" + +[arm.armv5tl] +COMMON_FLAGS = "-O2 -pipe -march=armv5t" +CHOST = "armv5tl-softfloat-linux-gnueabi" + +[arm.armv5tel] +COMMON_FLAGS = "-O2 -pipe -march=armv5te" +CHOST = "armv5tel-softfloat-linux-gnueabi" + +[arm.armv5tejl] +COMMON_FLAGS =
[gentoo-commits] proj/catalyst:master commit in: arch/
commit: 0feb2f573511c9cfe33f8087d60e68e1cce2a68a Author: Matt Turner gentoo org> AuthorDate: Mon Apr 13 17:43:33 2020 + Commit: Matt Turner gentoo org> CommitDate: Tue Apr 14 18:29:25 2020 + URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=0feb2f57 arch: Rename powerpc.toml -> ppc.toml With this, all architecture names match the names of their TOML file. Signed-off-by: Matt Turner gentoo.org> arch/{powerpc.toml => ppc.toml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/arch/powerpc.toml b/arch/ppc.toml similarity index 100% rename from arch/powerpc.toml rename to arch/ppc.toml