mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +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
1 changed files with 4 additions and 3 deletions
|
@ -36,12 +36,13 @@ build:
|
||||||
# Building compiler-rt on darwin+aarch64 fails for versions less than
|
# Building compiler-rt on darwin+aarch64 fails for versions less than
|
||||||
# 14 with the below configuration. FIXME if possible, of course.
|
# 14 with the below configuration. FIXME if possible, of course.
|
||||||
- run: |
|
- run: |
|
||||||
|
RUNTIMES="-DLLVM_ENABLE_RUNTIMES='compiler-rt;libcxx;libcxxabi;libunwind'"
|
||||||
if test "{{hw.platform}}" = "linux"; then
|
if test "{{hw.platform}}" = "linux"; then
|
||||||
ARGS="$ARGS -DLLVM_ENABLE_RUNTIMES='compiler-rt'"
|
ARGS="$ARGS $RUNTIMES"
|
||||||
elif semverator satisfies '>=14' {{version}}; then
|
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
|
elif test "{{hw.arch}}" = "x86-64" && semverator satisfies '>=14' {{version}}; then
|
||||||
ARGS="$ARGS -DLLVM_ENABLE_RUNTIMES='compiler-rt'"
|
ARGS="$ARGS $RUNTIMES"
|
||||||
fi
|
fi
|
||||||
# if: linux || >=14 || (x86-64 && >=13) ## Brewkit can't do this. Yet.
|
# if: linux || >=14 || (x86-64 && >=13) ## Brewkit can't do this. Yet.
|
||||||
- cmake ../llvm -G Ninja $ARGS
|
- cmake ../llvm -G Ninja $ARGS
|
||||||
|
|
Loading…
Reference in a new issue