fpm support for GraalVM #989
schrepfler
started this conversation in
General
Replies: 2 comments 2 replies
-
I did notice in the documentation for the R interop that it seems they too use gfortran and don't use llvm bitcode but use fortran in GraalVM R runtime native mode vs LLVM mode. |
Beta Was this translation helpful? Give feedback.
1 reply
-
For Powell's algorithms, have a look at PRIMA (https://github.com/libprima/prima), which is a refactored and very heavily tested implementation. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I've recently started to take a look at the GraalVM Java distribution and trying to understand if it's possible to link and use a fortran library that I've found on github.
I noticed the project was managed by fpm and was pleasantly surprised how easy it was to setup on a MacOS ARM laptop and how it managed to download the toolchain and build the project and run the test. Kudos, that's a great DX, wasn't expecting from a 66 years old language!
I noticed the build tool outputted 3 directories in the build directory (can maybe someone explain in layman terms what do .a, .a.log, and .mod files represent in Fortran idiom?
My question is following, GraalVM ships with a LLVM Runtime that contains a tool
lli
(not sure if that's a standard LLVM command) which looks like can compile C/C++, Fortran and other languages like a normal llvm toolchain and make it interoperable with the GraalVM and thus in polyglot Java. Is there a way to somehow tell fpm to use this toolchain to produce GraalVM output or how easy would it be to extend fpm with build support for this (different build targets)? Is there anyone in the fpm which is working on this or has interest in this?Beta Was this translation helpful? Give feedback.
All reactions