From: "Andreas K. Hüttel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/catalyst:catalyst-3.0-stable commit in: catalyst/arch/
Date: Tue, 11 Oct 2022 12:53:09 +0000 (UTC) [thread overview]
Message-ID: <1665492775.2998cce2717052a01861b23b90572fb189d12cdc.dilfridge@gentoo> (raw)
commit: 2998cce2717052a01861b23b90572fb189d12cdc
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 11 12:52:55 2022 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Tue Oct 11 12:52:55 2022 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=2998cce2
arch: Add loong
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
catalyst/arch/loong.py | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/catalyst/arch/loong.py b/catalyst/arch/loong.py
new file mode 100644
index 00000000..66786dfe
--- /dev/null
+++ b/catalyst/arch/loong.py
@@ -0,0 +1,20 @@
+
+from catalyst import builder
+
+class generic_loong(builder.generic):
+ "abstract base class for all loong builders"
+ def __init__(self,myspec):
+ builder.generic.__init__(self,myspec)
+ self.settings["COMMON_FLAGS"]=" -pipe"
+
+class arch_loong(generic_loong):
+ "builder class for generic loong"
+ def __init__(self,myspec):
+ generic_loong.__init__(self,myspec)
+ self.settings["COMMON_FLAGS"]+=" -O2"
+ self.settings["CHOST"]="loongarch64-unknown-linux-gnu"
+
+def register():
+ "Inform main catalyst program of the contents of this plugin."
+ return ({ "loong":arch_loong },
+ ("loong", ))
next reply other threads:[~2022-10-11 12:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-11 12:53 Andreas K. Hüttel [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-08-13 11:35 [gentoo-commits] proj/catalyst:catalyst-3.0-stable commit in: catalyst/arch/ Andreas K. Hüttel
2022-07-30 18:41 Andreas K. Hüttel
2022-04-23 13:24 Andreas K. Hüttel
2022-02-27 15:46 Andreas K. Hüttel
2020-12-23 15:01 Andreas K. Hüttel
2020-09-17 21:03 Andreas K. Hüttel
2020-07-18 17:19 Andreas K. Hüttel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1665492775.2998cce2717052a01861b23b90572fb189d12cdc.dilfridge@gentoo \
--to=dilfridge@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox