aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2020-09-05 17:24:22 +0300
committerAndreas K. Hüttel <dilfridge@gentoo.org>2020-09-05 17:24:22 +0300
commita7c43cebd36f4ab1240e9798532d524daac77441 (patch)
tree824c67d9be8d9367962c38b72af217bdc29877ce
parentprofiles: Add rv32 abis to multilib profile (diff)
downloadriscv-a7c43ceb.tar.gz
riscv-a7c43ceb.tar.bz2
riscv-a7c43ceb.zip
Copy arch/riscv contents from main tree
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rw-r--r--profiles/arch/riscv/eapi1
-rw-r--r--profiles/arch/riscv/make.defaults25
-rw-r--r--profiles/arch/riscv/package.accept_keywords7
-rw-r--r--profiles/arch/riscv/package.use.mask124
-rw-r--r--profiles/arch/riscv/packages5
-rw-r--r--profiles/arch/riscv/packages.build3
-rw-r--r--profiles/arch/riscv/parent1
-rw-r--r--profiles/arch/riscv/rv64gc/parent2
-rw-r--r--profiles/arch/riscv/use.force5
-rw-r--r--profiles/arch/riscv/use.mask42
10 files changed, 214 insertions, 1 deletions
diff --git a/profiles/arch/riscv/eapi b/profiles/arch/riscv/eapi
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/profiles/arch/riscv/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/riscv/make.defaults b/profiles/arch/riscv/make.defaults
new file mode 100644
index 0000000..bae66d7
--- /dev/null
+++ b/profiles/arch/riscv/make.defaults
@@ -0,0 +1,25 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Main RISC-V profile directory.
+
+# This is not a complete profile. Use the subdirectories!
+
+ARCH="riscv"
+ACCEPT_KEYWORDS="riscv ~riscv"
+
+CHOST="riscv64-unknown-linux-gnu"
+
+# Since many people will want to test this in qemu...
+FEATURES="-pid-sandbox -network-sandbox -ipc-sandbox"
+
+# The following stuff is, e.g., defined in subdirs:
+# CFLAGS
+# CXXFLAGS
+# FFLAGS
+# FCFLAGS
+# ABI
+# DEFAULT_ABI
+# MULTILIB_ABIS
+# CHOST_riscv
+# LIBDIR_riscv
diff --git a/profiles/arch/riscv/package.accept_keywords b/profiles/arch/riscv/package.accept_keywords
new file mode 100644
index 0000000..3ebc00a
--- /dev/null
+++ b/profiles/arch/riscv/package.accept_keywords
@@ -0,0 +1,7 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Even if someone makes Portage accept other keywords, here
+# we need specific versions / patches for riscv!
+sys-devel/gcc -amd64 -~amd64
+sys-libs/glibc -amd64 -~amd64
diff --git a/profiles/arch/riscv/package.use.mask b/profiles/arch/riscv/package.use.mask
new file mode 100644
index 0000000..0a948e7
--- /dev/null
+++ b/profiles/arch/riscv/package.use.mask
@@ -0,0 +1,124 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Ulrich Müller <ulm@gentoo.org> (2020-01-12)
+# Dependencies not keyworded
+app-editors/emacs gui
+
+# Yixun Lan <dlan@gentoo.org> (2020-09-01)
+# Dependencies not keyworded
+dev-libs/jansson doc
+
+# Jakov Smolic <jakov.smolic@sartura.hr> (2020-08-14)
+# Large amount of missing keywords
+# Bug #724358
+>=dev-libs/json-c-0.15 doc
+
+# Sam James <sam@gentoo.org> (2020-07-31)
+# Large amount of missing keywords for cmake and friends
+# bug #720296, bug #724358
+dev-util/cmake doc test
+dev-libs/jsoncpp doc
+
+# Lars Wendler <polynomial-c@gentoo.org> (2020-05-10)
+# Missing keyword
+media-libs/freetype brotli
+
+# Patrick McLean <chutzpah@gentoo.org> (2020-04-16)
+# Lots of python dependencies, mask to facilitate keywording
+# keywording dev-libs/libfido2
+dev-libs/libcbor doc
+
+# Joonas Niilola <juippis@gentoo.org> (2020-03-26)
+# Dependency not keyworded on ~riscv
+dev-libs/libpipeline test
+sys-apps/kbd test
+
+# Patrick McLean <chutzpah@gentoo.org> (2020-02-15)
+# Mask until dev-libs/libfido2 is keyworded
+net-misc/openssh security-key
+
+# Sergei Trofimovich <slyfox@gentoo.org> (2019-12-02)
+# media-libs/gd is not keyworded on riscv
+sys-libs/glibc gd
+
+# Dependency resolution is broken because
+# sys-fs/lvm2 has no riscv keyword
+sys-fs/e2fsprogs cron
+
+# This doesn't work for (any) riscv yet.
+dev-libs/libpcre2 jit
+dev-libs/libpcre jit
+dev-vcs/git pcre-jit
+
+# Not yet tested / unkeyworded dependencies
+# This includes also packages which do not support python-3 or
+# do not support python-3.7 yet.
+
+app-admin/syslog-ng amqp dbi geoip geoip2 json kafka mongodb python redis spoof-source smtp snmp test
+app-admin/sysstat lm-sensors
+app-arch/unzip natspec
+app-crypt/gnupg smartcard tofu wks-server
+app-crypt/mit-krb5 doc test xinetd
+app-crypt/pinentry fltk gnome-keyring
+app-doc/doxygen latex dot
+app-editors/emacs alsa json lcms mailutils
+app-misc/pax-utils python
+app-text/asciidoc graphviz test
+app-text/po4a test
+app-text/xmlto text
+dev-lang/python tk
+dev-libs/boost mpi numpy zstd
+dev-libs/check doc subunit
+dev-libs/glib gtk-doc test
+dev-libs/icu doc
+dev-libs/iniparser doc
+dev-libs/libgcrypt doc
+dev-libs/libnl python
+dev-libs/libusb doc
+dev-libs/libxslt python
+dev-libs/libyaml doc
+dev-python/argcomplete test
+dev-python/aiohttp doc test
+dev-python/cython doc test
+dev-python/jinja doc test
+dev-python/lxml test
+dev-python/markupsafe test
+dev-python/numpy lapack
+dev-python/pbr test
+dev-python/pypiserver test
+dev-python/pygments doc test
+dev-python/setuptools test
+dev-python/snakeoil test
+dev-python/sphinx latext doc test
+dev-python/sphinxcontrib-spelling test
+dev-python/twisted test
+dev-python/urllib3 test
+dev-util/catalyst iso
+dev-util/meson test
+dev-util/ninja doc test
+dev-util/patchutils test
+dev-util/pkgconf test
+dev-util/strace unwind
+dev-vcs/git cvs highlight gnome-keyring subversion tk xinetd
+dev-vcs/mercurial tk zsh-completion
+media-libs/freetype harfbuzz png
+media-libs/tiff jbig jpeg test webp
+net-fs/nfs-utils nfsv41
+net-libs/gnutls doc test-full
+net-libs/ldns doc python
+net-libs/libpcap rdma
+net-misc/curl brotli curl_ssl_libressl curl_ssl_mbedtls curl_ssl_nss rtmp ssh
+net-misc/ntp openntpd snmp vim-syntax zeroconf
+net-nds/openldap cxx kerberos sasl
+sys-apps/kmod doc
+sys-apps/portage apidoc
+sys-apps/rng-tools nistbeacon pkcs11
+sys-auth/pambase gnome-keyring pam_krb5 pam_ssh mktemp
+sys-block/thin-provisioning-tools test
+sys-devel/automake test
+sys-devel/gdb source-highlight
+sys-devel/gettext cvs
+sys-fs/squashfs-tools lzma
+sys-libs/libcap-ng python
+sys-process/audit gssapi python
diff --git a/profiles/arch/riscv/packages b/profiles/arch/riscv/packages
new file mode 100644
index 0000000..b089d41
--- /dev/null
+++ b/profiles/arch/riscv/packages
@@ -0,0 +1,5 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# For the initial hot experimentation phase...
+*sys-devel/gdb
diff --git a/profiles/arch/riscv/packages.build b/profiles/arch/riscv/packages.build
new file mode 100644
index 0000000..aacc29b
--- /dev/null
+++ b/profiles/arch/riscv/packages.build
@@ -0,0 +1,3 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
diff --git a/profiles/arch/riscv/parent b/profiles/arch/riscv/parent
new file mode 100644
index 0000000..b90fefd
--- /dev/null
+++ b/profiles/arch/riscv/parent
@@ -0,0 +1 @@
+gentoo:arch/base
diff --git a/profiles/arch/riscv/rv64gc/parent b/profiles/arch/riscv/rv64gc/parent
index a4737b6..c87ae0e 100644
--- a/profiles/arch/riscv/rv64gc/parent
+++ b/profiles/arch/riscv/rv64gc/parent
@@ -1,2 +1,2 @@
-gentoo:arch/riscv
+..
gentoo:features/multilib
diff --git a/profiles/arch/riscv/use.force b/profiles/arch/riscv/use.force
new file mode 100644
index 0000000..5e5e335
--- /dev/null
+++ b/profiles/arch/riscv/use.force
@@ -0,0 +1,5 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Force the flag which corresponds to ARCH.
+riscv
diff --git a/profiles/arch/riscv/use.mask b/profiles/arch/riscv/use.mask
new file mode 100644
index 0000000..f719211
--- /dev/null
+++ b/profiles/arch/riscv/use.mask
@@ -0,0 +1,42 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Unmask the flag which corresponds to ARCH.
+-riscv
+
+# Ben Kohler <bkohler@gentoo.org> (2019-01-09)
+# no fam providers keyworded yet
+fam
+
+# Sergei Trofimovich <slyfox@gentoo.org> (2019-11-27)
+# valgrind has no RISCV port.
+valgrind
+
+# Not tested yet
+bluetooth
+dbus
+elogind
+emacs
+fontconfig
+fuse
+gtk
+gtk2
+gtk3
+introspection
+java
+kerberos
+latex
+libedit
+libressl
+lua
+qt5
+ruby
+slang
+sound
+systemtap
+X
+
+# Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com> (2019‑08‑31)
+# Dependencies not keyworded.
+appindicator
+ayatana