Fortran for Sailfish OS ?
The goal of this topic is to know what we need to do to have Fortran on Sailfish OS.
I've found that gcc-fortran is not available on Mer : list of last Mer packages/ Project Mer-core/gcc The reason seems to be simply the compilation time on ARM : Quote:
- the above decision was in 11/2011, now we have faster CPU's (on PC's and smartphones), etc; - gcc-fortran is : * useful to anyone who needs to compile Fortran code on device; * needed as dependency for R-base (statistics language), python-scipy (Python scientific module), etc, or optional dependency for python-numpy (so some NumPy functions become faster) which is dependency of python-pygame (python module for games), python-matplotlib (2D/3D graphics in Python), etc. What are the options ? - gcc-fortran should be included by the Mer project when rebuilding "mer-core/gcc.git" (by the Mer-core maintainers) ? - or gcc-fortran package can be added by the community ? - or another Fortran (other than gcc-fortran, like g77, f77, etc) can be compiled and package by the community ? |
Re: Fortran for Sailfish OS ?
Reserved for future use.
|
Re: Fortran for Sailfish OS ?
Citing questions about Fortran from other topics :
- from MatPlotLib for Sailfish topic, about possibility of R-base on Sailfish : Quote:
Quote:
|
Re: Fortran for Sailfish OS ?
Cited this topic in Sailfish Devel mailing list.
|
Re: Fortran for Sailfish OS ?
fun, I just ran into a project of mine where I need this ;)
Guess Ill start working on porting gfortran ..... |
Re: Fortran for Sailfish OS ?
My guess is this is not how you want to go about things but I used to run fortran codes on my N900 and still do occasionly on my Andorid phones via a chroot based approach for different linux distributions. Not too worried about having de. Happy to just work from terminal. Does this approach of running fortran currently exist for the Jolla phone? Thanks for your efforts and sorry if this is too OT...
|
Re: Fortran for Sailfish OS ?
FWIW this is a Mer issue, not a Jolla one IMHO
mer-core plain gcc should not build fortran - it's not part of the core and adds a lot of overhead in the wrong place my suggested approach (ie how I'd start) is to fork the mer-core gcc package to a gcc-fortran package, copy the spec file to gcc-fortran.spec and modify it so it builds with fortran enabled but no other changes. Package the delta as gcc-fortran and unpackage any std gcc files in a way that doesn't collide with mer-core gcc. Eventually submit to mer-tools |
Re: Fortran for Sailfish OS ?
Quote:
But mer-tools repository is not enabled by default on device (smartphone, Jolla, Nexus 4/5, etc). So Fortran libraries could not be used as dependencies by other softwares. Maybe nemo-mw repository would be better as a place for gcc-gfortran. |
Re: Fortran for Sailfish OS ?
before step 2, step 1 :)
|
Re: Fortran for Sailfish OS ?
Quote:
If I end up doing it this way, I will eventually submit the source package to OBS, so the net result is that that there's duplication of work (because now gcc-{c,c++} is built twice). Right? |
All times are GMT. The time now is 04:07. |
vBulletin® Version 3.8.8