42 lines
1.1 KiB
TOML
42 lines
1.1 KiB
TOML
[build]
|
|
type = "cmake"
|
|
|
|
[build.flags]
|
|
build_dir = "build"
|
|
configure = [
|
|
'-DLLVM_ENABLE_RUNTIMES=libcxx;libcxxabi;libunwind',
|
|
"-G Ninja",
|
|
"-DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY",
|
|
'-DLIBCXXABI_USE_COMPILER_RT=ON',
|
|
'-DLIBCXX_USE_COMPILER_RT=ON',
|
|
'-DLIBUNWIND_USE_COMPILER_RT=ON',
|
|
'-DLIBCXX_HAS_ATOMIC_LIB=OFF',
|
|
]
|
|
lib32_only = true
|
|
source_subdir = "runtimes"
|
|
no-remove-static = true
|
|
post_install = [ "rm -rfv $DESTDIR/usr/lib32/libunwind*" ]
|
|
|
|
[dependencies]
|
|
build = [
|
|
"cmake",
|
|
"ninja",
|
|
"python"
|
|
]
|
|
runtime = [
|
|
"lib32-libunwind",
|
|
"lib32-glibc",
|
|
]
|
|
|
|
[package]
|
|
description = "implementation of the C++ standard library (std::), providing the headers and runtime for C++11 and later - 32bit"
|
|
homepage = "https://github.com/llvm/llvm-project"
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
name = "libcxx"
|
|
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"
|