[build] type = "cmake" [build.flags] build_dir = "build" configure = [ "-DLLVM_ENABLE_RUNTIMES=libunwind", "-G Ninja", "-DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY" ] lib32_only = true source_subdir = "runtimes" no-remove-static = true [dependencies] runtime = [ "lib32-glibc" ] build = [ "cmake", "ninja", "python" ] [package] description = "low-level stack unwinding library based on the LLVM project's implementation of the libunwind API" homepage = "https://github.com/llvm/llvm-project" license = "Apache-2.0 WITH LLVM-exception" name = "libunwind" version = "22.1.1" [[source]] extract_dir = "$name-$version" sha256 = "9c6f37f6f5f68d38f435d25f770fc48c62d92b2412205767a16dac2c942f0c95" url = "https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/llvm-project-$version.src.tar.xz"