Skip to content

add entry-point for llvm-lit#210

Merged
h-vetinari merged 1 commit into
conda-forge:mainfrom
h-vetinari:lit
May 4, 2023
Merged

add entry-point for llvm-lit#210
h-vetinari merged 1 commit into
conda-forge:mainfrom
h-vetinari:lit

Conversation

@h-vetinari

Copy link
Copy Markdown
Member

By default, LLVM's CMake files will look for llvm-lit. Add this entry-point to make life easier for consuming feedstocks (i.e. without manually having to set LLVM_EXTERNAL_LIT).

The existing lit entrypoint here was set in #67, not sure what rationale went into the naming at the time (matches pip import, though no discussion in the PR); in any case I think it would be fine to keep both.

PTAL @isuruf

CC @hmaarrfk

@conda-forge-webservices

Copy link
Copy Markdown

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@isuruf

isuruf commented May 2, 2023

Copy link
Copy Markdown
Member

The existing lit entrypoint here was set in #67, not sure what rationale went into the naming at the time (matches pip import, though no discussion in the PR); in any case I think it would be fine to keep both.

Did you check the setup.py file?

@h-vetinari

Copy link
Copy Markdown
Member Author

Did you check the setup.py file?

Nope (now I did), because I didn't doubt that the choice of lit made sense.

It seems that LLVM itself is inconsistent (I might raise an issue if we think it's worth it), but in the meantime I think it'd be better to have both entry points, no?

@isuruf

isuruf commented May 2, 2023

Copy link
Copy Markdown
Member

Yes, but please make your comment better.

@h-vetinari

Copy link
Copy Markdown
Member Author

Can you check if the comment is OK now? If so, I'm also planning to backport this to 15.x.

@isuruf isuruf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good, but tests seem to time out now

@h-vetinari

Copy link
Copy Markdown
Member Author

Looks good, but tests seem to time out now

This happens somewhat regularly when the osx agent is slow. I doubt that an additional entry point will lengthen the build in any substantial way. Thanks for restarting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants