Skip to content

Conversation

@rouson
Copy link
Contributor

@rouson rouson commented Apr 16, 2025

This pull request enables using the Fortran Package Manager (fpm) to build and install SuperLU with commands like the following commands:

cmake -B build # create "build/" subdirectory and SRC/superlu_config.h
fpm install    # install libSuperLU.a to ~/.local/lib

Specifically, this pull request

  1. Adds an fpm manifest: fpm.toml.
  2. Adds fpm build/install instructions to the README file .
  3. Adds SRC/superlu_config.h to the .gitignore file.
  4. Adds the soft link include -> SRC so fpm.toml doesn't need to specify an include path.

rouson added 4 commits April 15, 2025 20:20
This commit adds a minimal fpm.toml file and creates the soft link
include -> SRC.  With these changes and with a configure-generated
SRC/superlu_config.h file in place, the command `fpm build` builds
all of SuperLU into a static librabry: "build/superlu.a".
@xiaoyeli xiaoyeli merged commit 96661b9 into xiaoyeli:master Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants