diff options
author | Repository mirror & CI <repomirrorci@gentoo.org> | 2022-01-02 11:40:36 +0000 |
---|---|---|
committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2022-01-02 11:40:36 +0000 |
commit | 16b4deb7e05a1d5a65f083b527d822d2cf69d28b (patch) | |
tree | fd828079dd22afcaea165503d5492fa3e528b721 | |
parent | 2022-01-02 11:21:44 UTC (diff) | |
parent | media-libs/libaom: Stabilize 3.2.0 amd64, #829898 (diff) | |
download | gentoo-16b4deb7e05a1d5a65f083b527d822d2cf69d28b.tar.gz gentoo-16b4deb7e05a1d5a65f083b527d822d2cf69d28b.tar.bz2 gentoo-16b4deb7e05a1d5a65f083b527d822d2cf69d28b.zip |
Merge updates from master
43 files changed, 97 insertions, 171 deletions
diff --git a/app-emulation/aqemu/aqemu-0.9.2-r2.ebuild b/app-emulation/aqemu/aqemu-0.9.2-r2.ebuild index ec7c80aee73b..6a2be65aaa60 100644 --- a/app-emulation/aqemu/aqemu-0.9.2-r2.ebuild +++ b/app-emulation/aqemu/aqemu-0.9.2-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/tobimensch/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" IUSE="vnc" RDEPEND=" diff --git a/app-text/openpaperwork-gtk/openpaperwork-gtk-2.1.0.ebuild b/app-text/openpaperwork-gtk/openpaperwork-gtk-2.1.0-r1.ebuild index e16750e3ee84..9ad618a87c2c 100644 --- a/app-text/openpaperwork-gtk/openpaperwork-gtk-2.1.0.ebuild +++ b/app-text/openpaperwork-gtk/openpaperwork-gtk-2.1.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,5 +19,6 @@ IUSE="" RDEPEND="dev-python/pillow[${PYTHON_USEDEP}] dev-python/pycairo[${PYTHON_USEDEP}] dev-python/pygobject:3[${PYTHON_USEDEP}] + gui-libs/libhandy x11-libs/gtk+:3[introspection]" DEPEND="${RDEPEND}" diff --git a/dev-ml/stdlib-shims/stdlib-shims-0.3.0.ebuild b/dev-ml/stdlib-shims/stdlib-shims-0.3.0.ebuild index f4a918c72443..dbe9faf7ead5 100644 --- a/dev-ml/stdlib-shims/stdlib-shims-0.3.0.ebuild +++ b/dev-ml/stdlib-shims/stdlib-shims-0.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/ocaml/${PN}/releases/download/${PV}/${P}.tbz" LICENSE="LGPL-2.1-with-linking-exception" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" IUSE="+ocamlopt" DOCS=( "README.md" "CHANGES.md" "LICENSE" ) diff --git a/dev-tcltk/tix/tix-8.4.3-r1.ebuild b/dev-tcltk/tix/tix-8.4.3-r1.ebuild deleted file mode 100644 index 63baac0ac81f..000000000000 --- a/dev-tcltk/tix/tix-8.4.3-r1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit epatch multilib - -MY_P="Tix${PV}" -DESCRIPTION="A widget library for Tcl/Tk" -HOMEPAGE="http://tix.sourceforge.net/" -SRC_URI="mirror://sourceforge/tix/${MY_P}-src.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" - -RESTRICT="test" - -DEPEND=" - dev-lang/tk:0= - x11-libs/libX11 - x11-libs/libXau - x11-libs/libXdmcp" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - [[ ${CHOST} == *-darwin* ]] || epatch "${FILESDIR}"/${P}-link.patch - - sed \ - -e 's:-Os::g' \ - -i configure tclconfig/tcl.m4 || die - - epatch \ - "${FILESDIR}"/${P}-tcl8.5.patch \ - "${FILESDIR}"/${P}-tcl8.6.patch -} - -src_configure() { - econf \ - --with-tcl="${EPREFIX}/usr/$(get_libdir)" \ - --with-tk="${EPREFIX}/usr/$(get_libdir)" -} - -src_install() { - default - - # Bug #168897 - doheader generic/tix.h - - # Bug #201138 - if [[ ${CHOST} == *-darwin* ]] ; then - mv "${ED}"/usr/$(get_libdir)/${MY_P}/libTix{,.}${PV}.dylib || die - dosym ${MY_P}/libTix.${PV}.dylib /usr/$(get_libdir)/libTix.${PV}.dylib - else - dosym ${MY_P}/lib${MY_P}.so /usr/$(get_libdir)/lib${MY_P}.so - fi - - dodoc ChangeLog README.txt docs/*.txt - dohtml -r index.html ABOUT.html docs/ -} diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass index b14b0ef77857..fadd371f3ca7 100644 --- a/eclass/multilib.eclass +++ b/eclass/multilib.eclass @@ -412,7 +412,18 @@ multilib_env() { : ${DEFAULT_ABI=ppc64} ;; riscv64*) - export CFLAGS_lp64d=${CFLAGS_lp64d--mabi=lp64d -march=rv64imafdc} + : ${MULTILIB_ABIS=lp64d lp64 ilp32d ilp32} + : ${DEFAULT_ABI=lp64d} + + # the default abi is set to the 1-level libdir default + + local __libdir_riscvdefaultabi_variable="LIBDIR_${DEFAULT_ABI}" + local __libdir_riscvdefaultabi=${!__libdir_riscvdefaultabi_variable} + export ${__libdir_riscvdefaultabi_variable}=${__libdir_riscvdefaultabi:-lib64} + + # all other abi are set to the 2-level libdir default + + export CFLAGS_lp64d=${CFLAGS_lp64d--mabi=lp64d -march=rv64gc} export CHOST_lp64d=${CTARGET} export CTARGET_lp64d=${CTARGET} export LIBDIR_lp64d=${LIBDIR_lp64d-lib64/lp64d} @@ -431,12 +442,20 @@ multilib_env() { export CHOST_ilp32=${CTARGET/riscv64/riscv32} export CTARGET_ilp32=${CTARGET/riscv64/riscv32} export LIBDIR_ilp32=${LIBDIR_ilp32-lib32/ilp32} - - : ${MULTILIB_ABIS=lp64d lp64 ilp32d ilp32} - : ${DEFAULT_ABI=lp64d} ;; riscv32*) - export CFLAGS_ilp32d=${CFLAGS_ilp32d--mabi=ilp32d} + : ${MULTILIB_ABIS=ilp32d ilp32} + : ${DEFAULT_ABI=ilp32d} + + # the default abi is set to the 1-level libdir default + + local __libdir_riscvdefaultabi_variable="LIBDIR_${DEFAULT_ABI}" + local __libdir_riscvdefaultabi=${!__libdir_riscvdefaultabi_variable} + export ${__libdir_riscvdefaultabi_variable}=${__libdir_riscvdefaultabi:-lib} + + # all other abi are set to the 2-level libdir default + + export CFLAGS_ilp32d=${CFLAGS_ilp32d--mabi=ilp32d -march=rv32imafdc} export CHOST_ilp32d=${CTARGET} export CTARGET_ilp32d=${CTARGET} export LIBDIR_ilp32d=${LIBDIR_ilp32d-lib32/ilp32d} @@ -445,9 +464,6 @@ multilib_env() { export CHOST_ilp32=${CTARGET} export CTARGET_ilp32=${CTARGET} export LIBDIR_ilp32=${LIBDIR_ilp32-lib32/ilp32} - - : ${MULTILIB_ABIS=ilp32d ilp32} - : ${DEFAULT_ABI=ilp32d} ;; s390x*) export CFLAGS_s390=${CFLAGS_s390--m31} # the 31 is not a typo diff --git a/media-libs/libaom/libaom-3.2.0.ebuild b/media-libs/libaom/libaom-3.2.0.ebuild index d2f98922596a..b861d8a9039c 100644 --- a/media-libs/libaom/libaom-3.2.0.ebuild +++ b/media-libs/libaom/libaom-3.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ if [[ ${PV} == *9999* ]]; then else SRC_URI="https://storage.googleapis.com/aom-releases/${P}.tar.gz" S="${WORKDIR}" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" fi DESCRIPTION="Alliance for Open Media AV1 Codec SDK" diff --git a/net-analyzer/cacti/cacti-1.2.19.ebuild b/net-analyzer/cacti/cacti-1.2.19.ebuild index 1dfa8747632d..84568ddcd512 100644 --- a/net-analyzer/cacti/cacti-1.2.19.ebuild +++ b/net-analyzer/cacti/cacti-1.2.19.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ HOMEPAGE="https://www.cacti.net/" SRC_URI="https://www.cacti.net/downloads/${MY_P}.tar.gz" LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~ppc64 sparc x86" IUSE="snmp doc" need_httpd diff --git a/profiles/arch/riscv/1level/make.defaults b/profiles/arch/riscv/1level/make.defaults deleted file mode 100644 index 2a8d8bdc9bb3..000000000000 --- a/profiles/arch/riscv/1level/make.defaults +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -LIBDIR_lp64d="lib64" -LIBDIR_lp64="lib64" -LIBDIR_ilp32d="lib" -LIBDIR_ilp32="lib" diff --git a/profiles/arch/riscv/1level/package.mask b/profiles/arch/riscv/1level/package.mask deleted file mode 100644 index eb4368881cc3..000000000000 --- a/profiles/arch/riscv/1level/package.mask +++ /dev/null @@ -1,5 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Doesnt work properly with the one-level libdirs -<sys-apps/baselayout-2.7-r3 diff --git a/profiles/arch/riscv/1level/package.unmask b/profiles/arch/riscv/1level/package.unmask deleted file mode 100644 index 61bf895f5679..000000000000 --- a/profiles/arch/riscv/1level/package.unmask +++ /dev/null @@ -1,5 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Does work properly with the one-level libdirs -<dev-lang/python-3.7 diff --git a/profiles/arch/riscv/make.defaults b/profiles/arch/riscv/make.defaults index 3a7d4ac18e7f..6006d582a10a 100644 --- a/profiles/arch/riscv/make.defaults +++ b/profiles/arch/riscv/make.defaults @@ -15,6 +15,15 @@ FCFLAGS="${CFLAGS}" SYMLINK_LIB="no" +# Note about LIBDIR_*: +# 1) To keep in step with other arches and distributions we use "lib" for 32bit +# and "lib64" for 64bit for the *default* ABI. +# NOT the two level dirs from the specification, and NOT lib32 as specified +# as 32bit fallback. +# 2) The LIBDIRs provided *here* are the ones for secondary ABI in the multilib +# case. +# The LIBDIR for the *primary* ABI MUST be overridden in an inheriting profile. + # Flags for lp64d LIBDIR_lp64d="lib64/lp64d" CFLAGS_lp64d="-mabi=lp64d" @@ -42,7 +51,8 @@ CHOST_ilp32="riscv32-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: +# The following stuff MUST be defined in subdirs: # ABI # DEFAULT_ABI # MULTILIB_ABIS +# LIBDIR_* for DEFAULT_ABI diff --git a/profiles/arch/riscv/package.mask b/profiles/arch/riscv/package.mask index 43580b7b49a0..3b8aa5520537 100644 --- a/profiles/arch/riscv/package.mask +++ b/profiles/arch/riscv/package.mask @@ -1,5 +1,5 @@ -# Copyright 2019 Gentoo Authors +# Copyright 2019-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# Doesnt work properly with the two-level libdirs -<dev-lang/python-3.7 +# Doesnt work properly with the one-level libdirs +<sys-apps/baselayout-2.7-r3 diff --git a/profiles/arch/riscv/rv32imac/eapi b/profiles/arch/riscv/rv32imac/eapi deleted file mode 100644 index 7ed6ff82de6b..000000000000 --- a/profiles/arch/riscv/rv32imac/eapi +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/profiles/arch/riscv/rv32imac/ilp32/make.defaults b/profiles/arch/riscv/rv32imac/ilp32/make.defaults index 1065af43c9a8..702bf0db5663 100644 --- a/profiles/arch/riscv/rv32imac/ilp32/make.defaults +++ b/profiles/arch/riscv/rv32imac/ilp32/make.defaults @@ -1,9 +1,17 @@ -# Copyright 2019 Gentoo Authors +# Copyright 2019-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # RISC-V rv32imac/ilp32 no-multilib profile -# We have only one ABI +CHOST="riscv32-unknown-linux-gnu" + MULTILIB_ABIS="ilp32" DEFAULT_ABI="ilp32" ABI="ilp32" + +LIBDIR_ilp32="lib" + +CFLAGS="-O2 -pipe -march=rv32imac -mabi=ilp32" +CXXFLAGS="${CFLAGS}" +FFLAGS="${CFLAGS}" +FCFLAGS="${CFLAGS}" diff --git a/profiles/arch/riscv/rv32imac/package.mask b/profiles/arch/riscv/rv32imac/ilp32/package.mask index fae8be793357..fae8be793357 100644 --- a/profiles/arch/riscv/rv32imac/package.mask +++ b/profiles/arch/riscv/rv32imac/ilp32/package.mask diff --git a/profiles/arch/riscv/rv32imac/ilp32/package.use.force b/profiles/arch/riscv/rv32imac/ilp32/package.use.force deleted file mode 100644 index aacc29b1d56e..000000000000 --- a/profiles/arch/riscv/rv32imac/ilp32/package.use.force +++ /dev/null @@ -1,3 +0,0 @@ -# Copyright 2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - diff --git a/profiles/arch/riscv/rv32imac/ilp32/use.force b/profiles/arch/riscv/rv32imac/ilp32/use.force deleted file mode 100644 index 82bb958a577a..000000000000 --- a/profiles/arch/riscv/rv32imac/ilp32/use.force +++ /dev/null @@ -1,2 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 diff --git a/profiles/arch/riscv/rv32imac/ilp32/use.mask b/profiles/arch/riscv/rv32imac/ilp32/use.mask index 991c792750ad..9779cbad81b5 100644 --- a/profiles/arch/riscv/rv32imac/ilp32/use.mask +++ b/profiles/arch/riscv/rv32imac/ilp32/use.mask @@ -1,5 +1,5 @@ -# Copyright 2019 Gentoo Authors +# Copyright 2019-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# Mask multilib, since we do not want to use it. -multilib +# sys-libs/libseccomp has not been ported to rv32 yet +seccomp diff --git a/profiles/arch/riscv/rv32imac/ilp32d/make.defaults b/profiles/arch/riscv/rv32imac/ilp32d/make.defaults index d19b0ba49931..d21fdce62781 100644 --- a/profiles/arch/riscv/rv32imac/ilp32d/make.defaults +++ b/profiles/arch/riscv/rv32imac/ilp32d/make.defaults @@ -1,12 +1,17 @@ -# Copyright 2019 Gentoo Authors +# Copyright 2019-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # RISC-V rv32imac/ilp32d no-multilib profile +CHOST="riscv32-unknown-linux-gnu" + +MULTILIB_ABIS="ilp32d" +DEFAULT_ABI="ilp32d" +ABI="ilp32d" + +LIBDIR_ilp32d="lib" + CFLAGS="-O2 -pipe -march=rv32imafdc -mabi=ilp32d" CXXFLAGS="${CFLAGS}" FFLAGS="${CFLAGS}" FCFLAGS="${CFLAGS}" - -# We have only one ABI -MULTILIB_ABIS="ilp32d" diff --git a/profiles/arch/riscv/rv32imac/use.mask b/profiles/arch/riscv/rv32imac/ilp32d/package.mask index 9779cbad81b5..fae8be793357 100644 --- a/profiles/arch/riscv/rv32imac/use.mask +++ b/profiles/arch/riscv/rv32imac/ilp32d/package.mask @@ -1,5 +1,5 @@ -# Copyright 2019-2020 Gentoo Authors +# Copyright 2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # sys-libs/libseccomp has not been ported to rv32 yet -seccomp +sys-libs/libseccomp diff --git a/profiles/arch/riscv/rv32imac/ilp32d/package.use.force b/profiles/arch/riscv/rv32imac/ilp32d/package.use.force deleted file mode 100644 index 9de5ab734497..000000000000 --- a/profiles/arch/riscv/rv32imac/ilp32d/package.use.force +++ /dev/null @@ -1,2 +0,0 @@ -# Copyright 2019-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 diff --git a/profiles/arch/riscv/rv32imac/ilp32d/use.mask b/profiles/arch/riscv/rv32imac/ilp32d/use.mask index d8172baa5f5f..9779cbad81b5 100644 --- a/profiles/arch/riscv/rv32imac/ilp32d/use.mask +++ b/profiles/arch/riscv/rv32imac/ilp32d/use.mask @@ -1,5 +1,5 @@ # Copyright 2019-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# Mask multilib, since we do not want to use it. -multilib +# sys-libs/libseccomp has not been ported to rv32 yet +seccomp diff --git a/profiles/arch/riscv/rv32imac/parent b/profiles/arch/riscv/rv32imac/parent deleted file mode 100644 index 6ee1b9eff10c..000000000000 --- a/profiles/arch/riscv/rv32imac/parent +++ /dev/null @@ -1,2 +0,0 @@ -.. -../../../features/multilib diff --git a/profiles/arch/riscv/rv32imac/use.force b/profiles/arch/riscv/rv32imac/use.force deleted file mode 100644 index 9de5ab734497..000000000000 --- a/profiles/arch/riscv/rv32imac/use.force +++ /dev/null @@ -1,2 +0,0 @@ -# Copyright 2019-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 diff --git a/profiles/arch/riscv/rv64gc/eapi b/profiles/arch/riscv/rv64gc/eapi deleted file mode 100644 index 7ed6ff82de6b..000000000000 --- a/profiles/arch/riscv/rv64gc/eapi +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/profiles/arch/riscv/rv64gc/lp64/make.defaults b/profiles/arch/riscv/rv64gc/lp64/make.defaults index 4aeb573215d2..e811f8eb643a 100644 --- a/profiles/arch/riscv/rv64gc/lp64/make.defaults +++ b/profiles/arch/riscv/rv64gc/lp64/make.defaults @@ -3,12 +3,15 @@ # RISC-V rv64gc/lp64 no-multilib profile -CFLAGS="-O2 -pipe" -CXXFLAGS="${CFLAGS}" -FFLAGS="${CFLAGS}" -FCFLAGS="${CFLAGS}" +CHOST="riscv64-unknown-linux-gnu" -# We have only one ABI MULTILIB_ABIS="lp64" DEFAULT_ABI="lp64" ABI="lp64" + +LIBDIR_lp64="lib64" + +CFLAGS="-O2 -pipe -march=rv64imac -mabi=lp64" +CXXFLAGS="${CFLAGS}" +FFLAGS="${CFLAGS}" +FCFLAGS="${CFLAGS}" diff --git a/profiles/arch/riscv/rv64gc/lp64/package.use.force b/profiles/arch/riscv/rv64gc/lp64/package.use.force deleted file mode 100644 index 9de5ab734497..000000000000 --- a/profiles/arch/riscv/rv64gc/lp64/package.use.force +++ /dev/null @@ -1,2 +0,0 @@ -# Copyright 2019-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 diff --git a/profiles/arch/riscv/rv64gc/lp64/use.force b/profiles/arch/riscv/rv64gc/lp64/use.force deleted file mode 100644 index 9de5ab734497..000000000000 --- a/profiles/arch/riscv/rv64gc/lp64/use.force +++ /dev/null @@ -1,2 +0,0 @@ -# Copyright 2019-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 diff --git a/profiles/arch/riscv/rv64gc/lp64/use.mask b/profiles/arch/riscv/rv64gc/lp64/use.mask deleted file mode 100644 index d8172baa5f5f..000000000000 --- a/profiles/arch/riscv/rv64gc/lp64/use.mask +++ /dev/null @@ -1,5 +0,0 @@ -# Copyright 2019-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Mask multilib, since we do not want to use it. -multilib diff --git a/profiles/arch/riscv/1level/eapi b/profiles/arch/riscv/rv64gc/lp64d-multilib/eapi index 7ed6ff82de6b..7ed6ff82de6b 100644 --- a/profiles/arch/riscv/1level/eapi +++ b/profiles/arch/riscv/rv64gc/lp64d-multilib/eapi diff --git a/profiles/arch/riscv/rv64gc/make.defaults b/profiles/arch/riscv/rv64gc/lp64d-multilib/make.defaults index e35f63c8d1e1..3546d506abb7 100644 --- a/profiles/arch/riscv/rv64gc/make.defaults +++ b/profiles/arch/riscv/rv64gc/lp64d-multilib/make.defaults @@ -3,7 +3,7 @@ # RISC-V profile for rv64gc multilib # -# This immediate profile is ONLY useful for internal purposes; it can generate +# This profile is ONLY useful for internal purposes; it can generate # stages just fine, but the only "hardware" that can run them is qemu-user ... CHOST="riscv64-unknown-linux-gnu" @@ -12,3 +12,6 @@ CHOST="riscv64-unknown-linux-gnu" MULTILIB_ABIS="lp64d lp64 ilp32d ilp32" DEFAULT_ABI="lp64d" ABI="lp64d" + +# One-level dir for the default abi +LIBDIR_lp64d="lib64" diff --git a/profiles/arch/riscv/rv64gc/lp64d-multilib/parent b/profiles/arch/riscv/rv64gc/lp64d-multilib/parent new file mode 100644 index 000000000000..d6e19b529616 --- /dev/null +++ b/profiles/arch/riscv/rv64gc/lp64d-multilib/parent @@ -0,0 +1 @@ +../../../../features/multilib diff --git a/profiles/arch/riscv/rv64gc/lp64d/make.defaults b/profiles/arch/riscv/rv64gc/lp64d/make.defaults index f595f6ac4437..80a9bdad63ee 100644 --- a/profiles/arch/riscv/rv64gc/lp64d/make.defaults +++ b/profiles/arch/riscv/rv64gc/lp64d/make.defaults @@ -1,12 +1,17 @@ -# Copyright 2019 Gentoo Authors +# Copyright 2019-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # RISC-V rv64gc/lp64d no-multilib profile +CHOST="riscv64-unknown-linux-gnu" + +MULTILIB_ABIS="lp64d" +DEFAULT_ABI="lp64d" +ABI="lp64d" + +LIBDIR_lp64d="lib64" + CFLAGS="-O2 -pipe -march=rv64gc -mabi=lp64d" CXXFLAGS="${CFLAGS}" FFLAGS="${CFLAGS}" FCFLAGS="${CFLAGS}" - -# We have only one ABI -MULTILIB_ABIS="lp64d" diff --git a/profiles/arch/riscv/rv64gc/lp64d/package.use.force b/profiles/arch/riscv/rv64gc/lp64d/package.use.force deleted file mode 100644 index 9de5ab734497..000000000000 --- a/profiles/arch/riscv/rv64gc/lp64d/package.use.force +++ /dev/null @@ -1,2 +0,0 @@ -# Copyright 2019-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 diff --git a/profiles/arch/riscv/rv64gc/lp64d/use.mask b/profiles/arch/riscv/rv64gc/lp64d/use.mask deleted file mode 100644 index 991c792750ad..000000000000 --- a/profiles/arch/riscv/rv64gc/lp64d/use.mask +++ /dev/null @@ -1,5 +0,0 @@ -# Copyright 2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Mask multilib, since we do not want to use it. -multilib diff --git a/profiles/arch/riscv/rv64gc/parent b/profiles/arch/riscv/rv64gc/parent deleted file mode 100644 index 6ee1b9eff10c..000000000000 --- a/profiles/arch/riscv/rv64gc/parent +++ /dev/null @@ -1,2 +0,0 @@ -.. -../../../features/multilib diff --git a/profiles/arch/riscv/rv64gc/use.force b/profiles/arch/riscv/rv64gc/use.force deleted file mode 100644 index 9de5ab734497..000000000000 --- a/profiles/arch/riscv/rv64gc/use.force +++ /dev/null @@ -1,2 +0,0 @@ -# Copyright 2019-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 diff --git a/profiles/arch/riscv/rv64gc/use.mask b/profiles/arch/riscv/rv64gc/use.mask deleted file mode 100644 index 9de5ab734497..000000000000 --- a/profiles/arch/riscv/rv64gc/use.mask +++ /dev/null @@ -1,2 +0,0 @@ -# Copyright 2019-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 diff --git a/profiles/default/linux/riscv/20.0/rv32imac/parent b/profiles/default/linux/riscv/20.0/rv32imac/parent index 4e6e3225bf31..b8f5b5cbc9d2 100644 --- a/profiles/default/linux/riscv/20.0/rv32imac/parent +++ b/profiles/default/linux/riscv/20.0/rv32imac/parent @@ -1,4 +1,2 @@ ../.. -../../../../../arch/riscv/rv32imac ../../../../../releases/17.0 -../../../../../arch/riscv/1level diff --git a/profiles/default/linux/riscv/20.0/rv64gc/multilib/make.defaults b/profiles/default/linux/riscv/20.0/rv64gc/multilib/make.defaults deleted file mode 100644 index 42e660f1a345..000000000000 --- a/profiles/default/linux/riscv/20.0/rv64gc/multilib/make.defaults +++ /dev/null @@ -1,10 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# we need to reset the two-level libdirs here, otherwise the one-level -# paths lead to collisions... note that the default abi libdir remains -# "lib64" - -LIBDIR_lp64="lib64/lp64" -LIBDIR_ilp32d="lib32/ilp32d" -LIBDIR_ilp32="lib32/ilp32" diff --git a/profiles/default/linux/riscv/20.0/rv64gc/multilib/parent b/profiles/default/linux/riscv/20.0/rv64gc/multilib/parent index f3229c5b9876..eef8b55d0efc 100644 --- a/profiles/default/linux/riscv/20.0/rv64gc/multilib/parent +++ b/profiles/default/linux/riscv/20.0/rv64gc/multilib/parent @@ -1 +1,2 @@ .. +../../../../../../arch/riscv/rv64gc/lp64d-multilib diff --git a/profiles/default/linux/riscv/20.0/rv64gc/parent b/profiles/default/linux/riscv/20.0/rv64gc/parent index 0f380a1962bb..b8f5b5cbc9d2 100644 --- a/profiles/default/linux/riscv/20.0/rv64gc/parent +++ b/profiles/default/linux/riscv/20.0/rv64gc/parent @@ -1,4 +1,2 @@ ../.. -../../../../../arch/riscv/rv64gc ../../../../../releases/17.0 -../../../../../arch/riscv/1level diff --git a/profiles/default/linux/riscv/parent b/profiles/default/linux/riscv/parent index 9f9d2cbed246..1f65d976126f 100644 --- a/profiles/default/linux/riscv/parent +++ b/profiles/default/linux/riscv/parent @@ -1,2 +1,3 @@ ../../../base .. +../../../arch/riscv |