public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 0/3] toolchain-funcs.eclass: support for querying C++ stdlib and compiler runtime
@ 2022-10-08  9:43 Michał Górny
  2022-10-08  9:43 ` [gentoo-dev] [PATCH 1/3] toolchain-funcs.eclass: Add tc-get-cxx-stdlib() to get C++ stdlib Michał Górny
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Michał Górny @ 2022-10-08  9:43 UTC (permalink / raw
  To: gentoo-dev; +Cc: Michał Górny

Hi,

Here's a patchset adding two new functions along with tests:

- tc-get-cxx-stdlib() that determines C++ stdlib used (libc++ vs
  libstdc++)
- tc-get-c-rtlib() that determines C compiler runtime used (libgcc vs
  compiler-rt)

I've also included a fix for tests failing if ld.gold is not installed.


Michał Górny (3):
  toolchain-funcs.eclass: Add tc-get-cxx-stdlib() to get C++ stdlib
  toolchain-funcs.eclass: Add tc-get-c-rtlib() to get CC runtime
  eclass/tests/toolchain-funcs.sh: Handle missing ld.gold gracefully

 eclass/tests/toolchain-funcs.sh | 96 ++++++++++++++++++++++-----------
 eclass/toolchain-funcs.eclass   | 64 ++++++++++++++++++++++
 2 files changed, 130 insertions(+), 30 deletions(-)

-- 
2.38.0



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-10-09 21:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-08  9:43 [gentoo-dev] [PATCH 0/3] toolchain-funcs.eclass: support for querying C++ stdlib and compiler runtime Michał Górny
2022-10-08  9:43 ` [gentoo-dev] [PATCH 1/3] toolchain-funcs.eclass: Add tc-get-cxx-stdlib() to get C++ stdlib Michał Górny
2022-10-08  9:43 ` [gentoo-dev] [PATCH 2/3] toolchain-funcs.eclass: Add tc-get-c-rtlib() to get CC runtime Michał Górny
2022-10-08  9:43 ` [gentoo-dev] [PATCH 3/3] eclass/tests/toolchain-funcs.sh: Handle missing ld.gold gracefully Michał Górny
2022-10-09 21:30 ` [gentoo-dev] [PATCH 0/3] toolchain-funcs.eclass: support for querying C++ stdlib and compiler runtime Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox