• [gentoo-dev] [PATCH] toolchain-funcs.eclass: Remove outdated reference

    From =?UTF-8?q?Petr=20Van=C4=9Bk?=@21:1/5 to All on Sun Sep 17 16:40:02 2023
    tc-has-openmp function was deprecated in commit 9bc832c6d39b ("toolchain-funcs.eclass: deprecate tc-has-openmp") and later removed in
    commit eb970274d283 ("toolchain-funcs.eclass: remove tc-has-openmp").
    Due to this, the reference to it in the tc-check-openmp function has
    become redundant and is therefore removed.

    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    ---
    eclass/toolchain-funcs.eclass | 4 +---
    1 file changed, 1 insertion(+), 3 deletions(-)

    diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index 556bbac35307..8398ee004a7d 100644
    --- a/eclass/toolchain-funcs.eclass
    +++ b/eclass/toolchain-funcs.eclass
    @@ -576,9 +576,7 @@ _tc-has-openmp() {
    # @DESCRIPTION:
    # Test for OpenMP support with the current compiler and error out with
    # a clear error message, telling the user how to rectify the missing
    -# OpenMP support that has been requested by the ebuild. Using this function
    -# to test for OpenMP support should be preferred over tc-has-openmp and
    -# printing a custom message, as it presents a uniform interface to the user. +# OpenMP support that has been requested by the ebuild.
    #
    # You should test for any necessary OpenMP support in pkg_pretend in order to
    # warn the user of required toolchain changes. You must still check for OpenMP
    --
    2.41.0

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/
  • From =?UTF-8?q?Petr=20Van=C4=9Bk?=@21:1/5 to All on Sun Sep 17 17:00:02 2023
    tc-has-openmp function was deprecated in commit 9bc832c6d39b ("toolchain-funcs.eclass: deprecate tc-has-openmp") and later removed in
    commit eb970274d283 ("toolchain-funcs.eclass: remove tc-has-openmp").
    Due to this, the reference to it in the tc-check-openmp function has
    become redundant and is therefore removed.

    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    ---
    eclass/toolchain-funcs.eclass | 4 +---
    1 file changed, 1 insertion(+), 3 deletions(-)

    diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index 556bbac35307..8398ee004a7d 100644
    --- a/eclass/toolchain-funcs.eclass
    +++ b/eclass/toolchain-funcs.eclass
    @@ -576,9 +576,7 @@ _tc-has-openmp() {
    # @DESCRIPTION:
    # Test for OpenMP support with the current compiler and error out with
    # a clear error message, telling the user how to rectify the missing
    -# OpenMP support that has been requested by the ebuild. Using this function
    -# to test for OpenMP support should be preferred over tc-has-openmp and
    -# printing a custom message, as it presents a uniform interface to the user. +# OpenMP support that has been requested by the ebuild.
    #
    # You should test for any necessary OpenMP support in pkg_pretend in order to
    # warn the user of required toolchain changes. You must still check for OpenMP
    --
    2.41.0

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/