Skip to content

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

Revisions

  • Fixed the path to add to CMake to match the path given above for llvm19-release (release to assert)

    @Thorinori Thorinori committed Jan 11, 2025
  • Revert "Updated How to build LLVM, libclang, and liblld from source (markdown)" This reverts commit ea0a0b1745f56d6cec67ad10c683a846d86cb3dd.

    @andrewrk andrewrk committed Sep 20, 2024
  • Revert "Updated How to build LLVM, libclang, and liblld from source (markdown)" This reverts commit 76b6d8d22d2593d7c55ee7c1ce4718c4d695e5db.

    @andrewrk andrewrk committed Sep 20, 2024
  • Revert "Updated How to build LLVM, libclang, and liblld from source (markdown)" This reverts commit ae63c7409312c7c80475f2a75d1759143387e713.

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

    @mochalins mochalins committed Sep 20, 2024
  • Updated How to build LLVM, libclang, and liblld from source (markdown)

    @mochalins mochalins committed Sep 20, 2024
  • Updated How to build LLVM, libclang, and liblld from source (markdown)

    @mochalins mochalins committed Sep 20, 2024
  • llvm 18 -> 19

    @andrewrk andrewrk committed Sep 20, 2024
  • Add -DLLVM_ENABLE_LIBEDIT=OFF to fix linking errors

    @Zeranoe Zeranoe committed Aug 5, 2024
  • Add -DLLVM_INCLUDE_TESTS=OFF to clang to remove gtest dependency

    @Zeranoe Zeranoe committed Aug 5, 2024
  • 18 is not a valid value for CXX_STANDARD, this is the C++ standard not the LLVM version

    @Zeranoe Zeranoe committed Aug 5, 2024
  • update llvm 17 to 18

    @andrewrk andrewrk committed May 29, 2024
  • Revert "Bump version from 17 to 18." This reverts commit 6d84da7952966516456734fdca6b702c04927fc8. There was a mistake, you can't just replace 17 with 18 and expect it to be correct.

    @andrewrk andrewrk committed May 29, 2024
  • Bump version from 17 to 18.

    @clickingbuttons clickingbuttons committed May 15, 2024
  • Revert "Updated How to build LLVM, libclang, and liblld from source (markdown)" This reverts commit f2e0b8cd398d48287ab88b94aa2196bb7d8d50ad. it goes without saying

    @andrewrk andrewrk committed Apr 15, 2024
  • Updated How to build LLVM, libclang, and liblld from source (markdown)

    @jgouly jgouly committed Apr 15, 2024
  • prepend https:// to external links, otherwise they are treated as wiki's links. https://github.com/ziglang/zig/wiki/www.python.org

    @rkolka rkolka committed Sep 22, 2023
  • llvm 17

    @andrewrk andrewrk committed Sep 19, 2023
  • Update for LLVM. Windows build unverified. See toolchain version bumps at https://releases.llvm.org/16.0.0/docs/ReleaseNotes.html#update-on-required-toolchains-to-build-llvm

    @tiehuis tiehuis committed Apr 13, 2023
  • Updated How to build LLVM, libclang, and liblld from source (markdown)

    @leecannon leecannon committed Nov 6, 2022
  • Updated How to build LLVM, libclang, and liblld from source (markdown)

    @Marianittem Marianittem committed Nov 6, 2022
  • building llvm: no need for CMAKE_PREFIX_PATH anymore

    @andrewrk andrewrk committed Nov 2, 2022
  • slightly fewer commands in building debug llvm for posix

    @andrewrk andrewrk committed Nov 2, 2022
  • clean up building from source instructions

    @andrewrk andrewrk committed Oct 25, 2022
  • Add note for building the compiler with LLVM built from source on macOS aarch64

    @schmee schmee committed Oct 2, 2022
  • give up trying to build llvm, lld, clang separately

    @andrewrk andrewrk committed Sep 16, 2022
  • LLVM 14 to LLVM 15

    @MisileLab MisileLab committed Sep 15, 2022
  • Add some further clarifications to windows llvm build instructions, mention turning off zlib support. As even systems with zlib.dll/zlib.lib in the path will have a linking error because they can't locate "zlib.lib". The dependency doesn't come from find_package(ZLIB) but instead "llvm-config --system-libs" when llvm is built with zlib support enabled. Zlib can then be found by the Ziglang cmake system found any problems

    @pnyaa pnyaa committed Sep 4, 2022
  • Fix single space typo in my revert (stupid git interface doesn't actually use git)

    @Techcable Techcable committed Sep 2, 2022
  • 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