Skip to content

History / How to build LLVM, libclang, and liblld from source

Revisions

  • Building LLD & Clang independently in Debug mode creates hidden ABI issues, return to release mode (why don't we recommend building all at once?)

    @Techcable Techcable committed Sep 2, 2022
  • Section on LLVM debug builds should also use debug config for clang and lld (most likely, the user cares about debugging all three)

    @Techcable Techcable committed Sep 2, 2022
  • add `-DLLVM_ENABLE_TERMINFO=OFF` to Posix LLVM release build instructions

    @kristoff-it kristoff-it committed Jul 28, 2022
  • LLVM 13 -> 14

    @andrewrk andrewrk committed Jul 11, 2022
  • add --branch to fix prev edit

    @alichraghi alichraghi committed Jun 29, 2022
  • add `--depth 1` for faster clone

    @alichraghi alichraghi committed Jun 29, 2022
  • -DLLVM_ENABLE_TERMINFO=OFF

    @andrewrk andrewrk committed Nov 20, 2021
  • Updated How to build LLVM, libclang, and liblld from source (markdown)

    @adhanali adhanali committed Oct 11, 2021
  • Updated How to build LLVM, libclang, and liblld from source (markdown)

    @adhanali adhanali committed Oct 11, 2021
  • Update instructions to llvm13

    @moosichu moosichu committed Oct 3, 2021
  • building llvm instructions: check out the release branch

    @andrewrk andrewrk committed Aug 20, 2021
  • update llvm clang lld build instructions

    @andrewrk andrewrk committed Aug 20, 2021
  • Make sure the llvm-config built here will be the one zig uses

    @jacobsandlund jacobsandlund committed Aug 17, 2021
  • Revert "Updated How to build LLVM, libclang, and liblld from source (markdown)" This reverts commit 80f1f141f329fa3fffadb177026a74415f4a70a9. These extra cmake flags are not needed and just add confusion.

    @andrewrk andrewrk committed Aug 16, 2021
  • Updated How to build LLVM, libclang, and liblld from source (markdown)

    @ayende ayende committed Jul 23, 2021
  • Remove conflicting requirements on CMake

    @Prince213 Prince213 committed Jul 8, 2021
  • Revert "Add monorepo build instructions for LLVM 12 for POSIX" The other way is still the Zig-supported way to build LLVM, Clang, and LLD. This reverts commit 405983df37c9ebb57e251e33702db7727c7b47e4.

    @andrewrk andrewrk committed Apr 25, 2021
  • Add monorepo build instructions for LLVM 12 for POSIX

    @Snektron Snektron committed Apr 17, 2021
  • update for llvm 12

    @andrewrk andrewrk committed Apr 15, 2021
  • Revert recent commits to "Updating libc" I prefer it on one article, and I want to see history of the file. This reverts commit c3de4f7680e6d989a16049c0a10752afb1a47f2d. This reverts commit 303f381363c1940b564b8f83b7d7a29463b58a00. This reverts commit ed19d846001f380d85d46e81d9d2da42de81a1f6. This reverts commit de6c852cce24fa4e13df197c895910bdf6be3491. This reverts commit 9061c970d735ac44d8485aa802f769655e398bf0. This reverts commit 0f63cbe0d44a6a62bf8646e7c89be5a703456858. This reverts commit 756828b1ec85a40cf25be1fdc4ea769162f1636f. This reverts commit 8ec68eaa2693147578f56bc21d6af0fe2b4990d5. This reverts commit 70759b38ac917246cac44d7430140dec529e5a48. This reverts commit ad25f930e64b553f0cfc57a9b36667f7907b6a20. This reverts commit 8d479a499e87a16add704d537b41e9b0a7ce0090. This reverts commit f544dd781d95a6c6a0ec297ea5d458ad53f057d1.

    @andrewrk andrewrk committed Apr 4, 2021
  • how to download the LLVM github releases

    @matu3ba matu3ba committed Mar 11, 2021
  • Fix broken links and add appropriate syntax highlighters

    @heronwr heronwr committed Dec 18, 2020
  • Updated How to build LLVM, libclang, and liblld from source (markdown)

    @andrewrk andrewrk committed Dec 8, 2020
  • Updated How to build LLVM, libclang, and liblld from source (markdown)

    @andrewrk andrewrk committed Dec 8, 2020
  • apparently we need back slashes now

    @andrewrk andrewrk committed Oct 13, 2020
  • llvm 10 => 11

    @andrewrk andrewrk committed Oct 13, 2020
  • CMake 3.16.5 seems to fail building lld, 3.17 works fine.

    @yrashk yrashk committed Apr 23, 2020
  • Updated How to build LLVM, libclang, and liblld from source (markdown)

    @andrewrk andrewrk committed Mar 24, 2020
  • lld,clang 9 => 10

    @andrewrk andrewrk committed Mar 22, 2020
  • llvm 9 => 10

    @andrewrk andrewrk committed Mar 22, 2020