-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Package manager status #4660
Comments
Uploading Python packages to PyPI for Linux distributions requires the code to be compilable on an old CentOS system (the "manylinux" distribution uses CentOS 6). Not sure if it is going to be a problem. In particular, I am not sure how challenging it is to compile the latest llvm version there. C++14 support might also be tricky (but not impossible). |
That's good to know. I wonder if there are Docker images with CentOS 6 and recent development tools. Otherwise, we could probably set up a buildbot with a custom built GCC for this. Painful, but done once, and probably worthwhile. |
Yes there are docker images: https://github.com/pypa/manylinux |
Hey @alexreinking, happy to help get this on Homebrew. I started a formula here. Two things that would help are:
|
PR #5135 begins versioning Halide with semver at 10.0.0 |
@ankane - a new release is imminent. Does Homebrew require |
Awesome, |
@ankane - we just released Halide 10.0.0. Please let us know how to help you get it on Homebrew :) I just reached out to the folks at vcpkg, too. See microsoft/vcpkg#13580 |
Thanks @alexreinking! I've submitted it to Homebrew here: Homebrew/homebrew-core#61246 |
Awesome, @ankane! Keep us posted |
Time to look into Python packaging. I'll look into pip and conda. This means trying to build Halide in a manylinux docker image, and set up scripts for bots. |
Homebrew is live 🎉 brew install halide |
Amazing! Thanks, @ankane! |
:HAPPYDANCE: |
Vcpkg is live! 🎉
|
what about https://pypi.org/project/halide/#history ? it seems that the previous release was in Jun 2013 |
We don't own that package. We should reach out to whoever created it and see if we can get it transferred. |
I think the package can meet
And it is good that the old package and the new one is "the same" not a "different one". Also could not see how to contact the maintainer. Is this one owned here? https://anaconda.org/conda-forge/halide and if needed a new name can be used instead of conda-forge. |
See #5609 |
By the way ppl my sugiestion would be if you want if you can use https://github.com/fastai/pypi_template#how-to-use-the-templateI think it should be easy to add and it should work for pip and conda. So that is my suguestion :). |
@alexreinking I am creating a standard AUR package for Halide and I was wondering if you can take a look and provide some insights. I pushed an initial implementation to the AUR here. This is the PKGBUILD. With regards to dependencies, are there any missing dependencies? Which dependencies are needed at compile time and which are needed at runtime? The installed files are as follows. Does this structure look correct? File list:
|
Hi @OmarEmaraDev! Thanks for putting together an AUR package!
When you build against shared LLVM (as you are), then the So your dependencies list looks good to me since you aren't splitting the package up into runtime and development components (in Debian conventions:
It seems fine at a glance, I would encourage you to try building the apps with your installed version of Halide. The PKGBUILD has one thing that looks odd to me, but I don't have any experience authoring packages for the AUR. This here:
I would have expected the value of |
@alexreinking The apps were built successfully and their corresponding tests passed. I disabled the cuda and linear algebra apps because I didn't have a development environment for those at the moment.
The Arch build system uses this approach called the "fakeroot environment". Essentially, Arch creates some directory |
I wasn't aware any of our apps depend on Abseil! I wouldn't worry about it, since it's just an app.
Got it! Thanks for the clarification. |
The table in first comment is rather dated :) |
This issue tracks the overall status of the various first-party and community-maintained packages out in the wild.
If you are interested in packaging Halide please reach out to us here on this issue.
Status: OK
Status: Needs update
Status: TODO
The text was updated successfully, but these errors were encountered: