-
-
Notifications
You must be signed in to change notification settings - Fork 5.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
add mayavi and vtk #285
add mayavi and vtk #285
Conversation
Which mailing list? conda-forge's? conda's? Something else? |
Anaconda support |
Thanks for clarifying. |
Just in case anyone needs some inspiration, we have working recipes for VTK 7 for Linux and Windows: https://github.com/ClinicalGraphics/conda-recipes/tree/master/vtk |
Thanks @ivoflipse. I'll merge your recipe in here. |
@msarahan, please add me as a maintainer. I created the recipes present in conda-recipes. There's an open PR in conda-recipes that adds support for Python 3, please try to use that one here too. |
@@ -0,0 +1,53 @@ | |||
{% version = "4.4.4" %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing set
I also have made a VTK 7/Mayavi build for Python 2/3 and this looks OK to me, other than the broken Let me know if there is anything I can do to help get this in. |
Hi @msarahan . I would also very much like to see this one go. The recipe @ccordoba12 referred to where I worked on Python 3 support is here: I think you need to pass Another flag present in the recipe on conda-recipes to consider. I'm not sure exactly what it does, but apparently Matlplotlib related :) VTK is also a dependency for #308 (I think currently it is optional, but may be mandatory in the near future?) |
Hi! This is the friendly conda-forge-admin automated user. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Thanks @patricksnape @grlee77 and @ccordoba12 - I have added both of you as maintainers here, if that's ok. I tried to copy the changes @grlee77 made in the conda-recipes PR. Please make sure that I have not missed any. |
@ivoflipse do you want to be a maintainer here, too? @patricksnape and @ivoflipse I'd like to not add code for the CMake generator here, and instead adapt these recipes once the next conda-build release happens. Thanks to @patricksnape, this logic will all be in conda-build, and it will be much cleaner. I'm not highly opinionated on this, though, so if these builds really are not happening, I'll opt for the solution builds rather than nmake. |
Failures on CircleCI are because we are missing opengl. |
Shouldn't be. We added that earlier today. |
Where is it installed? Maybe I need to tell CMake where to look? |
Yeah, I looked closer, we have the library, but we don't have GLUT so we need Think it is time to cleanup this PR ( #346 ) for |
AppVeyor's log says: Looking for stdint.h - not found. I don't know how important that is for |
If CMake doesn't barf upon not finding stdint.h, it's probably not mandatory. The only true test is building the software, though. Many projects include code that compensates for the lack of stdint.h. |
Makes sense. |
So, we could easily build |
I'm trying my hand at |
^ In progress, suggestions and feedback welcome. See PR ( #373 ). |
So, I have a working build of If it does work, that means The idea behind yum requirements is a bit off topic, but can be seen and demonstrated in this PR ( #346 ). That PR would also be the best place for further discussion on it. Just to give the basic idea, this is the simplest way that @pelson and I came up with to install things from |
So, use of |
I wouldn't mind being a maintainer for this recipe, but I'm on vacation right now, so I'll only be watching from the sideline. |
I tried these out locally using The VTK recipe installed without issue on linux with Python 3.5. For 1.) Several of the listed dependencies ( 2.) The move done in build.sh (
Is |
That would be great @grlee77. Could we please get them in a separate PR and cross-ref this PR? Thanks. |
@jakirkham : A single separate PR or one PR for each? |
Are they dependent on each other? |
As far as I can tell you can build For the others, the dependency chain seems to be as follows: |
Let's do Though if you don't mind restarting CIs and a longer review we can include them together. |
When creating #453 I overlooked this PR, sorry about that. Anything I can/should do to help? |
@Korijn if you want to scavenge any changes to VTK here into your PR, I think you're more qualified to make sure this is all working correctly. Let me know when you have examined this recipe, and I'll remove VTK from this PR, preferring your PR instead. |
Since #453 was merged and provides a VTK packages on Linux, at least the VTK part of this PR has become obsolete. There's a continued effort to support VTK on all platforms (struggling with build timeouts) here: conda-forge/vtk-feedstock#1 |
@msarahan - hope you don't mind, but I'm going to go ahead and close this PR. Looks like much of it has been salvaged, but if anybody wants to take mayavi forwards, that would be excellent. |
No problem. Glad it lives elsewhere. |
Someone on the Anaconda Support mailing list is requesting these packages. I have not really validated or cleaned up these recipes, but I hope the mailing list person might chip in here. Otherwise, I'll come back and clean these up soon.