{"id":14991132,"url":"https://github.com/kassane/ffi-flang-zig","last_synced_at":"2026-01-04T06:48:45.673Z","repository":{"id":245009064,"uuid":"816880503","full_name":"kassane/ffi-flang-zig","owner":"kassane","description":"FFI flang-new runtime with Zig","archived":false,"fork":false,"pushed_at":"2025-01-25T20:16:04.000Z","size":2360,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-19T04:51:09.331Z","etag":null,"topics":["cross-compile","ffi","ffi-bindings","flang","fortran","llvm","zig","zig-package"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kassane.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":"2024-06-18T15:16:52.000Z","updated_at":"2025-01-25T20:16:07.000Z","dependencies_parsed_at":"2024-06-19T01:36:54.114Z","dependency_job_id":"863aee7e-2daa-4993-af28-42c09d27b330","html_url":"https://github.com/kassane/ffi-flang-zig","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"72c3899e0c748d470745bf5fa342b85e152877b7"},"previous_names":["kassane/ffi-flang-zig"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kassane%2Fffi-flang-zig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kassane%2Fffi-flang-zig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kassane%2Fffi-flang-zig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kassane%2Fffi-flang-zig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kassane","download_url":"https://codeload.github.com/kassane/ffi-flang-zig/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244890929,"owners_count":20527166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cross-compile","ffi","ffi-bindings","flang","fortran","llvm","zig","zig-package"],"created_at":"2024-09-24T14:21:31.963Z","updated_at":"2026-01-04T06:48:45.423Z","avatar_url":"https://github.com/kassane.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ffi-flang-zig\n\nFFI between Fortran runtime and Zig\n\n[LLVM/flang v19.1.7](https://github.com/llvm/llvm-project/tree/llvmorg-19.1.7/flang) files are included in this repository.\n\nInspired by [sourceryinstitute/ISO_Fortran_binding](https://github.com/sourceryinstitute/ISO_Fortran_binding). However, for LLVM-based only!\n\n## Requires\n\n- [Zig](https://ziglang.org/download) v0.14.0 or master\n- [Flang](https://github.com/llvm/llvm-project/tree/llvmorg-19.1.7/flang)\n\n\n## How to use\n\nBuild docker and run image:\n\n```bash\n$ docker build -t flang-zig -f .devcontainer/Dockerfile\n$ docker run -it --rm -v $(pwd):/app -w /app flang-zig bash\n```\n\n### Build help\n\n```bash\nProject-Specific Options:\n  -Doptimize=[enum]            Prioritize performance, safety, or binary size\n                                 Supported Values:\n                                   Debug\n                                   ReleaseSafe\n                                   ReleaseFast\n                                   ReleaseSmall\n  -Dtarget=[string]            The CPU architecture, OS, and ABI to build for\n  -Dcpu=[string]               Target CPU features to add or subtract\n  -Ddynamic-linker=[string]    Path to interpreter on the target system\n  -Dshared=[bool]              Build as shared library [default: false]\n  -Damalgamation=[bool]        Build as amalgamation [default: false]\n  -Denable-tests=[bool]        Build tests [default: false]\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkassane%2Fffi-flang-zig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkassane%2Fffi-flang-zig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkassane%2Fffi-flang-zig/lists"}