forked from kiss-community/repo
lld: new package at 8.0.0
This commit is contained in:
parent
66880a36d5
commit
8adb13fea3
|
@ -18,7 +18,7 @@ set -- \
|
||||||
fatal_linker_warnings=false \
|
fatal_linker_warnings=false \
|
||||||
host_toolchain=\"//build/toolchain/linux/unbundle:default\" \
|
host_toolchain=\"//build/toolchain/linux/unbundle:default\" \
|
||||||
is_component_build=true \
|
is_component_build=true \
|
||||||
is_clang=false \
|
is_clang=true \
|
||||||
is_debug=false \
|
is_debug=false \
|
||||||
linux_use_bundled_binutils=false \
|
linux_use_bundled_binutils=false \
|
||||||
rtc_use_x11=true \
|
rtc_use_x11=true \
|
||||||
|
@ -55,8 +55,8 @@ done
|
||||||
# Fix 'python2' shebangs.
|
# Fix 'python2' shebangs.
|
||||||
find . -type f -name \*.py -exec sed -i '1s|python$|&2|' {} \;
|
find . -type f -name \*.py -exec sed -i '1s|python$|&2|' {} \;
|
||||||
|
|
||||||
# Use 'gcc' instead of 'clang'.
|
# Use 'clang' instead of 'gcc'.
|
||||||
export CC=gcc CXX=g++ LD=g++ AR=ar NM=nm
|
export CC=clang CXX=clang++ AR=ar NM=nm LD=lld
|
||||||
export PATH=$PWD/fix-python-bin:$PATH
|
export PATH=$PWD/fix-python-bin:$PATH
|
||||||
|
|
||||||
# Make a temporary script to cause 'python' to resolve to python 2 and not 3.
|
# Make a temporary script to cause 'python' to resolve to python 2 and not 3.
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
alsa-lib make
|
alsa-lib make
|
||||||
bison make
|
bison make
|
||||||
bsd-compat-headers make
|
bsd-compat-headers make
|
||||||
|
clang make
|
||||||
|
lld make
|
||||||
ffmpeg make
|
ffmpeg make
|
||||||
fontconfig make
|
fontconfig make
|
||||||
freetype make
|
freetype make
|
||||||
|
|
18
testing/lld/build
Executable file
18
testing/lld/build
Executable 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
1
testing/lld/checksums
Normal file
|
@ -0,0 +1 @@
|
||||||
|
9caec8ec922e32ffa130f0fb08e4c5a242d7e68ce757631e425e9eba2e1a6e37 lld-8.0.0.src.tar.xz
|
4
testing/lld/depends
Normal file
4
testing/lld/depends
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#cmake make
|
||||||
|
#python make
|
||||||
|
#zlib make
|
||||||
|
#llvm
|
1
testing/lld/sources
Normal file
1
testing/lld/sources
Normal file
|
@ -0,0 +1 @@
|
||||||
|
https://releases.llvm.org/8.0.0/lld-8.0.0.src.tar.xz
|
1
testing/lld/version
Normal file
1
testing/lld/version
Normal file
|
@ -0,0 +1 @@
|
||||||
|
8.0.0 1
|
Loading…
Reference in New Issue
Block a user