{"id":18739627,"url":"https://github.com/springmeyer/build-llvm","last_synced_at":"2025-07-27T04:04:29.674Z","repository":{"id":29027781,"uuid":"32555111","full_name":"springmeyer/build-llvm","owner":"springmeyer","description":"DEPRECATED - Script to build latest llvm, clang, lldb, and include-what-you-use","archived":false,"fork":false,"pushed_at":"2017-11-05T02:02:09.000Z","size":23,"stargazers_count":4,"open_issues_count":2,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-26T14:12:26.031Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/springmeyer.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}},"created_at":"2015-03-20T01:11:45.000Z","updated_at":"2019-10-19T07:46:53.000Z","dependencies_parsed_at":"2022-09-05T12:31:39.742Z","dependency_job_id":null,"html_url":"https://github.com/springmeyer/build-llvm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springmeyer%2Fbuild-llvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springmeyer%2Fbuild-llvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springmeyer%2Fbuild-llvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springmeyer%2Fbuild-llvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/springmeyer","download_url":"https://codeload.github.com/springmeyer/build-llvm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248625493,"owners_count":21135513,"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":[],"created_at":"2024-11-07T15:36:36.990Z","updated_at":"2025-04-12T20:03:16.508Z","avatar_url":"https://github.com/springmeyer.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"DEPRECATED. This code has now been ported to https://github.com/mapbox/mason. To build or install llvm via mason:\n\n - download mason\n - run: `mason install llvm 6.0.0`\n \nMore details at https://github.com/mapbox/mason/blob/master/scripts/llvm/base/README.md\n\n--------\n\nTrack and build llvm master and friends\n\n[![Build Status](https://travis-ci.org/springmeyer/build-llvm.svg)](https://travis-ci.org/springmeyer/build-llvm)\n\nCurrently builds head of:\n\n  - llvm\n  - clang\n  - clang-tools-extra\n  - include-what-you-use\n  - compiler-rt\n  - lldb (optionally, currently disabled)\n\n## Depends\n\n  - c++11 compiler\n  - ninja\n  - cmake\n  - git\n\n## Usage\n\nTo build and install everything first ensure ninja and cmake are on your path.\n\nThen do:\n\n```\n./build.sh\n```\n\nThen prepare to wait for ~30 minutes.\n\n\nInstalls into `/opt/llvm/` by default. Do:\n\n```\nexport PATH=/opt/llvm/bin:${PATH}\n```\n\nTo use your custom `clang++`\n\nOr request installation in a custom directory:\n\n```\nPREFIX=/usr/local ./build.sh\n```\n\nYou can re-run `./build.sh` at any time. It will pull the latest updates and re-build. Fairly frequently you will hit compiler errors because the llvm, clang, or other developers have let things get out of sync. To avoid this I plan to\nmodify the script to use tags, but not gotten around to this yet.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringmeyer%2Fbuild-llvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspringmeyer%2Fbuild-llvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringmeyer%2Fbuild-llvm/lists"}