Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.
/ win-llvm Public archive
forked from c3lang/win-llvm

Precompiled LLVM binaries for Windows

License

Notifications You must be signed in to change notification settings

hylo-lang/win-llvm

 
 

Repository files navigation

This repository is modified from https://github.com/vovkos/llvm-package-windows

It is updated to build LLVM + LLD 17 using Visual Studio 2019 as required by Hylo.

LLD+LLVM packages for Windows

Abstract

LLVM is huge, and it's getting bigger with each and every release. Building it together with a project that depends on it (e.g., a programming language) during a CI build is not an option -- building just LLVM eats most (earlier LLVM releases), and all (recent LLVM releases) of the allotted CI build time.

So why not use pre-built packages from the official LLVM download page? Unfortunately, the official binaries cover just a tiny fraction of possible build configurations on Microsoft Windows. There are no Debug libraries, no builds for the static LIBCMT, and only a single toolchain per LLVM release.

The llvm-package-windows project builds all major versions of LLVM on GitHub Actions for the following, much more complete matrix:

  • Toolchain:
    • Visual Studio 2017
  • Configuration:
    • Debug
    • Release
  • Target CPU:
    • IA32 (a.k.a. x86)
    • AMD64 (a.k.a. x86_64)
  • C/C++ Runtime:
    • LIBCMT (static)
    • MSVCRT (dynamic)

The resulting LLVM binary packages are uploaded as GitHub Release artifacts. Compiler developers can now thoroughly test their LLVM-dependent projects on GitHub CI or AppVeyor CI simply by downloading and unpacking an archive with the required LLVM prebuilt binaries during the CI installation stage.

About

Precompiled LLVM binaries for Windows

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Batchfile 79.9%
  • Perl 20.1%