mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
add(llvm, more libs)
this adds libc++, libc++abi, and libunwind, all with their headers. this should reduce our need to use gnu.org/gcc for libc++*, as well as C++ headers (notable `compare` for fbthrift)
This commit is contained in:
parent
5d617d6028
commit
18a9b13cbb
|
@ -36,12 +36,13 @@ build:
|
|||
# Building compiler-rt on darwin+aarch64 fails for versions less than
|
||||
# 14 with the below configuration. FIXME if possible, of course.
|
||||
- run: |
|
||||
RUNTIMES="-DLLVM_ENABLE_RUNTIMES='compiler-rt;libcxx;libcxxabi;libunwind'"
|
||||
if test "{{hw.platform}}" = "linux"; then
|
||||
ARGS="$ARGS -DLLVM_ENABLE_RUNTIMES='compiler-rt'"
|
||||
ARGS="$ARGS $RUNTIMES"
|
||||
elif semverator satisfies '>=14' {{version}}; then
|
||||
ARGS="$ARGS -DLLVM_ENABLE_RUNTIMES='compiler-rt'"
|
||||
ARGS="$ARGS $RUNTIMES"
|
||||
elif test "{{hw.arch}}" = "x86-64" && semverator satisfies '>=14' {{version}}; then
|
||||
ARGS="$ARGS -DLLVM_ENABLE_RUNTIMES='compiler-rt'"
|
||||
ARGS="$ARGS $RUNTIMES"
|
||||
fi
|
||||
# if: linux || >=14 || (x86-64 && >=13) ## Brewkit can't do this. Yet.
|
||||
- cmake ../llvm -G Ninja $ARGS
|
||||
|
|
Loading…
Reference in a new issue