When I use the 'ebuild' command on the command line I usually do something like this: 'CC=clang CXX=clang++ USE="blabla" ebuild mypackage-0.8.15.ebuild clean install' to test it. Right now I work on clang16 bugs (https://bugs.gentoo.org/870412) so I have to set CC=clang all the time. Could we have a variable in ebuild-mode that sets those environment variables before running the ebuild? Reproducible: Always
Setting these variables with "M-x setenv" is not an option?
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/ebuild-mode.git/commit/?id=712abc83514d8e8d76ed5c534a1784a3164d45f0 commit 712abc83514d8e8d76ed5c534a1784a3164d45f0 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2022-11-28 18:18:20 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2022-11-28 18:18:20 +0000 New variable for additional subprocess environment * ebuild-mode.el (ebuild-mode-process-environment): New custom variable. Bug 882055. (ebuild-run-command, ebuild-mode-run-pkgdev) (ebuild-mode-run-pkgcheck): Use it. Bug: https://bugs.gentoo.org/882055 Signed-off-by: Ulrich Müller <ulm@gentoo.org> ChangeLog | 5 +++++ ebuild-mode.el | 17 ++++++++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/ebuild-mode.git/commit/?id=a31d9b76f526c2be5e8edcb161e60a60aa8ecaa9 commit a31d9b76f526c2be5e8edcb161e60a60aa8ecaa9 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2022-11-28 18:18:20 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2022-11-29 19:32:38 +0000 New variable for additional subprocess environment * ebuild-mode.el (ebuild-mode-process-environment): New custom variable. Bug 882055. (ebuild-run-command, ebuild-mode-run-pkgdev) (ebuild-mode-run-pkgcheck): Use it. Bug: https://bugs.gentoo.org/882055 Signed-off-by: Ulrich Müller <ulm@gentoo.org> ChangeLog | 5 +++++ ebuild-mode.el | 17 ++++++++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb1896c3847ea94c478b92d1195fda6e3b266a0c commit fb1896c3847ea94c478b92d1195fda6e3b266a0c Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2022-12-01 18:33:48 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2022-12-01 18:36:41 +0000 app-emacs/ebuild-mode: add 1.61 Closes: https://bugs.gentoo.org/881449 Closes: https://bugs.gentoo.org/882053 Closes: https://bugs.gentoo.org/882055 Signed-off-by: Ulrich Müller <ulm@gentoo.org> app-emacs/ebuild-mode/Manifest | 1 + app-emacs/ebuild-mode/ebuild-mode-1.61.ebuild | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+)