[DONE] conda: update to gcc7 and py3.7

Having trouble installing or compiling FreeCAD? Get help here.
chrisb
Posts: 19477
Joined: Tue Mar 17, 2015 9:14 am

Re: [wip] conda: update to gcc7 and py3.7

Postby chrisb » Sun Dec 23, 2018 10:48 am

looo wrote:
Tue Dec 18, 2018 8:37 am
This is a very nice offer. Would shipping to Austria/Innsbruck be possible?
Did you receive a Mac? If not, would a Mac Mini do? If so I can try to get one for you.
looo
Posts: 2948
Joined: Mon Nov 11, 2013 5:29 pm

Re: [wip] conda: update to gcc7 and py3.7

Postby looo » Sun Dec 23, 2018 2:44 pm

chrisb wrote:
Sun Dec 23, 2018 10:48 am
Did you receive a Mac? If not, would a Mac Mini do? If so I can try to get one for you.
No Mac yet, but I have planed to buy a mac after christmas... So hopefully setting up a weekly osx-conda-package (similar to the appimage) in this year. The gcc-7* port will happen in the next year. There is still a lot of work...


* Actually for osx there is no update to gcc7, but (similar to linux) compilers from conda (and not from the system) are used.
So for the old toolchain the osx-compilers are:

Code: Select all

-- The C compiler identification is AppleClang 9.0.0.9000038
-- The CXX compiler identification is AppleClang 9.0.0.9000038
And for the new toolchain it is:

Code: Select all

-- The C compiler identification is Clang 4.0.1
-- The CXX compiler identification is Clang 4.0.1
I also read about clang being the best choice for a future compiler... So we will maybe see windows conda packages beeing compiled with clang in the future...(But this is pure speculations ;) )
please help with my conda-packaging efforts: https://liberapay.com/looooo/
looo
Posts: 2948
Joined: Mon Nov 11, 2013 5:29 pm

Re: [wip] conda: update to gcc7 and py3.7

Postby looo » Mon Dec 24, 2018 3:25 pm

little present: pyside2 and pivy ported to new compilers. Pivy is build for 3 different python versions x 2 different compiler setups for linux and osx. Altogether this are 15 builds :shock:
please help with my conda-packaging efforts: https://liberapay.com/looooo/
looo
Posts: 2948
Joined: Mon Nov 11, 2013 5:29 pm

Re: [wip] conda: update to gcc7 and py3.7

Postby looo » Mon Dec 31, 2018 10:32 am

No Mac yet, and after trying FreeCAD on several different Mac's (mac-book air 2017, iMac 2018) I have the impression there are some problems with Qt/coin/pivy. What I tested was in principle this:
https://vimeo.com/153393795 . Both machines were like the result shown in the video with the python3-bug.

I guess finding the root of the problem won't be easy. There are many things that could cause this problem. (qt5, deprecated opengl on mac, coin, pivy, ...) As solving this problem will most likely need a lot of hours I won't shift my development station to mac and stay on linux for now. So I can't work on the conda-.app-bundle and also the gcc7-port won't get ready soon. So sorry mac-guys for my unfulfilled promises. Hopefully I find a solution in the next year.
please help with my conda-packaging efforts: https://liberapay.com/looooo/
looo
Posts: 2948
Joined: Mon Nov 11, 2013 5:29 pm

Re: [wip] conda: update to gcc7 and py3.7

Postby looo » Mon Dec 31, 2018 10:47 am

chrisb wrote:
Sun Dec 23, 2018 10:48 am
Did you receive a Mac? If not, would a Mac Mini do? If so I can try to get one for you.
If you find a good offer for a mac mini I am absolutely interested 2012-2017, 128gb ssd would be nice. (I am also willing to pay a little amount -> up to 200€)
please help with my conda-packaging efforts: https://liberapay.com/looooo/
chrisb
Posts: 19477
Joined: Tue Mar 17, 2015 9:14 am

Re: [wip] conda: update to gcc7 and py3.7

Postby chrisb » Mon Dec 31, 2018 12:52 pm

looo wrote:
Mon Dec 31, 2018 10:47 am
If you find a good offer for a mac mini I am absolutely interested 2012-2017, 128gb ssd would be nice. (I am also willing to pay a little amount -> up to 200€)
If you want to pay for it, things will get (very) complicated :lol: . It will take at least two more weeks to get things straight, but I'm confident to get one for you. You can invest the money in a ssd.
looo
Posts: 2948
Joined: Mon Nov 11, 2013 5:29 pm

Re: [wip] conda: update to gcc7 and py3.7

Postby looo » Fri Jan 04, 2019 8:30 am

chrisb wrote:
Mon Dec 31, 2018 12:52 pm
If you want to pay for it, things will get (very) complicated
Ok, so I guess fighting for updated Mac-os conda-packages is the easier way to give something back...
chrisb wrote:
Mon Dec 31, 2018 12:52 pm
but I'm confident to get one for you. You can invest the money in a ssd.
Sounds good.
please help with my conda-packaging efforts: https://liberapay.com/looooo/
looo
Posts: 2948
Joined: Mon Nov 11, 2013 5:29 pm

Re: [wip] conda: update to gcc7 and py3.7

Postby looo » Tue Jan 15, 2019 10:44 am

After a long fight with the netgen-package I finally understood the reason for the failing osx-build. This is because of a switch to static libpython. Regarding conda this will improve computation-time (20% speed up) [1].

If I have some time I will create a fork of the netgen-feedstock [2] and create weekly builds for the library (and pull them on freecad/label/dev) Netgen-devs really need some more cross-plattform testing and also the compatibility with freecad has to be tested more often.

[1] https://groups.google.com/a/continuum.i ... 57P4uNWyCU
[2] https://github.com/conda-forge/netgen-feedstock
please help with my conda-packaging efforts: https://liberapay.com/looooo/
User avatar
Kunda1
Posts: 5911
Joined: Thu Jan 05, 2017 9:03 pm

Re: [wip] conda: update to gcc7 and py3.7

Postby Kunda1 » Tue Jan 15, 2019 11:32 am

looo wrote:
Tue Jan 15, 2019 10:44 am
After a long fight with the netgen-package I finally understood the reason for the failing osx-build. This is because of a switch to static libpython. Regarding conda this will improve computation-time (20% speed up) [1].
Nice! I posted this to https://ngsolve.org/forum/ngspy-forum/7 ... g-prs#1395 in hopes of getting the netgen devs needed attention.
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
Kunda1
Posts: 5911
Joined: Thu Jan 05, 2017 9:03 pm

Re: [wip] conda: update to gcc7 and py3.7

Postby Kunda1 » Sun Jan 20, 2019 6:08 pm

looo wrote:
@looo i found Python_3 on the wiki
Is it still up to date?
It's not linked to any other wiki pages so I'm not sure how much people see it. I'm asking because I'm looking for a resource to share with devs that are interested in porting to py3
see https://github.com/Rentlau/WorkFeature-WB/issues/3
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features