summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* multilib.eclass: drop dead prefix targetsSam James2023-05-291-6/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* multilib.eclass: Drop CONF_LIBDIRUlrich Müller2023-05-101-1/+1
| | | | | | | | | | | The CONF_LIBDIR variable was used exclusively in the 2004.3 profile (i.e. it was no longer defined in 2005.0), before the ABI and LIBDIR_${ABI} variables existed. Simply use "lib" as default, which is consistent with get_libdir(). Bug: https://bugs.gentoo.org/267159 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* multilib.eclass: fix spellingSam James2023-03-261-1/+1
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* multilib.eclass: Quote argument of ":" commandUlrich Müller2023-03-261-25/+25
| | | | | | This avoids globbing, see: https://www.shellcheck.net/wiki/SC2223 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* multilib.eclass: Drop support for EAPIs 0 and 5Ulrich Müller2022-07-181-30/+3
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* multilib.eclass: Avoid reserved variable namesUlrich Müller2022-05-171-6/+6
| | | | | | | Names that begin with __ are reserved for package manager use. Closes: https://bugs.gentoo.org/843722 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* multilib.eclass: document multilib_envSam James2022-03-251-1/+6
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* multilib.eclass: adopt riscv conventions of the 20.0 profilesAndreas K. Hüttel2022-01-021-8/+24
| | | | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/23487 Bug: https://bugs.gentoo.org/797679
* multilib.eclass: add initial defaults for ARCH=loongWANG Xuerui2021-12-261-0/+9
| | | | | | | | | | | There is only full support for the LP64D ABI in the initial upstream submissions for the various low-level pieces, so full multilib combinations are not pursued at the moment; but the expected library search path of gcc (`lib64`) means the default of `lib` does not work in our case. Signed-off-by: WANG Xuerui <git@xen0n.name> Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* multilib.eclass: add OBJCOPY to exception listDavid Seifert2021-09-041-0/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* multilib.eclass: Update a commentUlrich Müller2021-06-231-1/+1
| | | | | Reported-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* multilib.eclass: Support EAPI 8Ulrich Müller2021-06-231-2/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* multilib.eclass: store EAPI=0 support used by crossdevSergei Trofimovich2021-06-211-2/+3
| | | | | | Reported-by: Marco Scardovi (scardracs) Bug: https://bugs.gentoo.org/797367 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* multilib.eclass: fix @SUPPORTED_EAPIS eclassdocSam James2021-06-211-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* multilib.eclass: [QA] add EAPI guardSam James2021-06-201-2/+8
| | | | | Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
* multilib.eclass: Default values, not fixed values, for risc-v libdirAndreas K. Hüttel2021-06-081-6/+6
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* multilib.eclass: drop amd64 from maintainersMike Gilbert2020-11-251-1/+0
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* multilib.eclass: Include /$(get_libdir) in PKG_CONFIG_SYSTEM_LIBRARY_PATH.Arfrever Frehtes Taifersar Arahesis2020-11-251-1/+3
| | | | | | | | Set also PKG_CONFIG_SYSTEM_INCLUDE_PATH for consistency. Bug: https://bugs.gentoo.org/756238 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* multilib*.eclass: Add support for rv32 abiAndreas K. Hüttel2020-09-111-3/+27
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* multilib.eclass: populate STRINGSSergei Trofimovich2020-06-141-0/+4
| | | | | | | | | | | | | | | | For both multilib and non-multilib profiles binutils provides tools with native CHOST prefix only. For example on amd64 there is only 'x86_64-pc-linux-gnu-strings' and 'strings'. autoconf usually uses AC_CHECK_TOOL(STRINGS, strings) autodetection to discover either of these. The change overrides STRINGS and friends to 'x86_64-pc-linux-gnu-strings' for multilib setup similar to other environment variables. Tested on media-libs/x264 and x11-libs/cairo packages. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* multilib.eclass: export PKG_CONFIG in multilib_toolchain_setupMike Gilbert2020-06-131-0/+2
| | | | | | | | | This ensures that autoconf will not try to use a crossdev wrapper for non-native ABIs. Instead, we always use the native pkg-config, and override its behavior via PKG_CONFIG_LIBDIR and PKG_CONFIG_SYSTEM_LIBRARY_PATH. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* multilib.eclass: export PKG_CONFIG_SYSTEM_LIBRARY_PATH in ↵Mike Gilbert2020-06-131-0/+2
| | | | | | | | | multilib_toolchain_setup This ensures pkg-config --libs will filter -L/usr/lib from its output for non-native ABIs. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* multilib.eclass: populate READELFSergei Trofimovich2020-05-251-0/+2
| | | | | | | | | | | | | | | | | For both multilib and non-multilib profiles binutils provides tools with native CHOST prefix only. For example on amd64 there is only 'x86_64-pc-linux-gnu-readelf' and 'readelf'. meson build system uses 'readelf' or $READELF binaries and relies on meson.eclass to populate READELF. The change overrides READELF and friends to 'x86_64-pc-linux-gnu-readelf' for multilib setup similar to other environment variables. Tested on net-libs/gssdp package. Closes: https://bugs.gentoo.org/725304 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* multilib.eclass: save/restore AR, NM, RANLIB, OBJDUMP, STRIP, bug #724558Sergei Trofimovich2020-05-241-0/+5
| | | | | | | | | | | | | | | | | | A follow-up to commit dd35b529194fdc ("populate AR, NM, RANLIB, OBJDUMP, STRIP, bug #724558") Before the change AR and friends were set for non-default ABI and were not restored to defaults for next native ABI. It should not be a problem for default case as both do match. For consistency with other variables now we restore possibly unset values for native ABI. Noticed by Arfrever Frehtes Taifersar Arahesis. Reported-by: Arfrever Frehtes Taifersar Arahesis Bug: https://bugs.gentoo.org/724558 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* multilib.eclass: consolidate save/restore listSergei Trofimovich2020-05-241-2/+16
| | | | | | | | | To avoid duplicating save/restore variable lists gathered the list into a separate helper local variables. This change is a no-op. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* multilib.eclass: don't backup/restore ASSergei Trofimovich2020-05-241-4/+2
| | | | | | | Not needed since Oct 27 2011, commit b0ab4faaee818c7bd5 ("drop AS export since get_abi_ASFLAGS no longer exists"), Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* multilib.eclass: populate AR, NM, RANLIB, OBJDUMP, STRIP, bug #724558Sergei Trofimovich2020-05-231-0/+5
| | | | | | | | | | | | | | | | For both multilib and non-multilib profiles binutils provides tools with native CHOST prefix only. For example on amd64 there is only 'x86_64-pc-linux-gnu-nm' and 'nm'. On abi_x86_32 tools are usually configured with --host=i686-pc-linux-gnu. Configure tries i686-pc-linux-gnu-nm, then falls back to 'nm'. The change overrides NM and friends to 'x86_64-pc-linux-gnu-nm' for multilib setup similar to other environment variables. Reported-by: Kent Fredric Closes: https://bugs.gentoo.org/724558 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* eclass/multilib.eclass: update copyright and fix typosSergei Trofimovich2020-03-281-1/+1
| | | | | Reported-by: Mike Gilbert Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* multilib.eclass: multilib_env(): set LIBDIR=lib for *-musl*Sergei Trofimovich2020-03-271-1/+12
| | | | | | | | | | | | | | In contrast to glibc musl profiles use 'lib' layour for 32-bit and 64-bit targets. multilib_env() did not take it into account and assumed glibc's lib64 layout. That breaks crossdev as it uses multilib_env to extract target definition. Native builds are unaffected by this change. Bug: https://bugs.gentoo.org/675954 Bug: https://gcc.gnu.org/PR90077 Bug: https://github.com/gentoo/musl/issues/245 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* multilib.eclass: Add riscv64 definitionsAndreas K. Hüttel2019-05-031-0/+14
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* multilib: mips64 is sometimes called mipsisa64Jason A. Donenfeld2018-09-281-0/+1
| | | | | | | This is the case for tuples like `mipsisa64r6-pc-linux-gnu`, which are required for making a working mips64r6 compiler. Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
* multilib: mips64 is sometimes called mipsisa64Jason A. Donenfeld2018-09-281-1/+1
| | | | | | | This is the case for tuples like `mipsisa64r6-pc-linux-gnu`, which are required for making a working mips64r6 compiler. Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
* multilib.eclass: fix cross-compiling multilib ebuildsTomasz Figa2017-05-161-1/+5
| | | | | | | | Current code assumes that CBUILD is always the same as CHOST, however it is desirable to allow cross compiling into multilib sysroots, where obviously the assumed condition does not hold anymore. To fix this, let's override CBUILD only if original CHOST and CBUILD are equal, i.e. we are not cross-compiling.
* Drop $Id$ per council decision in bug #611234.Robin H. Johnson2017-02-281-1/+0
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* multilib.eclass: get_exeext for mingw/cygwin exe suffix, #588330Michał Górny2016-09-031-0/+14
| | | | | | | | | Add a get_exeext function that can be used to obtain executable program suffix specific to the platform, in line with get_libname and get_modname. It is necessary to correctly reference built programs on non-standard platforms where executables use some suffix (like .exe). Original author: Gerhard Bräunlich
* multilib.eclass (get_libname): Cygwin allows versioning symlinksMichael Haubenwallner2016-05-091-1/+1
| | | | | | Although useless on Cygwin, some build systems or ebuilds still prefer to create the versioning symlinks. As symlinked import libs do not harm anything on Cygwin, just leave those build systems or ebuilds alone.
* multilib.eclass (get_libname): Cygwin uses (unversioned) import libs named dll.aMichael Haubenwallner2016-04-131-5/+7
|
* multilib.eclass: get_libdir is part of EAPI 6Michał Górny2015-11-161-9/+11
| | | | | Disable get_libdir in EAPIs other than {0..5} since it is now part of EAPI.
* proj/gentoo: Initial commitRobin H. Johnson2015-08-081-0/+451
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed