{"id":19356799,"url":"https://github.com/ajkhoury/llvm-build-windows","last_synced_at":"2025-07-09T07:06:01.888Z","repository":{"id":54765448,"uuid":"125533903","full_name":"ajkhoury/LLVM-Build-Windows","owner":"ajkhoury","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-30T20:31:52.000Z","size":18,"stargazers_count":39,"open_issues_count":2,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T14:11:16.011Z","etag":null,"topics":["build","clang","lld","lldb","llvm","windows"],"latest_commit_sha":null,"homepage":null,"language":"Batchfile","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/ajkhoury.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":"2018-03-16T15:18:36.000Z","updated_at":"2024-11-25T02:45:29.000Z","dependencies_parsed_at":"2022-08-14T02:10:30.661Z","dependency_job_id":null,"html_url":"https://github.com/ajkhoury/LLVM-Build-Windows","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/ajkhoury%2FLLVM-Build-Windows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajkhoury%2FLLVM-Build-Windows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajkhoury%2FLLVM-Build-Windows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajkhoury%2FLLVM-Build-Windows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajkhoury","download_url":"https://codeload.github.com/ajkhoury/LLVM-Build-Windows/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250416880,"owners_count":21427079,"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":["build","clang","lld","lldb","llvm","windows"],"created_at":"2024-11-10T07:05:31.691Z","updated_at":"2025-04-23T10:32:56.000Z","avatar_url":"https://github.com/ajkhoury.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LLVM-Build-Windows \n\nThis is a helpful batch script to automate building the LLVM toolchain on Windows using MSVC or Clang itself!\n\nCredits to MSYS project and [Matthew Oliver](https://github.com/Sibras)\n\n## Usage\n\nNOTE: If you want to build clang with clang itself, use the `Ninja` generator instead. \n\n1. Open a command prompt (cmd.exe) and change directory to the root of where you want the root of your LLVM directory tree.\n\n        \u003ecd C:\\llvm-7.0.0\n\n2. Place the build scripts at the root of the LLVM directory tree.\n    \n        \u003egit clone https://github.com/ajkhoury/LLVM-Build-Windows .\n    \n3. See here on how to obtain the LLVM source code for building:\n\n    https://llvm.org/docs/GettingStarted.html#getting-started-quickly-a-summary\n    \n4. Use the `-help` argument for the script for more information:\n\n        \u003ebuild-llvm.bat -help\n        Detected 64 bit system...\n        Usage:\n            build-llvm.bat [options]\n\n        Options:\n            -configure                   Configure the project\n            -build                       Build the project\n            -static                      Configure and build the project statically\n            -debug                       Build project with debug configuration\n            -target ARCH                 Set the target architecture\n            -directory DIRECTORY         Use specified DIRECTORY for build directory\n            -help | --help | -? | /?     Display this help and exit\n\n4. Run the build script for the target of your choice:\n\n    x64\n\n        \u003ebuild-llvm.bat -configure -build -static -target x64 -directory build-release-x64\n    \n    x86\n\n        \u003ebuild-llvm.bat -configure -build -static -target x86 -directory build-release-x86\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajkhoury%2Fllvm-build-windows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajkhoury%2Fllvm-build-windows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajkhoury%2Fllvm-build-windows/lists"}