{"id":22820841,"url":"https://github.com/gha3mi/forlapack","last_synced_at":"2026-02-12T08:08:27.172Z","repository":{"id":221591958,"uuid":"669885888","full_name":"gha3mi/forlapack","owner":"gha3mi","description":"ForLAPACK compiles the latest LAPACK using the Fortran Package Manager (fpm).","archived":false,"fork":false,"pushed_at":"2024-02-09T08:54:48.000Z","size":36,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-13T08:50:47.826Z","etag":null,"topics":["fortran","fortran-package-manager","lapack"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gha3mi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-23T18:42:53.000Z","updated_at":"2024-12-10T16:24:21.000Z","dependencies_parsed_at":"2024-02-08T22:43:39.033Z","dependency_job_id":"de4030d1-9f5b-451b-8896-7e4ea9187f5b","html_url":"https://github.com/gha3mi/forlapack","commit_stats":null,"previous_names":["gha3mi/forlapack"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gha3mi/forlapack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gha3mi%2Fforlapack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gha3mi%2Fforlapack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gha3mi%2Fforlapack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gha3mi%2Fforlapack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gha3mi","download_url":"https://codeload.github.com/gha3mi/forlapack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gha3mi%2Fforlapack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29361812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T01:03:07.613Z","status":"online","status_checked_at":"2026-02-12T02:00:06.911Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fortran","fortran-package-manager","lapack"],"created_at":"2024-12-12T15:42:38.093Z","updated_at":"2026-02-12T08:08:27.144Z","avatar_url":"https://github.com/gha3mi.png","language":null,"readme":"# ForLAPACK\n\n[![GitHub](https://img.shields.io/badge/GitHub-forlapack-blue.svg?style=social\u0026logo=github)](https://github.com/gha3mi/forlapack)\n[![License](https://img.shields.io/github/license/gha3mi/forlapack?color=green)](https://github.com/gha3mi/forlapack/blob/main/LICENSE)\n\n**ForLAPACK** simplifies the compilation of the latest [LAPACK](https://github.com/Reference-LAPACK/lapack) library using the Fortran Package Manager (fpm).\n\n\u003c!-- ![ForLAPACK](media/logo.png) --\u003e\n\n## Install Instructions\n\n### 1. Prerequisites:\n\nEnsure you have a Fortran compiler installed on your system.\n\n### 2. Clone the Repository:\n\nClone the ForLAPACK repository from GitHub, including submodules:\n\n```shell\ngit clone --recurse-submodules https://github.com/gha3mi/forlapack.git\ncd forlapack\ngit submodule update --init --recursive\n```\n\n### 3. Preparation:\n\nRemove the `DEPRECATED` directory from LAPACK source code:\n\n```shell\nrm -r src/SRC/DEPRECATED\n```\n\nCopy the `src/INSTALL` directory to `src/SRC`:\n\n```shell\ncp -r src/INSTALL src/SRC\n```\n\n### 4. Install LAPACK Using fpm:\n\nInstall ForLAPACK using [fpm](https://github.com/fortran-lang/fpm):\n\n```shell\nfpm install --profile release --prefix .\n```\n\nThe compiled library will be located in the `lib` directory.\n\nAdjust installation directory, compiler, and flags as needed:\n\n- Use `--prefix \u003cdir\u003e` to set the installation directory.\n- Use `--compiler \u003ccompiler\u003e` to specify your Fortran compiler.\n- Use `--flag '\u003cflags\u003e'` to customize compiler flags.\n\n## Integrating LAPACK and BLAS in Your fpm Package\n\n- Install [ForBLAS](https://github.com/gha3mi/forblas) and ForLAPACK.\n- Copy `libforblas.a` and `libforlapack.a` from the `lib` directory of ForBLAS and ForLAPACK to your fpm package's `lib` directory.\n- Add `link = [\"forlapack\", \"forblas\"]` to your `fpm.toml` file.\n- When using fpm, include `--flag '-Llib'` to specify the library directory.\n\n## Contributing\n\nContributions to `ForLAPACK` are welcome! If you find any issues or would like to suggest improvements, please open an issue or submit a pull request.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgha3mi%2Fforlapack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgha3mi%2Fforlapack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgha3mi%2Fforlapack/lists"}