Skip to content

[KrakenFortran] Add JLL for KrakenFortran#13836

Open
vardister wants to merge 2 commits into
JuliaPackaging:masterfrom
vardister:krakenfortran-jll
Open

[KrakenFortran] Add JLL for KrakenFortran#13836
vardister wants to merge 2 commits into
JuliaPackaging:masterfrom
vardister:krakenfortran-jll

Conversation

@vardister

Copy link
Copy Markdown

I am building a package that calls FORTRAN code through shared libraries using julia bindings. The FORTRAN code is a known normal-mode algorithm for underwater acoustics modeling.

I hope everything is in order with this pull request.

Comment thread K/KrakenFortran/build_tarballs.jl Outdated
FFLAGS="-cpp -fPIC -O3 -finline-functions -fno-strength-reduce -fomit-frame-pointer -falign-functions=2"

# Compile all source files in the correct order for modules
gfortran $FFLAGS -c ../krakmod.f90 -o krakmod.o

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest you move all of this into the source directory of the upstream repository in a simple build system (e.g., this looks like it could be a simple CMake file).

That way the Yggdrasil recipe is more decoupled from the actual source code and is easier to read.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I followed your instructions and moved all of it to a CMake file in the source repo.

@ViralBShah ViralBShah marked this pull request as draft June 10, 2026 21:13
@vardister vardister marked this pull request as ready for review June 13, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants