🇬🇧
Styio Developer Manual
Ctrlk
  • Overview
  • Unka's Diary
    • 2024-2025
  • Dev Env
    • Introduction
    • Preparation
    • LLVM
    • Docker
    • Visual Studio Code
    • MSVC
  • Rules
    • 1. Pay only what you need.
  • Milestones
    • Task Board
    • History
    • IF YOU DON'T KNOW WHAT TO DO
  • Possible Optimizations
    • Parse URLs
  • Dark Magic
    • Enable Hyper-V
  • Thinking
    • Add A New AST
    • Decisions
    • Questions
    • Other Questions
    • Value
    • Outcome
Powered by GitBook
On this page
  1. Dev Env

LLVM

Official Guides

LogoThe LLVM Compiler Infrastructure Projectllvm.org
LogoLLVM Language Reference Manual — LLVM 22.0.0git documentationllvm.org

Kaleidoscope

LogoLLVM Tutorial: Table of Contents — LLVM 22.0.0git documentationllvm.org
LogoMy First Language Frontend with LLVM Tutorial — LLVM 22.0.0git documentationllvm.org

Garbage Collection

LogoGarbage Collection with LLVM — LLVM 22.0.0git documentationllvm.org

LLVM Pass

LogoWriting an LLVM Pass (legacy PM version) — LLVM 22.0.0git documentationllvm.org
LogoLLVM’s Analysis and Transform Passes — LLVM 22.0.0git documentationllvm.org

Issues

Could NOT find ZSTD (missing: ZSTD_LIBRARY ZSTD_INCLUDE_DIR)

Logo⚙ D128465 [llvm] add zstd to `llvm::compression` namespacereviews.llvm.org
LogoBug #1941956 “ZSTD is missing CMake Config file” : Bugs : libzstd package : UbuntuLaunchpad
Logo⚙ D134990 [CMake] Provide Findzstd modulereviews.llvm.org

FileCheck Not Found

ZLIB Not Found

PreviousMacOSNextDocker

Last updated 1 year ago

  • Official Guides
  • Kaleidoscope
  • Garbage Collection
  • LLVM Pass
  • Issues
sudo apt install -y libzstd-dev libdwarf-dev
ln /usr/bin/FileCheck-16 /usr/bin/FileCheck
[cmake] CMake Error at /usr/lib/llvm-18/lib/cmake/llvm/LLVMExports.cmake:73 (set_target_properties):
[cmake]   The link interface of target "LLVMSupport" contains:
[cmake] 
[cmake]     ZLIB::ZLIB
[cmake] 
[cmake]   but the target was not found.  Possible reasons include:
[cmake] 
[cmake]     * There is a typo in the target name.
[cmake]     * A find_package call is missing for an IMPORTED target.
[cmake]     * An ALIAS target is missing.
[cmake] 
[cmake] Call Stack (most recent call first):
[cmake]   /usr/lib/llvm-18/cmake/LLVMConfig.cmake:369 (include)
[cmake]   CMakeLists.txt:25 (find_package)