|
2014-09-25
, 14:58
|
Posts: 1,269 |
Thanked: 3,961 times |
Joined on May 2011
@ Brazil
|
#2
|
|
2014-09-25
, 15:00
|
Posts: 1,269 |
Thanked: 3,961 times |
Joined on May 2011
@ Brazil
|
#3
|
Originally Posted by KabouikI've tried to package R-base(-devel) .rpm package, but it seems to need Fortran compiler, which is not available on Mer/Sailfish.Thanks for that! I hope you'll port R to Sailfish too someday, can't wait to run/fiddle my scripts on the Jolla!
Fortran is optional dependency for some packages (NumPy), and obligatory for others (SciPy, etc).
That's the problem I ran into as well, when trying to package R-base. I'd love to see SciPy too, so it's a bit of a bummer.
I don't know much about Fortran, though. Is it solvable by simply packaging gcc-fortran or does gcc need to be rebuilt altogether?
|
2014-09-25
, 15:33
|
Posts: 1,269 |
Thanked: 3,961 times |
Joined on May 2011
@ Brazil
|
#4
|
The Following User Says Thank You to rcolistete For This Useful Post: | ||
|
2014-09-25
, 16:29
|
Posts: 1,873 |
Thanked: 4,529 times |
Joined on Mar 2010
@ North Potomac MD
|
#6
|
The Following User Says Thank You to mscion For This Useful Post: | ||
|
2014-09-25
, 16:38
|
Posts: 119 |
Thanked: 412 times |
Joined on Aug 2008
|
#7
|
The Following 8 Users Say Thank You to lbt For This Useful Post: | ||
|
2014-09-26
, 15:19
|
Posts: 1,269 |
Thanked: 3,961 times |
Joined on May 2011
@ Brazil
|
#8
|
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
The Following 2 Users Say Thank You to lbt For This Useful Post: | ||
|
2014-10-06
, 22:34
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#10
|
Package the delta as gcc-fortran and unpackage any std gcc files in a way that doesn't collide with mer-core gcc.
The Following 6 Users Say Thank You to javispedro For This Useful Post: | ||
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 :
- 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 ?
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.
Last edited by rcolistete; 2014-09-25 at 15:13.