Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 824030 - cmake.eclass, cmake-utils.eclass: Document MYCMAKEARGS
Summary: cmake.eclass, cmake-utils.eclass: Document MYCMAKEARGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-16 15:02 UTC by Thomas Arnett
Modified: 2022-02-21 16:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Arnett 2021-11-16 15:02:38 UTC
MYCMAKEARGS allows users to pass arbitrary arguments to cmake, like EXTRA_ECONF for configure scripts. The cmake and cmake-utils eclasses don't document this variable. CMAKE_EXTRA_CACHE_FILE is documented as the analog of EXTRA_ECONF, but MYCMAKEARGS is more analogous and simpler, especially for anyone not already familiar with CMake cache files.
Comment 1 Andreas Sturmlechner gentoo-dev 2021-11-26 10:42:29 UTC
mycmakeargs is local to src_configure(), don't mess with it.
Comment 2 Thomas Arnett 2021-11-26 19:24:42 UTC
mycmakeargs and MYCMAKEARGS are separate variables. cmake_src_configure adds mycmakeargs, MYCMAKEARGS, and CMAKE_EXTRA_CACHE_FILE to cmakeargs. Bug 557280 comment 1 states MYCMAKEARGS is like EXTRA_ECONF.
Comment 3 Larry the Git Cow gentoo-dev 2022-02-21 16:48:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75b4a961f2bb480e9e4ef5d495dde979e01175c4

commit 75b4a961f2bb480e9e4ef5d495dde979e01175c4
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-02-21 16:43:25 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-02-21 16:45:09 +0000

    cmake.eclass: Document MYCMAKEARGS
    
    Closes: https://bugs.gentoo.org/824030
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 eclass/cmake.eclass | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2022-02-21 16:55:21 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=05bc71ff824090fb9217ba8e9df69f7234ae027b

commit 05bc71ff824090fb9217ba8e9df69f7234ae027b
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-02-21 16:43:25 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-02-21 16:54:58 +0000

    cmake.eclass: Document MYCMAKEARGS
    
    Bug: https://bugs.gentoo.org/824030
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 eclass/cmake.eclass | 6 ++++++
 1 file changed, 6 insertions(+)