FreeCAD Conda Distribution
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: FreeCAD Conda Distribution
Happy to help but someone needs to point me in the right direction.
Re: FreeCAD Conda Distribution
Feel free to read the thread from start to finish and ask questions at the end.
Have you successfully compiled FreeCAD using Conda?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: FreeCAD Conda Distribution
No I haven't that's why I wanted someone to point me in the right direction. If it's just me working through without any pointers, I am out. I am a willing participant but not blindly jumping in, no good will come from that.
Re: FreeCAD Conda Distribution
That's pretty much how free software works. You have to jump head first, and learn by yourself. Once you've done that, then you can start talking at the same level as other developers. You cannot expect people to hold your hand all the time.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Re: FreeCAD Conda Distribution
Yeah, I am not looking for hand holding, I have built Unix software distributions, but just blindly jumping in never works well. If there's no one that can point me in the right direction then I am probably not the right guy for this. No harm no foul. I just don't want to be floundering around in a directionless circle.
Re: FreeCAD Conda Distribution
Maybe you want to give us some information, about your goals. Which platform are you using (Linux, win, mac)?ianj001 wrote: ↑Sun Oct 11, 2020 11:44 pm Yeah, I am not looking for hand holding, I have built Unix software distributions, but just blindly jumping in never works well. If there's no one that can point me in the right direction then I am probably not the right guy for this. No harm no foul. I just don't want to be floundering around in a directionless circle.
Re: FreeCAD Conda Distribution
I was offering to help with the packaging. I have access to all three platforms. I am primarily using the windows version. I am willing to help but was looking for someone to point me in the right direction. No one seems willing /able to do that so, I would rather not get started down a rabbit hole. I have read the threads and the docs. I have also looked at conda. I don't think it's unreasonable to look for some direction.
Re: FreeCAD Conda Distribution
Currently freecad on conda-forge is not using the most recent available dependencies. So a little bit of work is necessary to get it updated again (boost 1.74, vtk 9, qt5.15). I guess this would be the simplest way to get involved with conda-forge packaging and become a maintainer. Normally if you find a solution to a broken recipe you can add yourself to the maintainers list. So getting involved into conda-forge is pretty easy.ianj001 wrote: ↑Mon Oct 12, 2020 11:54 am I was offering to help with the packaging. I have access to all three platforms. I am primarily using the windows version. I am willing to help but was looking for someone to point me in the right direction. No one seems willing /able to do that so, I would rather not get started down a rabbit hole. I have read the threads and the docs. I have also looked at conda. I don't think it's unreasonable to look for some direction.
Here are some PR's to get started:
vtk (with boost1.74): https://github.com/conda-forge/vtk-feedstock/pull/146
qt5.15: https://github.com/conda-forge/qt-feedstock/pull/158
smesh (update to vtk9): https://github.com/conda-forge/smesh-feedstock/pull/35
On the other side we are using conda to bundle all the necessary libraries for freecad. Here we have one legal issue which needs to be solved: The windows bundle is not allowed to use the mkl (openblas) libraries. There are alternatives available (netlib) but simple switching to netlib didn't work out when I tested the last time. So here we need to find out how we can use netlib in a portable bundle.
Re: FreeCAD Conda Distribution
Let me try.
I will use the 0.19_pre builds, but the stable releases are similar.
The actual builds are accomplished on azure, triggered from a conda-smithy repo, in this case https://github.com/looooo/freecad-feedstock
We trigger these builds manually by bumping the build number here: https://github.com/looooo/freecad-feeds ... ta.yaml#L3
These builds are deployed to the freecad/label/dev channel on conda-forge. At this point they are installable as a package from an anaconda/mini-conda installation.https://wiki.freecadweb.org/Conda
We package these builds by installing a miniconda environment with this FreeCAD package and some extra useful python modules.
The conda builds a packaged to make them portable without needing miniconda installed on the user system. Then deployed to https://github.com/FreeCAD/FreeCAD/rele ... g/0.19_pre
This is done on the FreeCAD-AppImage repo. https://github.com/FreeCAD/FreeCAD-AppImage, this runs as a cron job once a day. This will run even if the underlying conda-forge builds haven't changed.
If you have questions please ask.
"fight the good fight"
Re: FreeCAD Conda Distribution
Thanks this helps for a place to startlooo wrote: ↑Mon Oct 12, 2020 12:48 pm
Currently freecad on conda-forge is not using the most recent available dependencies. So a little bit of work is necessary to get it updated again (boost 1.74, vtk 9, qt5.15). I guess this would be the simplest way to get involved with conda-forge packaging and become a maintainer. Normally if you find a solution to a broken recipe you can add yourself to the maintainers list. So getting involved into conda-forge is pretty easy.
Here are some PR's to get started:
vtk (with boost1.74): https://github.com/conda-forge/vtk-feedstock/pull/146
qt5.15: https://github.com/conda-forge/qt-feedstock/pull/158
smesh (update to vtk9): https://github.com/conda-forge/smesh-feedstock/pull/35
On the other side we are using conda to bundle all the necessary libraries for freecad. Here we have one legal issue which needs to be solved: The windows bundle is not allowed to use the mkl (openblas) libraries. There are alternatives available (netlib) but simple switching to netlib didn't work out when I tested the last time. So here we need to find out how we can use netlib in a portable bundle.