Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sys-devel/llvm-common: add USE=emacs for llvm modes in utils/emacs #31635

Closed
wants to merge 1 commit into from

Conversation

alfredfo
Copy link
Contributor

llvm-mir-mode only available in master and llvm-17 snapshots. llvm/llvm-project@8cbf041

@thesamesam

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @alfredfo
Areas affected: ebuilds
Packages affected: sys-devel/llvm-common

sys-devel/llvm-common: @gentoo/llvm

Linked bugs

No bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and request reassignment.

If you do not receive any reply to this pull request, please open or link a bug to attract the attention of maintainers.


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). no bug found No Bug/Closes found in the commits. labels Jun 26, 2023
@alfredfo
Copy link
Contributor Author

alfredfo commented Jun 26, 2023

@mgorny: Using LLVM_COMPONENTS=( llvm/utils ) instead of LLVM_COMPONENTS=( llvm/utils/vim llvm/utils/emacs ) pulls in more junk into $S, but it makes the ebuild nicer instead of having to use "${S}../../emacs/...".

What do you prefer?

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-06-26 23:45 UTC
Newest commit scanned: fa44fbb
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/c9505f16b4/output.html

sys-devel/llvm-common/llvm-common-14.0.6-r1.ebuild Outdated Show resolved Hide resolved
sys-devel/llvm-common/llvm-common-14.0.6-r1.ebuild Outdated Show resolved Hide resolved
sys-devel/llvm-common/files/50llvm-mir-mode-gentoo.el Outdated Show resolved Hide resolved
@alfredfo
Copy link
Contributor Author

@mgorny: Will fix all of this tomorrow, about to sleep now. Thanks for comments

@mgorny
Copy link
Member

mgorny commented Jun 27, 2023

No hurry, thanks!

Alternatively maybe inline these two files (but wrap them, I suppose you can do that) and use - <<-EOF syntax in ebuild.

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-06-27 19:35 UTC
Newest commit scanned: 64d8d6a
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/c682f7269e/output.html

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-06-27 21:30 UTC
Newest commit scanned: 83b1d2c
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/daca197e5f/output.html

@mgorny
Copy link
Member

mgorny commented Jun 30, 2023

@alfredfo, could you take a look at the function proposed in #31662 and see if it will work for you here?

@mgorny
Copy link
Member

mgorny commented Jun 30, 2023

Oh, and let's focus on 17.0.0.9999, get that one right and then get the newest 16.x to match. There's really no point in updating < 16, since llvm-common is well, common to all slots.

@alfredfo
Copy link
Contributor Author

@mgorny: Yes, I am waiting for it to be merged and then I'll update the PR.

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-07-13 01:30 UTC
Newest commit scanned: 6bb3886
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/95f4fa0c1e/output.html

@alfredfo alfredfo force-pushed the gentoo-llvm-common-emacs branch 2 times, most recently from 82a4700 to cb75155 Compare July 13, 2023 01:53
sys-devel/llvm-common/llvm-common-14.0.6.ebuild Outdated Show resolved Hide resolved
sys-devel/llvm-common/llvm-common-14.0.6.ebuild Outdated Show resolved Hide resolved
sys-devel/llvm-common/llvm-common-15.0.7.ebuild Outdated Show resolved Hide resolved
sys-devel/llvm-common/llvm-common-15.0.7.ebuild Outdated Show resolved Hide resolved
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-07-31 12:40 UTC
Newest commit scanned: c6a95a4
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/9f15f72135/output.html

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-07-31 13:00 UTC
Newest commit scanned: ce9a21f
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/5315766121/output.html

Comment on lines 33 to 34
elisp-compile "${S}" emacs/llvm-mode.el
elisp-compile "${S}" emacs/tablegen-mode.el
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for noticing only now, but what is "${S}" doing here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Saw it somewhere else, just removing that works right?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, simply drop the "${S}".

You could also combine the two lines into one:

Suggested change
elisp-compile "${S}" emacs/llvm-mode.el
elisp-compile "${S}" emacs/tablegen-mode.el
elisp-compile emacs/*.el

and similarly in src_install:

		elisp-install llvm emacs/*.{el,elc}

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-08-01 01:00 UTC
Newest commit scanned: eb59523
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/83ea8c5597/output.html

@thesamesam thesamesam requested a review from ulm August 9, 2023 19:45
@thesamesam
Copy link
Member

@alfredfo Rebase?

@thesamesam thesamesam requested a review from mgorny August 9, 2023 19:45
Signed-off-by: Alfred Persson Forsberg <cat@catcream.org>
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-10-08 21:20 UTC
Newest commit scanned: 3ee80f2
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/141825719b/output.html

@gentoo-bot gentoo-bot closed this in 9d76320 Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). no bug found No Bug/Closes found in the commits.
Projects
None yet
6 participants