{"id":15402062,"url":"https://github.com/vaivaswatha/lljit","last_synced_at":"2025-04-16T02:30:54.606Z","repository":{"id":69520319,"uuid":"235960303","full_name":"vaivaswatha/lljit","owner":"vaivaswatha","description":"LLVM JIT: An Example","archived":false,"fork":false,"pushed_at":"2020-07-07T13:45:27.000Z","size":17,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T04:12:20.221Z","etag":null,"topics":["jit-compiler","llvm"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vaivaswatha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-01-24T07:50:01.000Z","updated_at":"2024-08-12T05:07:50.000Z","dependencies_parsed_at":"2023-02-26T04:31:35.897Z","dependency_job_id":null,"html_url":"https://github.com/vaivaswatha/lljit","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":0.08333333333333337,"last_synced_commit":"2b3977977af5249a2b6c6d9f60d17ec176dbcd5d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaivaswatha%2Flljit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaivaswatha%2Flljit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaivaswatha%2Flljit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaivaswatha%2Flljit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaivaswatha","download_url":"https://codeload.github.com/vaivaswatha/lljit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249184508,"owners_count":21226383,"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":["jit-compiler","llvm"],"created_at":"2024-10-01T16:00:00.964Z","updated_at":"2025-04-16T02:30:54.582Z","avatar_url":"https://github.com/vaivaswatha.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LLVM JIT: An Example\n\nThis code builds a minimal JIT engine to execute LLVM-IR.\nIt does not cover generation of LLVM-IR.\n\n## Build\n  - Adding repository for [LLVM-10](https://apt.llvm.org/)\n    * For Ubuntu 18.04 (Ubuntu 20.04 already has LLVM-10 in the repository)\n      ```bash\n      sudo apt-add-repository \"deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main\"\n      ```\n    * Others: Visit the LLVM apt website above and follow instructions.\n  - `sudo apt-get install libllvm10 llvm-10-dev clang-10`\n  - `make`\n\nThis should produce an executable named `lljit.exe`.\n\n## Run\n  - This will JIT compile the LLVM-IR in `examples/helloworld.ll` and\n    execute the function `jitentry` in it. It should print\n    \"Hello world\" on your terminal.\n     ```bash\n     ./lljit.exe examples/helloworld.ll\n     ```\n  - The helloworld example LLVM-IR was generated from\n    its C file using the command\n    ```bash\n    clang-10 -emit-llvm -S helloworld.c\n    ```\n\n### Testsuite\nBuilding the project should also build `testsuite.exe`, which can\nsimply be run as `./testsuite.exe`, and it will JIT compile and\nrun the `helloworld.ll` example described above.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaivaswatha%2Flljit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaivaswatha%2Flljit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaivaswatha%2Flljit/lists"}