lld: new package at 8.0.0

This commit is contained in:
Dylan Araps 2019-08-01 01:53:53 +03:00
parent 66880a36d5
commit 8adb13fea3
7 changed files with 30 additions and 3 deletions

View File

@ -18,7 +18,7 @@ set -- \
fatal_linker_warnings=false \
host_toolchain=\"//build/toolchain/linux/unbundle:default\" \
is_component_build=true \
is_clang=false \
is_clang=true \
is_debug=false \
linux_use_bundled_binutils=false \
rtc_use_x11=true \
@ -55,8 +55,8 @@ done
# Fix 'python2' shebangs.
find . -type f -name \*.py -exec sed -i '1s|python$|&2|' {} \;
# Use 'gcc' instead of 'clang'.
export CC=gcc CXX=g++ LD=g++ AR=ar NM=nm
# Use 'clang' instead of 'gcc'.
export CC=clang CXX=clang++ AR=ar NM=nm LD=lld
export PATH=$PWD/fix-python-bin:$PATH
# Make a temporary script to cause 'python' to resolve to python 2 and not 3.

View File

@ -1,6 +1,8 @@
alsa-lib make
bison make
bsd-compat-headers make
clang make
lld make
ffmpeg make
fontconfig make
freetype make

18
testing/lld/build Executable file
View File

@ -0,0 +1,18 @@
#!/bin/sh -e
mkdir -p build
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_ENABLE_RTTI=ON \
-DLLVM_ENABLE_EH=ON \
-DCLANG_BUILD_EXAMPLES=OFF \
-DCLANG_INCLUDE_DOCS=OFF \
-DCLANG_INCLUDE_TESTS=OFF \
-DLIBCLANG_BUILD_STATIC=ON \
-Wno-dev -G "Unix Makefiles" ..
make
make DESTDIR="$1" install

1
testing/lld/checksums Normal file
View File

@ -0,0 +1 @@
9caec8ec922e32ffa130f0fb08e4c5a242d7e68ce757631e425e9eba2e1a6e37 lld-8.0.0.src.tar.xz

4
testing/lld/depends Normal file
View File

@ -0,0 +1,4 @@
#cmake make
#python make
#zlib make
#llvm

1
testing/lld/sources Normal file
View File

@ -0,0 +1 @@
https://releases.llvm.org/8.0.0/lld-8.0.0.src.tar.xz

1
testing/lld/version Normal file
View File

@ -0,0 +1 @@
8.0.0 1